Add a fix for PHPStan issue causing polyfills not being loaded

We can remove this fix when the issue is resolved:
https://github.com/phpstan/phpstan/issues/7732

[MAILPOET-4946]
This commit is contained in:
Jan Jakes
2023-03-31 16:06:11 +02:00
committed by Aschepikov
parent ffaa140289
commit 0bf7e5e77f

View File

@@ -939,3 +939,9 @@ parameters:
message: "#^Method MailPoet\\\\Newsletter\\\\NewslettersRepository\\:\\:getStandardNewsletterList\\(\\) should return array\\<MailPoet\\\\Entities\\\\NewsletterEntity\\> but returns mixed\\.$#"
count: 1
path: ../../lib/Newsletter/NewslettersRepository.php
-
# https://github.com/phpstan/phpstan/issues/7732
message: "#^Function str_(\\w+) not found.$#"
count: 4
path: ../../lib/Automation/Integrations/Core/Filters/StringFilter.php