Skip to content

Commit b8b53b5

Browse files
committed
Allow a small set of slevomat/coding-standard 7.0.x releases
We do not use a simple '^7' version constraint as the slevomat helpers have become internal as of version 7. This means that that they can break BC for the helpers (or just remove them entirely) within the 7.x-range, which would break our sniffs. The currently-released versions (7.0.0-7.0.4) still seem compatible, so for now can allow this limited range. See #10 (comment) for details. Closes #10
1 parent a4dbcf9 commit b8b53b5

File tree

2 files changed

+35
-38
lines changed

2 files changed

+35
-38
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"require": {
1919
"php": "^7.1 || ^8.0",
2020
"squizlabs/php_codesniffer": "^3.0.0",
21-
"slevomat/coding-standard": "^6.3.11"
21+
"slevomat/coding-standard": "^6.0 || ^7.0 <= 7.0.4"
2222
},
2323
"require-dev": {
2424
"phpunit/phpunit": "^8.5.12"

composer.lock

Lines changed: 34 additions & 37 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)