From 3d7b35b60f5b8e9fa22a2e4b4c8fddb6514efafc Mon Sep 17 00:00:00 2001 From: Denis Zunke Date: Thu, 27 Sep 2018 15:23:05 +0200 Subject: [PATCH] Fix symfony 2.8 support --- CHANGELOG | 10 ++++++---- Resources/config/services.yml | 5 +++++ 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/CHANGELOG b/CHANGELOG index c7b93fb..a6df556 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,11 +1,13 @@ -SlackBundle unplanned +SlackBundle v2.4.1 +================== +- FIX: Symfony 2.8 support was defect by removed classes in services.yml + +SlackBundle v2.4.0 ================== - Feature: Commands compatible to Symfony 3.4 (by @alister) - (NOT BC) Feature: Remove old command prefixes (see v1.3) (by @alister) - Patch: removed different typos (by @alister) -SlackBundle v2.4.0 -================== -- Feature: Support for more fields in attachments and additional client options for Messaging::message() (by @pmishev= +- Feature: Support for more fields in attachments and additional client options for Messaging::message() (by @pmishev) - Support for Symfony 4.0 SlackBundle v2.3.0 diff --git a/Resources/config/services.yml b/Resources/config/services.yml index f447b15..e7c5eec 100644 --- a/Resources/config/services.yml +++ b/Resources/config/services.yml @@ -29,26 +29,31 @@ services: arguments: ["@dz.slack.client"] DZunke\SlackBundle\Command\BotMessagingCommand: + class: DZunke\SlackBundle\Command\BotMessagingCommand arguments: ["@dz.slack.channels", "@event_dispatcher"] tags: - { name: console.command, command: slack:run-bot } DZunke\SlackBundle\Command\ChangeChannelsTopicCommand: + class: DZunke\SlackBundle\Command\ChangeChannelsTopicCommand arguments: ["@dz.slack.channels"] tags: - { name: console.command, command: slack:channels:topic } DZunke\SlackBundle\Command\DebugCommand: + class: DZunke\SlackBundle\Command\DebugCommand arguments: ["@dz.slack.client"] tags: - { name: console.command, command: slack:debug } DZunke\SlackBundle\Command\MessageCommand: + class: DZunke\SlackBundle\Command\MessageCommand arguments: ["@dz.slack.messaging"] tags: - { name: console.command, command: slack:message } DZunke\SlackBundle\Command\UsersCommand: + class: DZunke\SlackBundle\Command\UsersCommand arguments: ["@dz.slack.users"] tags: - { name: console.command, command: slack:users }