From 19d9f91e0926e0c5156e0ce5a1d6374461e2fa08 Mon Sep 17 00:00:00 2001 From: Jan Wennrich <jan.wennrich@pcsg.de> Date: Fri, 14 Apr 2023 14:01:01 +0000 Subject: [PATCH] ci: correct path to phpcs executable --- .gitlab-ci.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 7d30e25..c4196ce 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -6,9 +6,8 @@ phpcs: image: composer:2 stage: test script: - - composer config --list --global - composer global require micheh/phpcs-gitlab - - ~/.composer/vendor/bin/phpcs --report=full --report-\\Micheh\\PhpCodeSniffer\\Report\\Gitlab=phpcs-quality-report.json + - /tmp/vendor/bin/phpcs --report=full --report-\\Micheh\\PhpCodeSniffer\\Report\\Gitlab=phpcs-quality-report.json artifacts: reports: codequality: phpcs-quality-report.json -- GitLab