From 80d30d81e9d99a072872c9a9f0e8f8061486bec1 Mon Sep 17 00:00:00 2001 From: David Goodwin Date: Wed, 11 Oct 2017 09:14:50 +0100 Subject: [PATCH] add parallel-lint --- composer.json | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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" } }