diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 7d30e2537cb23091ef38e63c3309d10edca9af55..c4196ce4fc380097de6e558491c01c71a4c2181e 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