Skip to content

Commit 9c71d6b

Browse files
diegocurbeloa-danae
andcommitted
Update L-2 versions used for PHP tests (#3298)
* Update latest tested versions * Fix PHP CodeSniffer error --------- Co-authored-by: Danae Millan <[email protected]>
1 parent 0ad0cc1 commit 9c71d6b

File tree

7 files changed

+912
-727
lines changed

7 files changed

+912
-727
lines changed

.github/workflows/php-tests.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -16,25 +16,25 @@ jobs:
1616
include:
1717
# WooCommerce
1818
- woocommerce_support_policy: L
19-
woocommerce: '7.8.0'
19+
woocommerce: '9.1.2'
2020
- woocommerce_support_policy: L-1
21-
woocommerce: '7.7.0'
21+
woocommerce: '9.0.2'
2222
- woocommerce_support_policy: L-2
23-
woocommerce: '7.6.1'
23+
woocommerce: '8.9.3'
2424
# WordPress
2525
- wordpress_support_policy: L
26-
wordpress: '6.5'
26+
wordpress: '6.6'
2727
- wordpress_support_policy: L-1
28-
wordpress: '6.4'
28+
wordpress: '6.5'
2929
- wordpress_support_policy: L-2
30-
wordpress: '6.3'
30+
wordpress: '6.4'
3131
# PHP
3232
- php_support_policy: L
33-
php: '8.0'
33+
php: '8.1'
3434
- php_support_policy: L-1
35-
php: '7.4'
35+
php: '8.0'
3636
- php_support_policy: L-2
37-
php: '7.3'
37+
php: '7.4'
3838

3939
name: Stable (PHP=${{ matrix.php_support_policy }}, WP=${{ matrix.wordpress_support_policy }}, WC=${{ matrix.woocommerce_support_policy }})
4040
env:
@@ -57,8 +57,8 @@ jobs:
5757
php-version: ${{ matrix.php }}
5858
coverage: none
5959

60-
- name: If PHP >= 8.0 and >= WP 5.9, set up PHPUnit 9.5 for compatibility
61-
if: ${{ matrix.php >= '8.0' && matrix.wordpress >= '5.9' }}
60+
- name: If PHP >= 8.0 set up PHPUnit 9.5 for compatibility
61+
if: ${{ matrix.php >= '8.0' }}
6262
run: wget https://phar.phpunit.de/phpunit-9.5.13.phar && mv phpunit-9.5.13.phar phpunit.phar
6363

6464
- name: Run CI checks

changelog.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
= 8.5.2 - xxxx-xx-xx =
44
* Fix - Fixed errors when using Link to purchase subscription products that could lead to duplicate payment attempts.
55
* Fix - Prevent failures creating SetupIntents when using a non-saved payment method on the Legacy checkout experience.
6+
* Dev - Bump L-2 versions for PHP tests.
7+
* Dev - Bump WordPress "tested up to" version to 6.6.
68

79
= 8.5.1 - 2024-07-12 =
810
* Fix - Fixed fatal error caused by non-existent class.

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"license": "GPL-2.0-or-later",
66
"config": {
77
"platform": {
8-
"php": "7.3"
8+
"php": "7.4"
99
},
1010
"allow-plugins": {
1111
"dealerdirect/phpcodesniffer-composer-installer": true,

0 commit comments

Comments
 (0)