KnpGaufretteBundle icon indicating copy to clipboard operation
KnpGaufretteBundle copied to clipboard

Deprecation warning

Open tehpolicer opened this issue 3 years ago • 1 comments

Symfony 5.4 is generating deprecation warning with the following message:

Method "Symfony\Component\Console\Command\Command::execute()" might add "int" as a native return type declaration in the future. Do the same in child class "Knp\Bundle\GaufretteBundle\Command\FilesystemKeysCommand" now to avoid errors or add an explicit @return annotation to suppress this message.

This issue is easily resolvable by just adding return type of int to the command.

tehpolicer avatar Apr 01 '22 11:04 tehpolicer

Hello thanks for the feedback, you are 100% right, PR is welcome :) .

Nek- avatar Apr 14 '22 14:04 Nek-

I think we're good with this 🙌

Nek- avatar Nov 15 '22 22:11 Nek-