Commit bc835f4c authored by jswaelens's avatar jswaelens Committed by bmortier
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

(cherry picked from commit 3031ef5e)

f3e9714f :ambulance: fix(gitlab-ci) Update php-codesniffer gitlab-ci
Showing with 2 additions and 1 deletion
+2 -1
...@@ -74,7 +74,8 @@ create_php_code_sniffer_rapport: ...@@ -74,7 +74,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
# generate man pages to test validity # generate man pages to test validity
test_manpages: test_manpages:
......
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