Skip to content

Commit 3e52499

Browse files
authored
Merge pull request #4221 from m7913d/fix_versions_ForbiddenThisUseContexts
Fix incorrect versions error (ForbiddenThisUseContexts)
2 parents 98b5500 + 1ec119a commit 3e52499

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

composer.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -45,12 +45,12 @@
4545
],
4646
"scripts": {
4747
"check": [
48-
"./bin/check-phpdoc-types",
48+
"php ./bin/check-phpdoc-types",
4949
"phpcs samples/ src/ tests/ --report=checkstyle",
50-
"phpcs samples/ src/ tests/ --standard=PHPCompatibility --runtime-set testVersion 8.0- -n",
50+
"phpcs samples/ src/ tests/ --standard=PHPCompatibility --runtime-set testVersion 8.0- --exclude=PHPCompatibility.Variables.ForbiddenThisUseContexts -n",
5151
"php-cs-fixer fix --ansi --dry-run --diff",
52-
"phpunit --color=always",
53-
"phpstan analyse --ansi --memory-limit=2048M"
52+
"phpstan analyse --ansi --memory-limit=2048M",
53+
"phpunit --color=always"
5454
],
5555
"style": [
5656
"phpcs samples/ src/ tests/ --report=checkstyle",
@@ -61,7 +61,7 @@
6161
"php-cs-fixer fix"
6262
],
6363
"versions": [
64-
"phpcs samples/ src/ tests/ --standard=PHPCompatibility --runtime-set testVersion 8.0- -n"
64+
"phpcs samples/ src/ tests/ --standard=PHPCompatibility --runtime-set testVersion 8.0- --exclude=PHPCompatibility.Variables.ForbiddenThisUseContexts -n"
6565
]
6666
},
6767
"require": {

0 commit comments

Comments
 (0)