Files
piratepoet/tasks/phpstan/phpstan-baseline-unit-tests.neon
Rostislav Wolny 9473579766 Fix type issues in tests
[MAILPOET-3296]
2020-12-07 11:36:01 +01:00

19 lines
569 B
Plaintext

parameters:
ignoreErrors:
-
message: "#^Parameter \\#1 \\$json of function json_decode expects string, string\\|false given\\.$#"
count: 1
path: ../../tests/DataFactories/Newsletter.php
-
message: "#^Parameter \\#3 \\$subject of function preg_replace expects array\\|string, string\\|false given\\.$#"
count: 1
path: ../../tests/_support/Helper/Database.php
-
message: "#^Property MailPoet\\\\Test\\\\WP\\\\ReadmeTest\\:\\:\\$data \\(string\\) does not accept string\\|false\\.$#"
count: 1
path: ../../tests/unit/WP/ReadmeTest.php