Skip to content
This repository has been archived by the owner on Jul 5, 2022. It is now read-only.

Commit

Permalink
Support symfony 4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Denis Zunke committed Sep 26, 2018
1 parent ddd5792 commit a1024c6
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ SlackBundle unplanned
- 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=
- Support for Symfony 4.0

SlackBundle v2.3.0
==================
Expand Down
6 changes: 6 additions & 0 deletions Resources/config/services.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,24 +2,30 @@ services:

dz.slack.identity_bag:
class: DZunke\SlackBundle\Slack\Messaging\IdentityBag
public: true

dz.slack.connection:
class: DZunke\SlackBundle\Slack\Client\Connection
public: true

dz.slack.client:
class: DZunke\SlackBundle\Slack\Client
public: true
arguments: ["@dz.slack.connection"]

dz.slack.messaging:
class: DZunke\SlackBundle\Slack\Messaging
public: true
arguments: ["@dz.slack.client", "@dz.slack.identity_bag"]

dz.slack.channels:
class: DZunke\SlackBundle\Slack\Channels
public: true
arguments: ["@dz.slack.client"]

dz.slack.users:
class: DZunke\SlackBundle\Slack\Users
public: true
arguments: ["@dz.slack.client"]

DZunke\SlackBundle\Command\BotMessagingCommand:
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
},
"require": {
"php": ">=5.6",
"symfony/symfony": "~2.8|~3.0",
"symfony/symfony": "~2.8|~3.0|~4.0",
"guzzlehttp/guzzle": "^6.2.1"
},
"autoload": {
Expand Down

0 comments on commit a1024c6

Please sign in to comment.