Commit 484cfc8c6f for woocommerce
commit 484cfc8c6f2ce9402dffbf43acaebcf6ed1c56ac
Author: Vladimir Reznichenko <kalessil@gmail.com>
Date: Thu Jan 8 09:32:52 2026 +0100
[dev] CI: switch to PHP 8.5 where applicable (#62650)
diff --git a/plugins/woocommerce/changelog/dev-ci-php-8.5-environment b/plugins/woocommerce/changelog/dev-ci-php-8.5-environment
new file mode 100644
index 0000000000..32c7d8db0c
--- /dev/null
+++ b/plugins/woocommerce/changelog/dev-ci-php-8.5-environment
@@ -0,0 +1,4 @@
+Significance: patch
+Type: dev
+
+CI: Update the latest PHP version in use to 8.5
diff --git a/plugins/woocommerce/package.json b/plugins/woocommerce/package.json
index ecbf0480d8..2b49ddb46d 100644
--- a/plugins/woocommerce/package.json
+++ b/plugins/woocommerce/package.json
@@ -120,7 +120,7 @@
},
"tests": [
{
- "name": "PHP: 8.4 WP: latest",
+ "name": "PHP: 8.5 WP: latest",
"testType": "unit:php",
"command": "test:php:env",
"shardingArguments": [
@@ -139,18 +139,18 @@
"testEnv": {
"start": "env:test",
"config": {
- "phpVersion": "8.4",
+ "phpVersion": "8.5",
"wpVersion": "latest"
}
},
"events": [
"pull_request",
"push",
- "php-unit-php-8.4-wp-latest"
+ "php-unit-php-8.5-wp-latest"
]
},
{
- "name": "PHP: 8.4 WP: latest - Legacy MiniCart",
+ "name": "PHP: 8.5 WP: latest - Legacy MiniCart",
"testType": "unit:php",
"command": "test:php:legacy-mini-cart",
"shardingArguments": [
@@ -169,7 +169,7 @@
"testEnv": {
"start": "env:test",
"config": {
- "phpVersion": "8.4",
+ "phpVersion": "8.5",
"wpVersion": "latest"
}
},
@@ -407,7 +407,7 @@
}
},
{
- "name": "Core e2e tests - PHP 8.4",
+ "name": "Core e2e tests - PHP 8.5",
"testType": "e2e",
"command": "test:e2e",
"shardingArguments": [
@@ -426,17 +426,17 @@
"testEnv": {
"start": "env:test",
"config": {
- "phpVersion": "8.4"
+ "phpVersion": "8.5"
}
},
"events": [
"pull_request",
"nightly-checks",
"release-checks",
- "core-e2e-php-8.4"
+ "core-e2e-php-8.5"
],
"report": {
- "resultsBlobName": "core-e2e-report-php-8.4",
+ "resultsBlobName": "core-e2e-report-php-8.5",
"resultsPath": "tests/e2e-pw/test-results",
"allure": true
}
@@ -580,7 +580,7 @@
}
},
{
- "name": "PHP: 8.4 WP: latest (HPOS:off)",
+ "name": "PHP: 8.5 WP: latest (HPOS:off)",
"testType": "unit:php",
"command": "test:php:env:hpos-off",
"shardingArguments": [
@@ -599,14 +599,14 @@
"testEnv": {
"start": "env:test",
"config": {
- "phpVersion": "8.4",
+ "phpVersion": "8.5",
"wpVersion": "latest"
}
},
"events": [
"pull_request",
"push",
- "php-unit-php-8.4-wp-latest-hpos-off"
+ "php-unit-php-8.5-wp-latest-hpos-off"
]
},
{