diff --git a/includes/tests/lint.yml b/includes/tests/lint.yml
index f9f04160b3cd38e764c2590a189bbcdf4a02c967..9f4407901f39b4322783fc730bbba0c7d5205253 100644
--- a/includes/tests/lint.yml
+++ b/includes/tests/lint.yml
@@ -1,7 +1,8 @@
 .lint: &lint-tmpl
   stage: tests
   script:
-    - find -name '*.php' -not -path '*vendor/*' -print0 | xargs -n1 -0 -P16 php -l >/dev/null
+    - composer install --no-dev
+    - find -name '*.php' -print0 | xargs -n1 -0 -P16 php -l >/dev/null
 
 lint:8.1:
   <<: *lint-tmpl