From a32fe638a4b215eee818edd211dd7a9431a0b2d3 Mon Sep 17 00:00:00 2001
From: Bart Jaskulski <bjaskulski@protonmail.com>
Date: Tue, 14 Jan 2025 09:47:01 +0100
Subject: [PATCH] refactor: replace strict mode with octolize group exclusion

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

diff --git a/includes/tests/static-analysis.yml b/includes/tests/static-analysis.yml
index 31fe5b1..4e11213 100644
--- a/includes/tests/static-analysis.yml
+++ b/includes/tests/static-analysis.yml
@@ -29,7 +29,7 @@ phpstan:
       junit: phpstan-junit.xml
   rules:
     - !reference [.skip-mr, rules]
-    - if: $STRICT_MODE === 0
+    - if: $CI_PROJECT_NAMESPACE =~ /predators/
       allow_failure: true
     - exists:
       - phpstan.neon.dist
@@ -40,7 +40,7 @@ phpcs:
     - vendor/bin/phpcs --warning-severity=0 --report-junit=phpcs-junit.xml --report-full
   rules:
     - !reference [.skip-mr, rules]
-    - if: $STRICT_MODE === 0
+    - if: $CI_PROJECT_NAMESPACE =~ /predators/
       allow_failure: true
     - exists:
       - phpcs.xml.dist
-- 
GitLab