Skip to content

Commit

Permalink
Fix for Symfony 4: controller service must be public (#34)
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentchalamon authored Jan 20, 2018
1 parent cc3187e commit 2a9c7dc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ php:
before_install:
# Disable xdebug
- phpenv config-rm xdebug.ini
- echo "memory_limit=-1" >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini

install:
- composer global require friendsofphp/php-cs-fixer
Expand Down
2 changes: 1 addition & 1 deletion Resources/config/services.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
http://symfony.com/schema/dic/services/services-1.0.xsd">

<services>
<service id="coop_tilleuls_forgot_password.controller.forgot_password" class="CoopTilleuls\ForgotPasswordBundle\Controller\ForgotPasswordController">
<service id="coop_tilleuls_forgot_password.controller.forgot_password" class="CoopTilleuls\ForgotPasswordBundle\Controller\ForgotPasswordController" public="true">
<argument type="service" id="coop_tilleuls_forgot_password.manager.forgot_password" />
<argument type="service" id="coop_tilleuls_forgot_password.normalizer" />
<argument>%coop_tilleuls_forgot_password.password_token_serialization_groups%</argument>
Expand Down

0 comments on commit 2a9c7dc

Please sign in to comment.