Skip to content

Commit ec8e251

Browse files
committed
:octocat: fix broken phpcs config
1 parent b73d5d4 commit ec8e251

File tree

4 files changed

+254
-119
lines changed

4 files changed

+254
-119
lines changed

composer.json

+10-5
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,11 @@
3333
"php": "^8.1"
3434
},
3535
"require-dev": {
36-
"phpunit/phpunit": "^10.5",
3736
"phpmd/phpmd": "^2.15",
38-
"phpstan/phpstan": "^1.11",
37+
"phpstan/phpstan": "^1.12",
3938
"phpstan/phpstan-deprecation-rules": "^1.2",
39+
"phpunit/phpunit": "^10.5",
40+
"slevomat/coding-standard": "^8.15",
4041
"squizlabs/php_codesniffer": "^3.10"
4142
},
4243
"suggest": {
@@ -53,12 +54,16 @@
5354
},
5455
"scripts": {
5556
"phpcs": "@php vendor/bin/phpcs",
56-
"phpunit": "@php vendor/bin/phpunit",
57-
"phpstan": "@php vendor/bin/phpstan"
57+
"phpstan": "@php vendor/bin/phpstan",
58+
"phpstan-baseline": "@php vendor/bin/phpstan --generate-baseline",
59+
"phpunit": "@php vendor/bin/phpunit"
5860
},
5961
"config": {
6062
"lock": false,
6163
"sort-packages": true,
62-
"platform-check": true
64+
"platform-check": true,
65+
"allow-plugins": {
66+
"dealerdirect/phpcodesniffer-composer-installer": true
67+
}
6368
}
6469
}

0 commit comments

Comments
 (0)