Commit 6053e3ff authored by Côme Chilliet's avatar Côme Chilliet
Browse files

🚑 fix(ci) Fix CI for PHP code sniffer

issue #1
parent e726cc1b
Pipeline #8900 passed with stages
in 44 seconds
......@@ -24,12 +24,11 @@ create_php_lint_rapport_stretch:
# PHP codesniffer
create_php_code_sniffer_rapport:
image: phpcodesniffer-cli:stretch
image: registry.fusiondirectory.org/fusiondirectory/fd/phpcodesniffer-cli:stretch
stage: codestyle
only:
- branches
script:
- git clone --depth 1 https://gitlab.fusiondirectory.org/fusiondirectory/dev-tools.git ../dev-tools
- find . -type f -name '*.php' -o -name '*.inc' > ./filelist
- phpcs --ignore=class_sieve.inc --standard=../dev-tools/php-codesniffer-rules/FDStandard/ruleset.xml --file-list=./filelist
- phpcs --standard=../dev-tools/php-codesniffer-rules/FDStandard/ruleset.xml --file-list=./filelist
Markdown is supported
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