From 64665c98e1482c6702a8382200811acfc0cbdb0b Mon Sep 17 00:00:00 2001 From: Roeland Jago Douma Date: Sun, 9 Feb 2020 18:13:30 +0100 Subject: Lint on github actions Signed-off-by: Roeland Jago Douma --- composer.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'composer.json') 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 \"{}\" \\;" + } } -- cgit v1.2.3