-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
39 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
parameters: | ||
ignoreErrors: | ||
- | ||
message: "#^Parameter \\#1 \\$array of function array_intersect expects array, mixed given\\.$#" | ||
count: 1 | ||
path: lib/Qandidate/Toggle/Operator/HasIntersection.php | ||
|
||
- | ||
message: "#^Parameter \\#1 \\$pattern of function preg_match expects string, mixed given\\.$#" | ||
count: 1 | ||
path: lib/Qandidate/Toggle/Operator/MatchesRegex.php | ||
|
||
- | ||
message: "#^Parameter \\#2 \\$subject of function preg_match expects string, mixed given\\.$#" | ||
count: 1 | ||
path: lib/Qandidate/Toggle/Operator/MatchesRegex.php | ||
|
||
- | ||
message: "#^Cannot cast mixed to int\\.$#" | ||
count: 1 | ||
path: lib/Qandidate/Toggle/Operator/Percentage.php | ||
|
||
- | ||
message: "#^Cannot call method getName\\(\\) on mixed\\.$#" | ||
count: 1 | ||
path: lib/Qandidate/Toggle/ToggleCollection/PredisCollection.php | ||
|
||
- | ||
message: "#^Method Qandidate\\\\Toggle\\\\ToggleCollection\\\\PredisCollection\\:\\:all\\(\\) should return array\\<Qandidate\\\\Toggle\\\\Toggle\\> but returns array\\<int\\|string, mixed\\>\\.$#" | ||
count: 1 | ||
path: lib/Qandidate/Toggle/ToggleCollection/PredisCollection.php | ||
|
||
- | ||
message: "#^Method Qandidate\\\\Toggle\\\\ToggleCollection\\\\PredisCollection\\:\\:get\\(\\) should return Qandidate\\\\Toggle\\\\Toggle\\|null but returns mixed\\.$#" | ||
count: 1 | ||
path: lib/Qandidate/Toggle/ToggleCollection/PredisCollection.php | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
includes: | ||
- phpstan-baseline.neon | ||
parameters: | ||
checkMissingIterableValueType: false | ||
checkGenericClassInNonGenericObjectType: false |