typo3-rector: declaration errors after typo3-rector-prefixed update
I used typo3-rector-prefixed fine for some time and now update from 0.9.23 to 0.10.1. My call is as follows and now i get the following php fatal:
ssh@dd44338:/www/htdocs/$ php74 /.config/composer/vendor/bin/rector process typo3conf/ext/template/ -c ./rector.php --dry-run --autoload-file ./autoload.php
PHP Fatal error: Declaration of Typo3RectorPrefix20210429\Symfony\Component\DependencyInjection\ServiceLocator::has(string $id) must be compatible with Psr\Container\ContainerInterface::has($id) in /.config/composer/vendor/ssch/typo3-rector-prefixed/vendor/symfony/dependency-injection/ServiceLocator.php on line 41
Fatal error: Declaration of Typo3RectorPrefix20210429\Symfony\Component\DependencyInjection\ServiceLocator::has(string $id) must be compatible with Psr\Container\ContainerInterface::has($id) in /.config/composer/vendor/ssch/typo3-rector-prefixed/vendor/symfony/dependency-injection/ServiceLocator.php on line 41
Switching back to 0.9.23 and calling as follows, everything is working again:
ssh@dd44338:/www/htdocs/$ php74 /.config/composer/vendor/bin/typo3-rector process typo3conf/ext/template/ -c ./rector.php --dry-run --autoload-file ./autoload.php
68/68 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓] 100%
3 files with changes
...
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 18 (18 by maintainers)
Thanks a lot you two, even I’m still far away from understanding! 😅
Thanks for your empathy 😉
I will give it a try.