Closed leonhelmus closed 2 years ago
See https://github.com/phpro/grumphp/issues/1028#issuecomment-1199231004
I recommend using the phar version instead.
We will only support 2 major symfony version, because that's about all the pain I can bare maintaining in my spare time. Maybe you have better luck asking the magento team to get their dependencies a bit more up to date.
Hehehe, thanks i can get behind that :+1: Some collegues showed me that as well. Thanks for this project non the less!
vendor/bin/grumphp -V
php/grumphp is stuck on version 1.5.1, because magento/framework has a dependency on symfony/console:~4.4.0. See composer show magento/framework.
This is the reason why you can never install a higher version of grumphp in a magento than 1.5.1. Is it possible to add a dependency to composer.json (https://github.com/phpro/grumphp/blob/master/composer.json#L31)? like
instead of:
Or would this introduce breaking changes?
My configuration
Steps to reproduce: composer require --dev phpro/grumphp in a magento 2.4.5 project
Result: