Run PHPStan on level 7
[MAILPOET-2535]
This commit is contained in:
committed by
Jack Kitterhing
parent
52b4d67eca
commit
1b3a74ace1
@ -466,7 +466,7 @@ class RoboFile extends \Robo\Tasks {
|
||||
'WP_ROOT="' . getenv('WP_ROOT') . '"',
|
||||
'php -d memory_limit=2G',
|
||||
"$dir/tasks/phpstan/vendor/bin/phpstan analyse ",
|
||||
'--level 5',
|
||||
'--level 7',
|
||||
]);
|
||||
|
||||
// PHPStan must be run out of main plugin directory to avoid its autoloading
|
||||
|
Reference in New Issue
Block a user