From 5dea3689e2d20207d0d787880f588437bb1f45b6 Mon Sep 17 00:00:00 2001 From: Erick Hitter <git-contrib@ethitter.com> Date: Thu, 15 May 2025 19:05:34 -0700 Subject: [PATCH 1/2] Set appropriate WP version for older PHP 7.x tests --- plugins/templates/matrix.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/plugins/templates/matrix.yml b/plugins/templates/matrix.yml index 3783ee9..de4757a 100644 --- a/plugins/templates/matrix.yml +++ b/plugins/templates/matrix.yml @@ -3,6 +3,8 @@ PHPunit:PHP7.0:MySQL: image: containers.ethitter.com:443/docker/images/php:7.0 services: - mysql:5.6 + variables: + WP_VERSION: 6.5.5 script: - find . -type "f" -iname "*.php" | xargs -L "1" php -l - phpunit @@ -12,6 +14,8 @@ PHPunit:PHP7.1:MySQL: image: containers.ethitter.com:443/docker/images/php:7.1 services: - mysql:5.6 + variables: + WP_VERSION: 6.5.5 script: - find . -type "f" -iname "*.php" | xargs -L "1" php -l - phpunit -- GitLab From 02978f7b2824283c60772e5442dcd23ccd3701e4 Mon Sep 17 00:00:00 2001 From: Erick Hitter <git-contrib@ethitter.com> Date: Thu, 15 May 2025 19:06:01 -0700 Subject: [PATCH 2/2] Bump PHP version for PHPCS --- plugins/templates/matrix.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/templates/matrix.yml b/plugins/templates/matrix.yml index de4757a..2f56557 100644 --- a/plugins/templates/matrix.yml +++ b/plugins/templates/matrix.yml @@ -68,7 +68,7 @@ PHPunit:PHP8.1:MySQL: PHPCS: stage: test - image: containers.ethitter.com:443/docker/images/php:7.4 + image: containers.ethitter.com:443/docker/images/php:8.2 before_script: - composer global require automattic/vipwpcs - composer global require phpcompatibility/phpcompatibility-wp -- GitLab