Skip to content

Commit

Permalink
Allow sf3 usage and remove fos user bundle requirement
Browse files Browse the repository at this point in the history
  • Loading branch information
ScullWM committed Apr 21, 2017
1 parent 5373efb commit 86d3018
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 8 deletions.
4 changes: 0 additions & 4 deletions Resources/config/service.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,3 @@ services:
swm.mail_hook.hydrator.default:
class: %swm.mail_hook.hydrator.default.class%

swm.mail_hook.hydrator.fos_user:
class: %swm.mail_hook.hydrator.fos_user.class%
arguments:
- @fos_user.user_manager
9 changes: 5 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"name": "scullwm/mailhookbundle",
"type": "library",
"type": "symfony-bundle",
"description": "A bundle to catch API webhook from differents mail service",
"keywords": ["symfony", "bundle", "mail", "api", "webhook", "hook", "mandrill", "mailjet"],
"keywords": ["symfony", "bundle", "mail", "api", "webhook", "hook", "mandrill", "mailjet", "sparkpost"],
"homepage": "http://github.com/ScullWM/MailHookBundle",
"license": "MIT",
"authors": [
Expand All @@ -13,7 +13,7 @@
],
"require": {
"php": ">=5.3.9",
"symfony/framework-bundle": ">=2.3"
"symfony/framework-bundle": "~2.3|~3.0"
},
"require-dev": {
"atoum/atoum": "dev-master"
Expand All @@ -22,6 +22,7 @@
"bin-dir": "bin"
},
"autoload": {
"psr-4": { "Swm\\Bundle\\MailHookBundle\\": "" }
"psr-4": { "Swm\\Bundle\\MailHookBundle\\": "" },
"exclude-from-classmap": ["/tests/"]
}
}

0 comments on commit 86d3018

Please sign in to comment.