Skip to content
Snippets Groups Projects
Verified Commit fabad4f6 authored by Bartek Jaskulski's avatar Bartek Jaskulski
Browse files

fix: improve lint result output

parent 0615bd67
No related branches found
No related tags found
No related merge requests found
......@@ -7,7 +7,9 @@
- composer install --no-dev
- rm auth.json
script:
- find -name '*.php' -print0 |xargs -I{} -0 -P16 php -l {} >/dev/null
- LINT=$(find . -name '*.php' -print0 |xargs -n1 -0 -P16 php -l)
- RESULT="$?"
- if [[ "$RESULT" -ne 0 ]]; then echo -e "$LINT" | grep -v 'No syntax errors'; fi
lint:8.2:
extends: .lint
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment