akeneo / php-coupling-detector

[Experimental] Detect all the coupling issues of your project with respect to the coupling rules you have defined.
MIT License
42 stars 6 forks source link

Support Symfony 7 #72

Closed Beninho closed 11 months ago

Beninho commented 11 months ago

This PR proposes an update to support Symfony 7.0.

Please note: phpspec does not currently support Symfony 7

jakzal commented 11 months ago

Unfortunately, this change breaks the app:

$ php-coupling-detector list

PHP Fatal error:  Declaration of Akeneo\CouplingDetector\Console\Command\DetectCommand::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 /home/runner/work/toolbox/toolbox/build/tools/.composer/vendor-bin/tools/vendor/akeneo/php-coupling-detector/src/Console/Command/DetectCommand.php on line 71