Skip to content

Commit 51a6ab4

Browse files
committed
[PHPStan] Marked TestCriterion errors as ignored
1 parent 3724019 commit 51a6ab4

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

phpstan.neon.dist

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,19 @@ parameters:
1010
message: "#^Cannot call method (fetchOne|fetchAll|fetchAllAssociative|fetchAssociative|fetchAllKeyValue)\\(\\) on Doctrine\\\\DBAL\\\\ForwardCompatibility\\\\Result\\|int\\|string\\.$#"
1111
paths:
1212
- tests/*
13+
-
14+
message: "#^Property Ibexa\\\\Contracts\\\\Core\\\\Repository\\\\Values\\\\Content\\\\Query\\\\Criterion\\:\\:\\$operator \\(string\\) does not accept string\\|null\\.$#"
15+
path: tests/lib/Search/Query/Utils/Stub/TestCriterion.php
16+
17+
-
18+
message: "#^Property Ibexa\\\\Contracts\\\\Core\\\\Repository\\\\Values\\\\Content\\\\Query\\\\Criterion\\:\\:\\$target \\(string\\) does not accept string\\|null\\.$#"
19+
path: tests/lib/Search/Query/Utils/Stub/TestCriterion.php
20+
21+
-
22+
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\\.$#"
23+
path: tests/lib/Search/Query/Utils/Stub/TestCriterion.php
24+
25+
1326
level: 8
1427
paths:
1528
- src

0 commit comments

Comments
 (0)