Commit 1a666703 authored by Benoit Mortier's avatar Benoit Mortier

🚑 fix(gitlab-ci) use the 1.3 branch of the sniffer rules for 1.3

Signed-off-by: Benoit Mortier's avatarBenoit Mortier <benoit.mortier@opensides.be>
parent b41d03fa
......@@ -74,11 +74,24 @@ create_perlcritic_rapport:
- cp contrib/bin/fusiondirectory-insert-schema contrib/bin/fusiondirectory-insert-schema.pl
- perlcritic --quiet --verbose "%f~|~%s~|~%l~|~%c~|~%m~|~%e~|~%p~||~%n" contrib/bin
# PHP codesniffer
create_php_code_sniffer_rapport_13:
stage: codestyle
only:
- 1.3-dev
before_script:
- apt-get update -qq
- apt-get install -y -qq git php-cli php-codesniffer
script:
- git clone https://gitlab.fusiondirectory.org/fusiondirectory/dev-tools.git -b 1.3 ../dev-tools
- find . -type f -name '*.php' -o -name '*.inc' > ./filelist
- phpcs --standard=../dev-tools/php-codesniffer-rules/FDStandard/ruleset.xml --file-list=./filelist
# PHP codesniffer
create_php_code_sniffer_rapport:
stage: codestyle
only:
- branches
- 1.4-dev
before_script:
- apt-get update -qq
- apt-get install -y -qq git php-cli php-codesniffer
......
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