Skip to content

Commit

Permalink
Enable PHPStan
Browse files Browse the repository at this point in the history
  • Loading branch information
AlecRust committed Apr 7, 2024
1 parent 71a7900 commit c093253
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
1 change: 1 addition & 0 deletions .distignore
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,5 @@ composer.lock
grumphp.yml
package-lock.json
package.json
phpstan.neon
README.md
4 changes: 2 additions & 2 deletions grumphp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ grumphp:
# phpmd:
# ruleset: ["cleancode", "naming"]
phpmnd:
# phpstan:
# memory_limit: 512M
phpstan:
memory_limit: 512M
5 changes: 5 additions & 0 deletions phpstan.neon
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
includes:
- vendor/szepeviktor/phpstan-wordpress/extension.neon

parameters:
level: 3

0 comments on commit c093253

Please sign in to comment.