Skip to content

Commit c9ca4d3

Browse files
committed
Update szepeviktor/phpstan-wordpress to v1.0, add analyze script
1 parent 866356f commit c9ca4d3

File tree

1 file changed

+10
-7
lines changed

1 file changed

+10
-7
lines changed

composer.json

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"name": "wearerequired/common-php",
3-
"type": "library",
43
"description": "Common PHP Components for WordPress",
54
"license": "GPL-2.0-or-later",
5+
"type": "library",
66
"authors": [
77
{
88
"name": "required",
@@ -19,17 +19,20 @@
1919
"require": {
2020
"php": ">=7.4"
2121
},
22-
"extra": {
23-
"branch-alias": {
24-
"dev-master": "0.2.x-dev"
25-
}
22+
"require-dev": {
23+
"szepeviktor/phpstan-wordpress": "^1.0"
2624
},
2725
"autoload": {
2826
"psr-4": {
2927
"Required\\Common\\": "src"
3028
}
3129
},
32-
"require-dev": {
33-
"szepeviktor/phpstan-wordpress": "^0.6.5"
30+
"extra": {
31+
"branch-alias": {
32+
"dev-master": "0.2.x-dev"
33+
}
34+
},
35+
"scripts": {
36+
"analyze": "vendor/bin/phpstan analyze --no-progress"
3437
}
3538
}

0 commit comments

Comments
 (0)