Skip to content

Commit c305a9a

Browse files
committed
:octocat: update broken phpcs config
1 parent f501b93 commit c305a9a

File tree

5 files changed

+257
-126
lines changed

5 files changed

+257
-126
lines changed

composer.json

+9-4
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,11 @@
3636
"ext-sodium": "*"
3737
},
3838
"require-dev": {
39-
"phpunit/phpunit": "^10.5",
4039
"phpmd/phpmd": "^2.15",
4140
"phpstan/phpstan": "^1.12",
4241
"phpstan/phpstan-deprecation-rules": "^1.2",
42+
"phpunit/phpunit": "^10.5",
43+
"slevomat/coding-standard": "^8.15",
4344
"squizlabs/php_codesniffer": "^3.10"
4445
},
4546
"suggest": {
@@ -56,12 +57,16 @@
5657
},
5758
"scripts": {
5859
"phpcs": "@php vendor/bin/phpcs",
59-
"phpunit": "@php vendor/bin/phpunit",
60-
"phpstan": "@php vendor/bin/phpstan"
60+
"phpstan": "@php vendor/bin/phpstan",
61+
"phpstan-baseline": "@php vendor/bin/phpstan --generate-baseline",
62+
"phpunit": "@php vendor/bin/phpunit"
6163
},
6264
"config": {
6365
"lock": false,
6466
"sort-packages": true,
65-
"platform-check": true
67+
"platform-check": true,
68+
"allow-plugins": {
69+
"dealerdirect/phpcodesniffer-composer-installer": true
70+
}
6671
}
6772
}

0 commit comments

Comments
 (0)