Commit 9b7414e0eab for woocommerce
commit 9b7414e0eab4dbf394716f707db034882e1c320f
Author: daledupreez <dale@automattic.com>
Date: Tue Jun 23 19:33:23 2026 +0200
Require PHPStan checks for woocommerce-subscriptions-engine CI (#65945)
* Make PHPStan checks required
* Changelog
diff --git a/packages/php/woocommerce-subscriptions-engine/changelog/update-woosubs-engine-make-phpstan-ci-required b/packages/php/woocommerce-subscriptions-engine/changelog/update-woosubs-engine-make-phpstan-ci-required
new file mode 100644
index 00000000000..89395baa76e
--- /dev/null
+++ b/packages/php/woocommerce-subscriptions-engine/changelog/update-woosubs-engine-make-phpstan-ci-required
@@ -0,0 +1,4 @@
+Significance: patch
+Type: dev
+
+Mark PHPStan workflows as required for CI
diff --git a/packages/php/woocommerce-subscriptions-engine/package.json b/packages/php/woocommerce-subscriptions-engine/package.json
index 436a2d7e124..983a2ac39b2 100644
--- a/packages/php/woocommerce-subscriptions-engine/package.json
+++ b/packages/php/woocommerce-subscriptions-engine/package.json
@@ -58,7 +58,6 @@
"name": "PHPStan: PHP 7.4",
"testType": "static:analysis",
"command": "phpstan:php7",
- "optional": true,
"changes": [
"**/*.php",
"**/*.neon",
@@ -73,7 +72,6 @@
"name": "PHPStan: PHP 8.4",
"testType": "static:analysis",
"command": "phpstan:php8",
- "optional": true,
"changes": [
"**/*.php",
"**/*.neon",