diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 740e12700c7916a11b49f7afd860729105cbf559..69906fd51de71a54b967f831a9e5c738d52fccbb 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -66,7 +66,8 @@ create_php_code_sniffer_rapport: - apt-get install -y -qq git php-cli php-codesniffer script: - 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 create_php_lint_rapport: