Replies: 1 comment
-
You could try to use a never version of grumphp through the dependencyless |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I've found myself in a bit of a conundrum. I'm using version 1.5.1 of grumphp on a Drupal 9 site, that I'm working on upgrading to Drupal 10. To do that, I have to first upgrade from PHP 8.0 to 8.1. When I do that, every time I commit code and grumphp kicks in, I get piles of deprecation warnings.
The obvious solution is to upgrade to grumphp 1.8+ which supports PHP 8.1. However, that also requires Symfony 5+ libraries, and Drupal 9 is using Symfony 4. Ironically, Drupal 10 uses Symfony 5, so things should work fine once everything is fully updated. But I'm a ways from being ready to make that upgrade.
Since I can't upgrade, I've been trying to suppress the warnings, and I've had some success by modifying
EXEC_GRUMPHP_COMMAND
in grumphp.yml, but even this only stops some of them:Anyone have any other ideas on how to suppress the notices until I can fully upgrade?
Beta Was this translation helpful? Give feedback.
All reactions