openeuropa / drupal-site-template

OpenEuropa template for Drupal sites.
European Union Public License 1.2
12 stars 10 forks source link

Relax dependency on nikic/php-parser when GrumPHP becomes compatible #2

Open pfrenssen opened 6 years ago

pfrenssen commented 6 years ago

We currently have a require-dev dependency on nikic/php-parser version 3 and lower. This needed to be added because the detection of the strict_types directive in GrumPHP only works with those versions.

Once GrumPHP becomes compatible we can relax the version requirement to ~2.1|~3.0|~4.0.

Ref: https://github.com/phpro/grumphp/pull/525

pfrenssen commented 6 years ago

Also when the upstream PR is merged and released, we can remove the patch from {{composer.json}}.