This pull request updates phpstan/phpstan and friendsofphp/php-cs-fixer to the most recent major version. Furthermore. it adjusts the phpstan configuration to be consistent with our other repositories.
Why?
Because the old version of friendsofphp/php-cs-fixer is not compatible with Symfony 6.
What's in this PR?
This pull request updates
phpstan/phpstan
andfriendsofphp/php-cs-fixer
to the most recent major version. Furthermore. it adjusts the phpstan configuration to be consistent with our other repositories.Why?
Because the old version of
friendsofphp/php-cs-fixer
is not compatible with Symfony 6.