filefill
filefill copied to clipboard
Compatibility with Symfony 7
When running on TYPo3 v 12.4 with Symfony 7 I get a fatal errors:
PHP Fatal error: Declaration of IchHabRecht\Filefill\Command\ResetCommand::execute(Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output) must be compatible with Symfony \Component\Console\Command\Command::execute(Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output): int in /var/www/html/vendor/ichhabrecht/filefill/Classes/Command/Reset Command.php on line 52
Fatal error: Declaration of IchHabRecht\Filefill\Command\ResetCommand::execute(Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output) must be compatible with Symfony\Comp onent\Console\Command\Command::execute(Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output): int in /var/www/html/vendor/ichhabrecht/filefill/Classes/Command/ResetComma nd.php on line 52
Adding :int
as return value to all execute methods in command solves the problem locally
Hi @linawolf
Thank you for your issue. This problem should be fixed with the latest 4.3.1 release of filefill.