summaryrefslogtreecommitdiffstats
path: root/composer.json
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2020-02-09 18:13:30 +0100
committerRoeland Jago Douma <roeland@famdouma.nl>2020-02-10 09:32:45 +0100
commit64665c98e1482c6702a8382200811acfc0cbdb0b (patch)
tree77ce26c5914b35466d9e20fe8040023f01b8f9ab /composer.json
parent9205a21088f67a7c8215e23bf4ff8fb54f13323d (diff)
downloadnextcloud-server-64665c98e1482c6702a8382200811acfc0cbdb0b.tar.gz
nextcloud-server-64665c98e1482c6702a8382200811acfc0cbdb0b.zip
Lint on github actions
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'composer.json')
-rw-r--r--composer.json5
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 \"{}\" \\;"
+ }
}