Describe the bug
Symfony console commands (make:entity in my case, but I expect it happens with other commands) emit this warning:
User Deprecated: Method "Symfony\Component\HttpKernel\Bundle\Bundle::build()" might add "void" as a native return type declaration in the future. Do the same in child class "FM\ElfinderBundle\FMElfinderBundle" now to avoid errors or add an explicit @return annotation to suppress this message.
Describe the bug Symfony console commands (make:entity in my case, but I expect it happens with other commands) emit this warning:
User Deprecated: Method "Symfony\Component\HttpKernel\Bundle\Bundle::build()" might add "void" as a native return type declaration in the future. Do the same in child class "FM\ElfinderBundle\FMElfinderBundle" now to avoid errors or add an explicit @return annotation to suppress this message.
To Reproduce Run
php bin/console make:entity Foo
.Proposed fix PR