Commit 0b5d607101e for woocommerce
commit 0b5d607101e12ab30c6880997cd15a5bfede873d
Author: Ján Mikláš <neosinner@gmail.com>
Date: Fri Oct 30 23:02:04 2026 +0100
[Subscriptions Engine] Update PHPStan to 2.3.4 (#70444)
* chore(subscriptions): update PHPStan to 2.3.4
* docs: add PHPStan update changelog
diff --git a/packages/php/woocommerce-subscriptions-engine/changelog/update-phpstan-2-3-4 b/packages/php/woocommerce-subscriptions-engine/changelog/update-phpstan-2-3-4
new file mode 100644
index 00000000000..c0d965ec065
--- /dev/null
+++ b/packages/php/woocommerce-subscriptions-engine/changelog/update-phpstan-2-3-4
@@ -0,0 +1,3 @@
+Significance: patch
+Type: dev
+Comment: Update PHPStan to 2.3.4 for faster static analysis; no production change.
diff --git a/packages/php/woocommerce-subscriptions-engine/tasks/phpstan/composer.json b/packages/php/woocommerce-subscriptions-engine/tasks/phpstan/composer.json
index f033df2291f..73aae0205d3 100644
--- a/packages/php/woocommerce-subscriptions-engine/tasks/phpstan/composer.json
+++ b/packages/php/woocommerce-subscriptions-engine/tasks/phpstan/composer.json
@@ -6,7 +6,7 @@
"php": ">=7.4"
},
"require-dev": {
- "phpstan/phpstan": "^2.2",
+ "phpstan/phpstan": "^2.3.4",
"phpstan/phpstan-phpunit": "^2.0",
"php-stubs/woocommerce-stubs": "^10.8",
"php-stubs/wordpress-tests-stubs": "^7.0",
diff --git a/packages/php/woocommerce-subscriptions-engine/tasks/phpstan/composer.lock b/packages/php/woocommerce-subscriptions-engine/tasks/phpstan/composer.lock
index 1e8a48041a7..b71790ced00 100644
--- a/packages/php/woocommerce-subscriptions-engine/tasks/phpstan/composer.lock
+++ b/packages/php/woocommerce-subscriptions-engine/tasks/phpstan/composer.lock
@@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
- "content-hash": "132ae9762f20fa948d2b8dddd4c2118d",
+ "content-hash": "5cd7c96a39a129e115b6cd4dbc1d2faa",
"packages": [],
"packages-dev": [
{
@@ -145,11 +145,11 @@
},
{
"name": "phpstan/phpstan",
- "version": "2.2.2",
+ "version": "2.3.4",
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/phpstan/phpstan/zipball/e5cc34d491a90e79c216d824f60fe21fd4d93bd6",
- "reference": "e5cc34d491a90e79c216d824f60fe21fd4d93bd6",
+ "url": "https://api.github.com/repos/phpstan/phpstan/zipball/f20ce6f3c82556cfcfc086b152445a12d1d64fff",
+ "reference": "f20ce6f3c82556cfcfc086b152445a12d1d64fff",
"shasum": ""
},
"require": {
@@ -205,7 +205,7 @@
"type": "github"
}
],
- "time": "2026-06-05T09:00:01+00:00"
+ "time": "2026-10-28T22:38:53+00:00"
},
{
"name": "phpstan/phpstan-phpunit",
@@ -339,5 +339,5 @@
"platform-overrides": {
"php": "7.4"
},
- "plugin-api-version": "2.6.0"
+ "plugin-api-version": "2.9.0"
}