This adds a requirement for phpstan/phpdoc-parser to ~1.5.0 to prevent installing 1.6 which causes a crash due to slevomat/coding-standard#1379. Once doctrine/coding-standard has a new 9.0.x release (that requires slevomat/coding-standard ^8 with the fix), that should become the minimum for that package and the phpstan/phpdoc-parser requirement should be removed.
This adds a requirement for phpstan/phpdoc-parser to ~1.5.0 to prevent installing 1.6 which causes a crash due to slevomat/coding-standard#1379. Once doctrine/coding-standard has a new 9.0.x release (that requires slevomat/coding-standard ^8 with the fix), that should become the minimum for that package and the phpstan/phpdoc-parser requirement should be removed.