Skip to content

Commit 0b20930

Browse files
authored
Dependabot
1 parent 3f5720f commit 0b20930

File tree

2 files changed

+14
-10
lines changed

2 files changed

+14
-10
lines changed

.github/dependabot.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff 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"

composer.json

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,18 +18,26 @@
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
}

0 commit comments

Comments
 (0)