Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Commands should follow Interface constraints from symfony/console:v7 #404

Closed
m41r opened this issue Feb 7, 2024 · 1 comment
Closed
Labels

Comments

@m41r
Copy link
Contributor

m41r commented Feb 7, 2024

Bug Report

Current Behavior
After a composer update, the symfony package "console" was updated from v6 to v7 and the cli command typo3 extension:setup is now throwing an error:

typo3 extension:setup
PHP Fatal error: Declaration of SFC\Staticfilecache\Command\BoostQueueCommand::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/lochmueller/staticfilecache/Classes/Command/BoostQueueCommand.php on line 65

Expected behavior/output
No exception

Environment

  • TYPO3 version(s): 12.4.10
  • staticfilecache version: 13.1.3
  • Is your TYPO3 installation set up with Composer (Composer Mode): yes
@lochmueller
Copy link
Owner

Thanks for the direct PR. Merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants