From d3f2d878d6f5291cd3f787f28cd5cde208558307 Mon Sep 17 00:00:00 2001 From: Jan Wennrich <jan.wennrich@pcsg.de> Date: Fri, 14 Apr 2023 13:55:20 +0000 Subject: [PATCH] ci: composer require micheh/phpcs-gitlab globally --- .gitlab-ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index cb6718e..2d59d3b 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 -- GitLab