Commit 3031ef5e authored by jswaelens's avatar jswaelens
Browse files

Merge branch '5780-update-php-codesniffer-gitlab-ci-so-that-it-stop-on-error' into '1.3-dev'

Resolve "Update php-codesniffer gitlab-ci so that it stop on error"

Closes #5780

See merge request fusiondirectory/fd!149
Showing with 2 additions and 1 deletion
+2 -1
...@@ -66,7 +66,8 @@ create_php_code_sniffer_rapport: ...@@ -66,7 +66,8 @@ create_php_code_sniffer_rapport:
- apt-get install -y -qq git php-cli php-codesniffer - apt-get install -y -qq git php-cli php-codesniffer
script: script:
- git clone https://gitlab.fusiondirectory.org/fusiondirectory/dev-tools.git ../dev-tools - git clone https://gitlab.fusiondirectory.org/fusiondirectory/dev-tools.git ../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 # PHP lint
create_php_lint_rapport: create_php_lint_rapport:
......
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