Skip to content

Commit

Permalink
Compatibility with Symfony 3
Browse files Browse the repository at this point in the history
  • Loading branch information
nilov committed Apr 27, 2016
1 parent 14fc977 commit 266d0e4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
4 changes: 1 addition & 3 deletions Resources/config/services.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ services:

glavweb_core.api_token_authenticator:
class: Glavweb\CoreBundle\Security\Authorization\ApiTokenAuthenticator
arguments: [@doctrine]
arguments: ["@doctrine"]

glavweb_core.security.access.owner_voter:
class: Glavweb\CoreBundle\Security\Authorization\Voter\OwnerVoter
Expand All @@ -19,5 +19,3 @@ services:
public: false
tags:
- { name: security.voter }


7 changes: 3 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,9 @@
}
],
"require": {
"symfony/http-foundation": "~2.3",
"symfony/form": "~2.3",
"symfony/security": "~2.3",
"symfony/console": "~2.3"
"symfony/http-foundation": "~2.3|~3.0",
"symfony/form": "^2.3.5|~3.0",
"symfony/security-bundle": "~2.3|~3.0"
},
"autoload": {
"psr-4": { "Glavweb\\CoreBundle\\": "" }
Expand Down

0 comments on commit 266d0e4

Please sign in to comment.