diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 43fb2d03797fd0e1bc7259b184f1f103a4d6bf75..32d7c687a9824157ae93c9f86548c8383efe6b5c 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -59,11 +59,11 @@ create_php_code_sniffer_rapport: - test -d ../dev-tools/ && rm -Rf ../dev-tools/ - git clone --depth 1 https://gitlab.fusiondirectory.org/fusiondirectory/dev-tools.git ../dev-tools - find . -type f -name '*.php' -o -name '*.inc' > ./filelist - - phpcs --standard=../dev-tools/php-codesniffer-rules/FDStandard/ruleset.xml --file-list=./filelist + - /root/.composer/vendor/bin/phpcs --standard=../dev-tools/php-codesniffer-rules/FDStandard/ruleset.xml --file-list=./filelist - git clone --depth 1 https://github.com/PHPCompatibility/PHPCompatibility.git ../PHPCompatibility - git clone --depth 1 https://github.com/PHPCSStandards/PHPCSUtils.git ../PHPCSUtils - - phpcs --config-set installed_paths /builds/fusiondirectory/PHPCompatibility,/builds/fusiondirectory/PHPCSUtils - - phpcs --standard=PHPCompatibility --runtime-set testVersion 7.3-7.4 --file-list=./filelist + - /root/.composer/vendor/bin/phpcs --config-set installed_paths /builds/fusiondirectory/PHPCompatibility,/builds/fusiondirectory/PHPCSUtils + - /root/.composer/vendor/bin/phpcs --standard=PHPCompatibility --runtime-set testVersion 7.3-7.4 --file-list=./filelist # phpstan create_phpstan_rapport: