Skip to content

Commit 8cb2ef1

Browse files
add phpstan
1 parent e107c11 commit 8cb2ef1

4 files changed

Lines changed: 399 additions & 0 deletions

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
vendor

composer.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,16 @@
33
"type": "wordpress-plugin",
44
"require": {
55
"composer/installers": "^2.0"
6+
},
7+
"require-dev": {
8+
"phpstan/phpstan": "^2.1",
9+
"szepeviktor/phpstan-wordpress": "^2.0",
10+
"phpstan/extension-installer": "^1.4"
11+
},
12+
"config": {
13+
"allow-plugins": {
14+
"composer/installers": true,
15+
"phpstan/extension-installer": true
16+
}
617
}
718
}

0 commit comments

Comments
 (0)