We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c8a9864 commit 8fdeff4Copy full SHA for 8fdeff4
composer.json
@@ -28,6 +28,29 @@
28
},
29
"require-dev": {
30
"phpunit/phpunit": "^11.5",
31
- "phpstan/phpstan": "^2.1"
+ "phpstan/phpstan": "^2.1",
32
+ "squizlabs/php_codesniffer": "^3.11",
33
+ "phpcompatibility/php-compatibility": "^9.3",
34
+ "phpcompatibility/phpcompatibility-wp": "^2.1",
35
+ "wp-coding-standards/wpcs": "^3.1"
36
+ },
37
+ "config": {
38
+ "allow-plugins": {
39
+ "dealerdirect/phpcodesniffer-composer-installer": true
40
+ }
41
42
+ "scripts": {
43
+ "test:unit": "vendor/bin/phpunit",
44
+ "analyze": "vendor/bin/phpstan",
45
+ "sniff": "vendor/bin/phpcs",
46
+ "test": [
47
+ "@analyze",
48
+ "@test:unit",
49
+ "@sniff"
50
+ ],
51
+ "test:dev": [
52
+ "phpstan",
53
+ "phpunit"
54
+ ]
55
}
56
0 commit comments