phpro / grumphp

A PHP code-quality tool
MIT License
4.14k stars 429 forks source link

deprecated issue in magento 2.4.4 #1028

Closed palakaccorin closed 2 years ago

palakaccorin commented 2 years ago

I have issue in installing grumphp in latest magento version 2.4.4 Running below command , throwing errors composer require --dev phpro/grumphp image

Then, Tried with in command composer require --dev phpro/grumphp: It is installing v1.5.1, but throwing deprecated errors at last image

so how can I install compatible grumphp in magento 2.4.4

veewee commented 2 years ago

Hello,

You can either upgrade symfony/console or use the dependencyless phpro/grumphp-shim package or use an older version of grumphp and mute the PHP deprecation warnings.

palakaccorin commented 2 years ago

@veewee thanks, it helps. phpro/grumphp-shim package works.