From 17f710c143bcd55882449dc6b558caca2ae73cbb Mon Sep 17 00:00:00 2001
From: Bart Jaskulski <bjaskulski@protonmail.com>
Date: Wed, 15 Feb 2023 12:05:53 +0100
Subject: [PATCH] refactor: check whole project without dev dependencies

Signed-off-by: Bart Jaskulski <bjaskulski@protonmail.com>
---
 includes/tests/lint.yml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/includes/tests/lint.yml b/includes/tests/lint.yml
index f9f0416..9f44079 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
-- 
GitLab