Skip to content

Commit

Permalink
Prevent installation of newer phpstan/phpdoc-parser for now
Browse files Browse the repository at this point in the history
As found out in many pull requests that update `composer.lock`, `phpstan/phpdoc-parser:1.6` and
beyond are incompatible with `slevomat/coding-standard:^7`, and we should therefore restrict the
compatibility range (for now) in order to prevent downstream crashes.

This can be reverted once we upgrade to `slevomat/coding-standard:^8` (in #75)
  • Loading branch information
Ocramius committed Aug 24, 2022
1 parent a4327cc commit 59bd432
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
3 changes: 3 additions & 0 deletions composer.json
Expand Up @@ -15,6 +15,9 @@
"squizlabs/php_codesniffer": "^3.6",
"webimpress/coding-standard": "^1.2"
},
"conflict": {
"phpstan/phpdoc-parser": ">=1.6.0"
},
"config": {
"sort-packages": true,
"allow-plugins": {
Expand Down
15 changes: 7 additions & 8 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 59bd432

Please sign in to comment.