From 96cf48b26401b5adb5b355dd5429871fff37397d Mon Sep 17 00:00:00 2001
From: Jan-Hendrik Willms <tleilax+studip@gmail.com>
Date: Thu, 14 Nov 2024 22:07:54 +0100
Subject: [PATCH] phpstan only needs to react to relevant changes

---
 .gitlab-ci.yml | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 48af858bc9f..e70bf6d80df 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -237,10 +237,9 @@ phpstan:
   needs: [build-composer]
   rules:
     changes:
-      - app/controllers/**/*.php
-      - lib/**/*.php
-      - tests/**/*.php
-
+      - "app/controllers/**/*.php"
+      - "lib/**/*.php"
+      - "tests/**/*.php"
   variables:
     CACHE_LOCATION: $CACHE_DIR/phpstan
     PHPSTAN_CODE_QUALITY_REPORT: $REPORT_DIR/phpstan-codequality.json
-- 
GitLab