Skip to content

Commit

Permalink
[PHPStan] Marked TestCriterion errors as ignored
Browse files Browse the repository at this point in the history
  • Loading branch information
ciastektk committed Oct 22, 2024
1 parent 3724019 commit 51a6ab4
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions phpstan.neon.dist
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 51a6ab4

Please sign in to comment.