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