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.
We currently have a
require-dev
dependency onnikic/php-parser
version 3 and lower. This needed to be added because the detection of thestrict_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