From d6a4b86227ed9a177eb779889d86ee0d5eed910f Mon Sep 17 00:00:00 2001
From: Erick Hitter <git-contrib@ethitter.com>
Date: Sun, 17 Jul 2022 14:47:12 -0700
Subject: [PATCH] Disable unsupport PHP versions

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

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 0254f84..b445375 100755
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -2,12 +2,12 @@ include:
   - remote: https://git-cdn.e15r.co/gitlab/ci/wordpress/-/raw/main/plugins/default.yml
 
 # Plugin does not support 5.6 or 7.0.
-PHPunit:PHP7.0:MySQL:
+PHPunit:PHP5.6:MySQL:
   rules:
-    - if: true
+    - if: $PIPELINE_PHP_5_6 != '1'
       when: never
 
-PHPunit:PHP5.6:MySQL:
+PHPunit:PHP7.0:MySQL:
   rules:
-    - if: true
+    - if: $PIPELINE_PHP_7_0 != '1'
       when: never
-- 
GitLab