Skip to content

Commit cb91aed

Browse files
committed
:octocat: fix broken phpcs config
1 parent 0428014 commit cb91aed

File tree

4 files changed

+256
-121
lines changed

4 files changed

+256
-121
lines changed

composer.json

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,11 @@
3434
"php": "^8.1"
3535
},
3636
"require-dev": {
37-
"phpunit/phpunit": "^10.5",
3837
"phpmd/phpmd": "^2.15",
39-
"phpstan/phpstan": "^1.11",
38+
"phpstan/phpstan": "^1.12",
4039
"phpstan/phpstan-deprecation-rules": "^1.2",
40+
"phpunit/phpunit": "^10.5",
41+
"slevomat/coding-standard": "^8.15",
4142
"squizlabs/php_codesniffer": "^3.10"
4243
},
4344
"suggest": {
@@ -54,12 +55,16 @@
5455
},
5556
"scripts": {
5657
"phpcs": "@php vendor/bin/phpcs",
57-
"phpunit": "@php vendor/bin/phpunit",
58-
"phpstan": "@php vendor/bin/phpstan"
58+
"phpstan": "@php vendor/bin/phpstan",
59+
"phpstan-baseline": "@php vendor/bin/phpstan --generate-baseline",
60+
"phpunit": "@php vendor/bin/phpunit"
5961
},
6062
"config": {
6163
"lock": false,
6264
"sort-packages": true,
63-
"platform-check": true
65+
"platform-check": true,
66+
"allow-plugins": {
67+
"dealerdirect/phpcodesniffer-composer-installer": true
68+
}
6469
}
6570
}

0 commit comments

Comments
 (0)