Skip to content

Commit c093253

Browse files
committed
Enable PHPStan
1 parent 71a7900 commit c093253

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

.distignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,5 @@ composer.lock
2323
grumphp.yml
2424
package-lock.json
2525
package.json
26+
phpstan.neon
2627
README.md

grumphp.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@ grumphp:
77
# phpmd:
88
# ruleset: ["cleancode", "naming"]
99
phpmnd:
10-
# phpstan:
11-
# memory_limit: 512M
10+
phpstan:
11+
memory_limit: 512M

phpstan.neon

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
includes:
2+
- vendor/szepeviktor/phpstan-wordpress/extension.neon
3+
4+
parameters:
5+
level: 3

0 commit comments

Comments
 (0)