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

:ambulance: fix(gitlab-ci) Update php-codesniffer gitlab-ci


Make php-codesniffer stop the ci if there are errors

Signed-off-by: default avatarJonathan Swaelens <swaelens.jonathan@opensides.be>
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:
......
  • bmortier @bmortier

    mentioned in commit bc835f4c

    By Jonathan Swaelens on 2018-04-05T20:12:22 (imported from GitLab)

    ·

    mentioned in commit bc835f4c

    By Jonathan Swaelens on 2018-04-05T20:12:22 (imported from GitLab)

    Toggle commit list
  • bmortier @bmortier

    mentioned in merge request !213

    By bmortier on 2018-04-05T20:12:22 (imported from GitLab)

    ·

    mentioned in merge request !213

    By bmortier on 2018-04-05T20:12:22 (imported from GitLab)

    Toggle commit list
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