even after the commands are registered as services in the command.xml with #2634 for FOSUser 2.0.2, it does still show warnings like this:
[2017-12-05 16:23:55] php.INFO: User Deprecated: Auto-registration of the command "FOS\UserBundle\CommandActivateUserCommand" is deprecated since Symfony 3.4 and won't be supported in 4.0. Use PSR-4 based service discovery instead.
[2017-12-05 16:23:55] php.INFO: User Deprecated: Auto-registration of the command "FOS\UserBundle\Command\ChangePasswordCommand" is deprecated since Symfony 3.4 and won't be supported in 4.0. Use PSR-4 based service discovery instead.
[2017-12-05 16:23:55] php.INFO: User Deprecated: Auto-registration of the command "FOS\UserBundle\Command\CreateUserCommand" is deprecated since Symfony 3.4 and won't be supported in 4.0. Use PSR-4 based service discovery instead.
[2017-12-05 16:23:55] php.INFO: User Deprecated: Auto-registration of the command "FOS\UserBundle\Command\DeactivateUserCommand" is deprecated since Symfony 3.4 and won't be supported in 4.0. Use PSR-4 based service discovery instead.
[2017-12-05 16:23:55] php.INFO: User Deprecated: Auto-registration of the command "FOS\UserBundle\Command\DemoteUserCommand" is deprecated since Symfony 3.4 and won't be supported in 4.0. Use PSR-4 based service discovery instead.
[2017-12-05 16:23:55] php.INFO: User Deprecated: Auto-registration of the command "FOS\UserBundle\Command\PromoteUserCommand" is deprecated since Symfony 3.4 and won't be supported in 4.0. Use PSR-4 based service discovery instead.
i don't know what the correct way would be, because other bundles seems to have defined it the same way but don't show any logs
but swiftmailer-bundle did function registerCommandsas noop function
I have the same warnings. Any updates on this issue?
Got these warnings:
[2018-01-08 15:34:39] php.INFO: User Deprecated: Auto-registration of the command "FOS\UserBundle\Command\ActivateUserCommand" is deprecated since Symfony 3.4 and won't be supported in 4.0. Use PSR-4 based service discovery instead. {"exception":"[object] (ErrorException(code: 0): User Deprecated: Auto-registration of the command \"FOS\\UserBundle\\Command\\ActivateUserCommand\" is deprecated since Symfony 3.4 and won't be supported in 4.0. Use PSR-4 based service discovery instead. at /var/www/brokerportal/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Bundle/Bundle.php:190)"} []
[2018-01-08 15:34:39] php.INFO: User Deprecated: Auto-registration of the command "FOS\UserBundle\Command\DemoteUserCommand" is deprecated since Symfony 3.4 and won't be supported in 4.0. Use PSR-4 based service discovery instead. {"exception":"[object] (ErrorException(code: 0): User Deprecated: Auto-registration of the command \"FOS\\UserBundle\\Command\\DemoteUserCommand\" is deprecated since Symfony 3.4 and won't be supported in 4.0. Use PSR-4 based service discovery instead. at /var/www/brokerportal/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Bundle/Bundle.php:190)"} []
[2018-01-08 15:34:39] php.INFO: User Deprecated: Auto-registration of the command "FOS\UserBundle\Command\PromoteUserCommand" is deprecated since Symfony 3.4 and won't be supported in 4.0. Use PSR-4 based service discovery instead. {"exception":"[object] (ErrorException(code: 0): User Deprecated: Auto-registration of the command \"FOS\\UserBundle\\Command\\PromoteUserCommand\" is deprecated since Symfony 3.4 and won't be supported in 4.0. Use PSR-4 based service discovery instead. at /var/www/brokerportal/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Bundle/Bundle.php:190)"} []
[2018-01-08 15:34:39] php.INFO: User Deprecated: Auto-registration of the command "FOS\UserBundle\Command\CreateUserCommand" is deprecated since Symfony 3.4 and won't be supported in 4.0. Use PSR-4 based service discovery instead. {"exception":"[object] (ErrorException(code: 0): User Deprecated: Auto-registration of the command \"FOS\\UserBundle\\Command\\CreateUserCommand\" is deprecated since Symfony 3.4 and won't be supported in 4.0. Use PSR-4 based service discovery instead. at /var/www/brokerportal/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Bundle/Bundle.php:190)"} []
[2018-01-08 15:34:39] php.INFO: User Deprecated: Auto-registration of the command "FOS\UserBundle\Command\ChangePasswordCommand" is deprecated since Symfony 3.4 and won't be supported in 4.0. Use PSR-4 based service discovery instead. {"exception":"[object] (ErrorException(code: 0): User Deprecated: Auto-registration of the command \"FOS\\UserBundle\\Command\\ChangePasswordCommand\" is deprecated since Symfony 3.4 and won't be supported in 4.0. Use PSR-4 based service discovery instead. at /var/www/brokerportal/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Bundle/Bundle.php:190)"} []
[2018-01-08 15:34:39] php.INFO: User Deprecated: Auto-registration of the command "FOS\UserBundle\Command\DeactivateUserCommand" is deprecated since Symfony 3.4 and won't be supported in 4.0. Use PSR-4 based service discovery instead. {"exception":"[object] (ErrorException(code: 0): User Deprecated: Auto-registration of the command \"FOS\\UserBundle\\Command\\DeactivateUserCommand\" is deprecated since Symfony 3.4 and won't be supported in 4.0. Use PSR-4 based service discovery instead. at /var/www/brokerportal/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Bundle/Bundle.php:190)"} []
Which version of FOSUserBundle do you use?
I use the latest stable version, version 2.02
Looking at your git history, it seems like #2634 did not make it into version 2.02, Also confirmed it by looking at the files in my vendor directory, the changes commited in #2634 is not there.
Hi. When will we have a 2.03 tag? Soon I hope?
It is annoying that we cannot have this since it did not make it into the 2.02 version.
Seconding that! Please release
@stof @XWB Please tag a new version, so this issue can be resolved. Pretty please.
I just tagged 2.1.0
Thank you
Most helpful comment
Got these warnings: