From c809461322dce46dbc696a16a61836b87b00bd9d Mon Sep 17 00:00:00 2001 From: John Oleksowicz Date: Wed, 11 Oct 2023 16:21:10 -0500 Subject: [PATCH] Remove phpstan exception that no longer triggers MAILPOET-5161 --- mailpoet/tasks/phpstan/phpstan-7-baseline.neon | 5 ----- mailpoet/tasks/phpstan/phpstan-8-baseline.neon | 5 ----- mailpoet/tasks/phpstan/phpstan-8.1-baseline.neon | 5 ----- 3 files changed, 15 deletions(-) diff --git a/mailpoet/tasks/phpstan/phpstan-7-baseline.neon b/mailpoet/tasks/phpstan/phpstan-7-baseline.neon index 5be805718e..3d61353d44 100644 --- a/mailpoet/tasks/phpstan/phpstan-7-baseline.neon +++ b/mailpoet/tasks/phpstan/phpstan-7-baseline.neon @@ -85,11 +85,6 @@ parameters: count: 1 path: ../../lib/API/JSON/v1/Segments.php - - - message: "#^Method MailPoet\\\\Analytics\\\\Analytics\\:\\:generateAnalytics\\(\\) should return array\\|null but returns mixed\\.$#" - count: 1 - path: ../../lib/Analytics/Analytics.php - - message: "#^Cannot access offset 'events' on mixed\\.$#" count: 3 diff --git a/mailpoet/tasks/phpstan/phpstan-8-baseline.neon b/mailpoet/tasks/phpstan/phpstan-8-baseline.neon index e4b4e29dec..6344ba95b9 100644 --- a/mailpoet/tasks/phpstan/phpstan-8-baseline.neon +++ b/mailpoet/tasks/phpstan/phpstan-8-baseline.neon @@ -85,11 +85,6 @@ parameters: count: 1 path: ../../lib/API/JSON/v1/Segments.php - - - message: "#^Method MailPoet\\\\Analytics\\\\Analytics\\:\\:generateAnalytics\\(\\) should return array\\|null but returns mixed\\.$#" - count: 1 - path: ../../lib/Analytics/Analytics.php - - message: "#^Cannot access offset 'events' on mixed\\.$#" count: 3 diff --git a/mailpoet/tasks/phpstan/phpstan-8.1-baseline.neon b/mailpoet/tasks/phpstan/phpstan-8.1-baseline.neon index b769a98589..e8fecb2572 100644 --- a/mailpoet/tasks/phpstan/phpstan-8.1-baseline.neon +++ b/mailpoet/tasks/phpstan/phpstan-8.1-baseline.neon @@ -84,11 +84,6 @@ parameters: count: 1 path: ../../lib/API/JSON/v1/Segments.php - - - message: "#^Method MailPoet\\\\Analytics\\\\Analytics\\:\\:generateAnalytics\\(\\) should return array\\|null but returns mixed\\.$#" - count: 1 - path: ../../lib/Analytics/Analytics.php - - message: "#^Cannot access offset 'events' on mixed\\.$#" count: 3