Skip to content

Commit b92e188

Browse files
committed
Ignore PHPStan mixed types errors
1 parent b761ed4 commit b92e188

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

phpstan.neon

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@ parameters:
1111
ignoreErrors:
1212
- '#Parameter \#1 \$object_or_class of function method_exists expects object\|string, mixed given\.#'
1313
- '#Trying to invoke mixed but it(.*) not a callable\.#'
14+
- '#Method (.*) should return (.*) but returns mixed\.#'
15+
- '#Parameter \#\d+ \$(.*) of method (.*) expects (.*), mixed given\.#'
16+
- '#Parameter \#\d+ \$(.*) of function (.*) expects (.*), mixed given\.#'
17+
- '#Parameter \#2 \.\.\.\$arrays of function array_merge expects array, mixed given\.#'
1418
-
1519
identifier: missingType.iterableValue
1620

0 commit comments

Comments
 (0)