From 669af155a5a40fd4e84fc71ba6c67441624466d9 Mon Sep 17 00:00:00 2001
From: Erick Hitter <git-contrib@ethitter.com>
Date: Mon, 3 Jan 2022 12:01:10 -0800
Subject: [PATCH] Drop PHP 5.3, WP no longer supports it

---
 plugins/templates/before-script.yml |  4 +---
 plugins/templates/matrix.yml        | 11 -----------
 2 files changed, 1 insertion(+), 14 deletions(-)

diff --git a/plugins/templates/before-script.yml b/plugins/templates/before-script.yml
index 18bb6a8..84dacb5 100644
--- a/plugins/templates/before-script.yml
+++ b/plugins/templates/before-script.yml
@@ -9,9 +9,7 @@ before_script:
     elif [[ $(php -v) =~ "PHP 7." ]]; then
       composer global require "phpunit/phpunit=6.1.*"
     elif [[ $(php -v) =~ "PHP 5.6" ]]; then
-      composer global require "phpunit/phpunit=5.4.*"
-    else
-      composer global require "phpunit/phpunit=4.8.*"
+      composer global require "phpunit/phpunit=5.7.*"
     fi
 
   # PHPUnit requirements
diff --git a/plugins/templates/matrix.yml b/plugins/templates/matrix.yml
index 14f6daa..105c9f2 100644
--- a/plugins/templates/matrix.yml
+++ b/plugins/templates/matrix.yml
@@ -1,14 +1,3 @@
-PHPunit:PHP5.3:MySQL:
-  stage: test
-  variables:
-    WP_VERSION: '5.1'
-  image: containers.ethitter.com:443/docker/images/php:5.3
-  services:
-    - mysql:5.6
-  script:
-    - find . -type "f" -iname "*.php" | xargs -L "1" php -l
-    - phpunit
-
 PHPunit:PHP5.6:MySQL:
   stage: test
   image: containers.ethitter.com:443/docker/images/php:5.6
-- 
GitLab