diff options
Diffstat (limited to 'composer.json')
-rw-r--r-- | composer.json | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/composer.json b/composer.json index e3ec84c80e1..5f3db01b32c 100644 --- a/composer.json +++ b/composer.json @@ -16,5 +16,8 @@ "require-dev": { "jakub-onderka/php-parallel-lint": "^0.9.2", "jakub-onderka/php-console-highlighter": "^0.3.2" - } + }, + "scripts": { + "lint": "find . -name \\*.php -not -path './lib/composer/*' -exec php -l \"{}\" \\;" + } } |