-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Description
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\Command\ActivateUserCommand" 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 registerCommands as noop function