diff --git a/composer.json b/composer.json index 7b312ae1..04ed20e2 100644 --- a/composer.json +++ b/composer.json @@ -5,12 +5,14 @@ "license": "GPL-2.0", "scripts": { "check": "php-cs-fixer fix --ansi --dry-run --diff", - "fix": "php-cs-fixer fix --ansi" + "fix": "php-cs-fixer fix --ansi", + "lint": "@php ./vendor/bin/parallel-lint --exclude vendor/ ." }, "require": { "php": ">=5.2" }, "require-dev": { - "friendsofphp/php-cs-fixer": "^2.7" + "friendsofphp/php-cs-fixer": "^2.7", + "jakub-onderka/php-parallel-lint": "^0.9.2" } }