Commit 6391e614 authored by Jonathan Swaelens's avatar Jonathan Swaelens
Browse files

:ambulance: feat(gitlab-ci) Add finetuning to phpcs check

Add finetuning to phpcs and correct find command for php lint

closes #5693



Signed-off-by: default avatarJonathan Swaelens <swaelens.jonathan@opensides.be>
Showing with 2 additions and 2 deletions
+2 -2
......@@ -22,9 +22,9 @@ create_perlcritic_rapport:
create_php_code_sniffer_rapport:
script:
- git clone https://gitlab.fusiondirectory.org/fusiondirectory/dev-tools.git ../dev-tools
- phpcs --standard=../dev-tools/php-codesniffer-rules/FDStandard/ruleset.xml .
- find . -type f -name '*.php' -o -name '*.inc' -exec phpcs --standard=../dev-tools/php-codesniffer-rules/FDStandard/ruleset.xml "{}" \;
# PHP lint
create_php_lint_rapport:
script:
- find . -type f -name '*.php' -name '*.inc' -exec php -l "{}" \;
- find . -type f -name '*.php' -o -name '*.inc' -exec php -l "{}" \;
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