diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index cb6718e1e572440983d9fbcb01f397c06fa235db..2d59d3b234b0ff82c4be446984050ff1749426de 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -6,8 +6,8 @@ phpcs: image: composer:2 stage: test script: - - composer require --dev micheh/phpcs-gitlab - - vendor/bin/phpcs --report=full --report-\\Micheh\\PhpCodeSniffer\\Report\\Gitlab=phpcs-quality-report.json + - composer global require micheh/phpcs-gitlab + - phpcs --report=full --report-\\Micheh\\PhpCodeSniffer\\Report\\Gitlab=phpcs-quality-report.json artifacts: reports: codequality: phpcs-quality-report.json