diff --git a/.distignore b/.distignore index c8c1574..8da09a0 100644 --- a/.distignore +++ b/.distignore @@ -23,4 +23,5 @@ composer.lock grumphp.yml package-lock.json package.json +phpstan.neon README.md diff --git a/grumphp.yml b/grumphp.yml index 834c601..a4cc419 100644 --- a/grumphp.yml +++ b/grumphp.yml @@ -7,5 +7,5 @@ grumphp: # phpmd: # ruleset: ["cleancode", "naming"] phpmnd: - # phpstan: - # memory_limit: 512M + phpstan: + memory_limit: 512M diff --git a/phpstan.neon b/phpstan.neon new file mode 100644 index 0000000..ecca280 --- /dev/null +++ b/phpstan.neon @@ -0,0 +1,5 @@ +includes: + - vendor/szepeviktor/phpstan-wordpress/extension.neon + +parameters: + level: 3