diff --git a/phpstan.neon.dist b/phpstan.neon.dist index 38dbaca..cfc16be 100644 --- a/phpstan.neon.dist +++ b/phpstan.neon.dist @@ -10,6 +10,19 @@ parameters: message: "#^Cannot call method (fetchOne|fetchAll|fetchAllAssociative|fetchAssociative|fetchAllKeyValue)\\(\\) on Doctrine\\\\DBAL\\\\ForwardCompatibility\\\\Result\\|int\\|string\\.$#" paths: - tests/* + - + message: "#^Property Ibexa\\\\Contracts\\\\Core\\\\Repository\\\\Values\\\\Content\\\\Query\\\\Criterion\\:\\:\\$operator \\(string\\) does not accept string\\|null\\.$#" + path: tests/lib/Search/Query/Utils/Stub/TestCriterion.php + + - + message: "#^Property Ibexa\\\\Contracts\\\\Core\\\\Repository\\\\Values\\\\Content\\\\Query\\\\Criterion\\:\\:\\$target \\(string\\) does not accept string\\|null\\.$#" + path: tests/lib/Search/Query/Utils/Stub/TestCriterion.php + + - + message: "#^Property Ibexa\\\\Contracts\\\\Core\\\\Repository\\\\Values\\\\Content\\\\Query\\\\Criterion\\:\\:\\$valueData \\(Ibexa\\\\Contracts\\\\Core\\\\Repository\\\\Values\\\\Content\\\\Query\\\\Criterion\\\\Value\\) does not accept Ibexa\\\\Contracts\\\\Core\\\\Repository\\\\Values\\\\Content\\\\Query\\\\Criterion\\\\Value\\|null\\.$#" + path: tests/lib/Search/Query/Utils/Stub/TestCriterion.php + + level: 8 paths: - src