Commit 18209a45 authored by bmortier's avatar bmortier
Browse files

Merge branch 'cherry-pick-3031ef5e' into '1.2-fixes'

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

See merge request fusiondirectory/fd!213
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