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

🚑 fix(gitlab-ci) Update php-codesniffer gitlab-ci

Make php-codesniffer stop the ci if there are errors
Signed-off-by: default avatarJonathan Swaelens <>
parent 6c33587e
......@@ -66,7 +66,8 @@ create_php_code_sniffer_rapport:
- apt-get install -y -qq git php-cli php-codesniffer
- git clone ../dev-tools
- find . -type f -name '*.php' -o -name '*.inc' -exec phpcs --standard=../dev-tools/php-codesniffer-rules/FDStandard/ruleset.xml "{}" \;
- find . -type f -name '*.php' -o -name '*.inc' > ./filelist
- phpcs --standard=../dev-tools/php-codesniffer-rules/FDStandard/ruleset.xml --file-list=./filelist
# PHP lint
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