From e068bc3d09b18491004cec778e6bda43529d286b Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Wed, 13 May 2020 13:36:51 +0200 Subject: Fix linter command Signed-off-by: Joas Schilling --- composer.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'composer.json') diff --git a/composer.json b/composer.json index e24197271..1c5cd09ae 100644 --- a/composer.json +++ b/composer.json @@ -1,7 +1,8 @@ { "scripts": { "cs:check": "php-cs-fixer fix --dry-run --diff", - "cs:fix": "php-cs-fixer fix" + "cs:fix": "php-cs-fixer fix", + "lint": "find . -name \\*.php -not -path './vendor/*' -not -path './build/*' -not -path './tests/integration/vendor/*' -print0 | xargs -0 -n1 php -l" }, "require-dev": { "nextcloud/coding-standard": "^0.3.0" -- cgit v1.2.3