Commit f64cc22d authored by Jonathan Swaelens's avatar Jonathan Swaelens
Browse files

:ambulance: feat(gitlab-ci) Use another command for php lint check

Use xargs for php lint check so that the job will fail at the first error

closes #5693



Signed-off-by: default avatarJonathan Swaelens <swaelens.jonathan@opensides.be>
Showing with 1 addition and 1 deletion
+1 -1
......@@ -27,4 +27,4 @@ create_php_code_sniffer_rapport:
# PHP lint
create_php_lint_rapport:
script:
- find . -type f -name '*.php' -o -name '*.inc' -exec php -l "{}" \;
- find . -type f -name '*.php' -o -name '*.inc' -print0 | xargs -0 -n1 php -l
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment