Commit 1be64a3370e for woocommerce

commit 1be64a3370e49262df7f273fc16743acc768a99c
Author: daledupreez <dale@automattic.com>
Date:   Fri Jun 19 21:03:46 2026 +0200

    Fix linting issues in woocommerce-subscriptions-engine (#65878)

    * Address PHPCS issues
    * Changelog

diff --git a/packages/php/woocommerce-subscriptions-engine/changelog/fix-linting-issues-in-core-entities b/packages/php/woocommerce-subscriptions-engine/changelog/fix-linting-issues-in-core-entities
new file mode 100644
index 00000000000..13180ea8b6d
--- /dev/null
+++ b/packages/php/woocommerce-subscriptions-engine/changelog/fix-linting-issues-in-core-entities
@@ -0,0 +1,4 @@
+Significance: patch
+Type: dev
+
+Fix PHPDoc formatting issues that were flagged as linting problems
diff --git a/packages/php/woocommerce-subscriptions-engine/src/Core/Entity/Contract.php b/packages/php/woocommerce-subscriptions-engine/src/Core/Entity/Contract.php
index e3c794fad4b..b3783ee8a91 100644
--- a/packages/php/woocommerce-subscriptions-engine/src/Core/Entity/Contract.php
+++ b/packages/php/woocommerce-subscriptions-engine/src/Core/Entity/Contract.php
@@ -245,28 +245,7 @@ final class Contract {
 	/**
 	 * Build a new, unsaved contract.
 	 *
-	 * @param array{
-	 *     customer_id: int,
-	 *     currency: string,
-	 *     selling_plan_id: int,
-	 *     origin_order_id: int,
-	 *     start_gmt: string,
-	 *     status?: string,
-	 *     extension_slug?: string,
-	 *     payment_method?: string,
-	 *     payment_method_title?: string,
-	 *     payment_token_id?: int,
-	 *     billing_total: string,
-	 *     discount_total?: string,
-	 *     shipping_total?: string,
-	 *     tax_total?: string,
-	 *     next_payment_gmt?: string,
-	 *     trial_end_gmt?: string,
-	 *     schedule_source: string,
-	 *     items: array<int, array<string, mixed>>,
-	 *     addresses: array{ billing: array<string, mixed>, shipping: array<string, mixed> },
-	 *     meta: array<string, string>,
-	 * } $args Contract attributes.
+	 * @param array<string, mixed> $args Contract attributes.
 	 * @throws DomainException If the contract attributes are not valid.
 	 */
 	public static function create( array $args ): self {
diff --git a/packages/php/woocommerce-subscriptions-engine/src/Core/Entity/Plan.php b/packages/php/woocommerce-subscriptions-engine/src/Core/Entity/Plan.php
index af493385e34..318f6546083 100644
--- a/packages/php/woocommerce-subscriptions-engine/src/Core/Entity/Plan.php
+++ b/packages/php/woocommerce-subscriptions-engine/src/Core/Entity/Plan.php
@@ -140,17 +140,8 @@ final class Plan {
 	/**
 	 * Build a new, unsaved plan.
 	 *
-	 * @param int    $group_id Parent plan group id.
-	 * @param array{
-	 *     name: string,
-	 *     billing_policy: BillingPolicy,
-	 *     description?: string,
-	 *     options?: array<int, mixed>,
-	 *     delivery_policy?: DeliveryPolicy,
-	 *     pricing_policy?: PricingPolicy,
-	 *     category: string,
-	 *     extension_slug?: string,
-	 * } $args     Plan attributes.
+	 * @param int                  $group_id Parent plan group id.
+	 * @param array<string, mixed> $args     Plan attributes.
 	 * @throws InvalidArgumentException If pricing_policy entries fail validation.
 	 */
 	public static function create( int $group_id, array $args ): self {
diff --git a/packages/php/woocommerce-subscriptions-engine/src/Core/Entity/PlanGroup.php b/packages/php/woocommerce-subscriptions-engine/src/Core/Entity/PlanGroup.php
index 6c70048c57d..aabb692933b 100644
--- a/packages/php/woocommerce-subscriptions-engine/src/Core/Entity/PlanGroup.php
+++ b/packages/php/woocommerce-subscriptions-engine/src/Core/Entity/PlanGroup.php
@@ -78,12 +78,7 @@ final class PlanGroup {
 	/**
 	 * Build a new, unsaved group.
 	 *
-	 * @param array{
-	 *     name: string,
-	 *     merchant_code?: string|null,
-	 *     options_display?: array<int, mixed>,
-	 *     app_id?: string|null,
-	 * } $args Group attributes.
+	 * @param array<string, mixed> $args Group attributes.
 	 */
 	public static function create( array $args ): self {
 		return new self(