diff options
Diffstat (limited to 'composer.json')
| -rw-r--r-- | composer.json | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/composer.json b/composer.json index 2234a0e13..461c2f457 100644 --- a/composer.json +++ b/composer.json @@ -57,6 +57,7 @@ "phpcs": "phpcs . -s", "phpcbf": "phpcbf . -p -s", "phpstan": "phpstan analyse --memory-limit 512M .", + "phpstan-next": "phpstan analyse --level 6 --memory-limit 512M $(find . -type d -name 'vendor' -prune -o -name '*.php' -o -name '*.phtml' | grep -Fxvf ./tests/phpstan-next.txt | sort | paste -s)", "phpunit": "phpunit --bootstrap ./tests/bootstrap.php --verbose ./tests", "translations": "cli/manipulate.translation.php -a format", "test": [ @@ -64,7 +65,8 @@ "@phtml-lint", "@phpunit", "@phpcs", - "@phpstan" + "@phpstan", + "@phpstan-next" ], "fix": [ "@translations", |
