Metadrop / drupal-boilerplate

Drupal projects up and running with Docker and many other tools in minutes
28 stars 23 forks source link

GRUMPHP - Add env variable to grumphp exec command to hide deprecation warnings #85

Closed juanjol closed 1 year ago

juanjol commented 1 year ago

When the PHP version is set to 8.0/8.1, GrumPhp complains about deprecation with many warnings, messing up the console output.

I propose to add an environment variable to hide Php deprecation warnings until we can update the grumphp.

juanjol commented 1 year ago

As explained in the related pull request https://github.com/Metadrop/drupal-boilerplate/pull/86, Deprecation warnings come from GrumPHP itself and they can't be avoided without updating symfony, but symfony is locked by Drupal.

juanjol commented 1 year ago

@mistermoper as PR #86 has been merged and this one is directly related, I think it should be merged as well.