File tree Expand file tree Collapse file tree 2 files changed +14
-10
lines changed
Expand file tree Collapse file tree 2 files changed +14
-10
lines changed Original file line number Diff line number Diff line change @@ -47,15 +47,11 @@ updates:
4747 groups :
4848 # Group all dev dependencies together
4949 dev-dependencies :
50- patterns :
51- - " *"
5250 dependency-type : " development"
5351 # Group production dependencies (if any are added later)
5452 production-dependencies :
55- patterns :
56- - " *"
5753 dependency-type : " production"
5854 # Allow updates to all dependency types
5955 allow :
6056 - dependency-type : " direct"
61- - dependency-type : " indirect"
57+ - dependency-type : " indirect"
Original file line number Diff line number Diff line change 1818 "yoast/phpunit-polyfills" : " ^4.0" ,
1919 "wp-coding-standards/wpcs" : " ^3.1" ,
2020 "dealerdirect/phpcodesniffer-composer-installer" : " ^1.0.0" ,
21- "php-stubs/wordpress-stubs" : " ^6.8 " ,
21+ "php-stubs/wordpress-stubs" : " ^6.9 " ,
2222 "szepeviktor/phpstan-wordpress" : " ^1.3" ,
2323 "phpstan/phpstan" : " ^1.0" ,
2424 "phpcompatibility/phpcompatibility-wp" : " ^2.1"
2525 },
26+ "scripts" : {
27+ "phpcs" : " phpcs --standard=phpcs.xml" ,
28+ "phpcs:fix" : " phpcbf --standard=phpcs.xml" ,
29+ "phpmd" : " phpmd . text phpmd.xml --exclude vendor" ,
30+ "phpstan" : " phpstan analyze --memory-limit=1G" ,
31+ "test" : " phpunit" ,
32+ "check-all" : [
33+ " @phpcs" ,
34+ " @phpmd" ,
35+ " @phpstan"
36+ ]
37+ },
2638 "config" : {
2739 "allow-plugins" : {
2840 "dealerdirect/phpcodesniffer-composer-installer" : true
2941 }
30- },
31- "scripts" : {
32- "lint:php" : " phpcs" ,
33- "analyze" : " phpstan analyse"
3442 }
3543}
You can’t perform that action at this time.
0 commit comments