Skip to content

Commit 8dae477

Browse files
authored
Merge pull request #23 from cego/lejo/remove-old-exceptions
Remove old exceptions that is not needed.
2 parents ecce1d2 + 5627c6d commit 8dae477

File tree

1 file changed

+0
-26
lines changed

1 file changed

+0
-26
lines changed

extension.neon

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -3,30 +3,4 @@ includes:
33

44
parameters:
55
level: 8
6-
reportUnmatchedIgnoredErrors: false
76
tmpDir: .phpstan
8-
9-
ignoreErrors:
10-
# Allow illuminate array types in array_merge
11-
- '#Parameter \#1 ...\$arrays of function array_merge expects array, array|Illuminate\Contracts\Support\Arrayable|JsonSerializable given.#'
12-
13-
# Allow magic calls on unique generator
14-
- '#Access to an undefined property Faker\\UniqueGenerator::#'
15-
16-
# Allow arrow functions for collecitons
17-
- '#Parameter \#1 \$callback of method Illuminate\\Support\\Collection\<mixed\,mixed\>\:\:each\(\) expects callable\(mixed\, mixed\)\: bool\|void, Closure#'
18-
- '#Parameter \#1 \$callback of method Illuminate\\Support\\(Collection|LazyCollection).*?\:\:(each|reject|transform|map|filter|only|except|reduce).*?expects.*?(Closure|callable).*?(Closure|callable).*?given#'
19-
20-
# Allow mixed types for collect function
21-
- '#Unable to resolve the template type (TKey|TValue) in call to function collect#'
22-
23-
# Allow collection methods on relationship properties
24-
- '#Cannot call method (each|reject|transform|map|filter|only|except|reduce|count)\(\) on.*Illuminate\\Database\\Eloquent\\Collection#'
25-
26-
# Ignore relationship generics
27-
- '#Generic type Illuminate\\Database\\Eloquent\\Relations\\#'
28-
- '#should return Illuminate\\Database\\Eloquent\\Relations\\.*?but returns.*Illuminate\\Database\\Eloquent\\Relations\\#'
29-
- '#generic class Illuminate\\Database\\Eloquent\\(Builder|Relations\\).*? does not specify its types:#'
30-
31-
# Laravel-Ide-Helper integration
32-
- '#PHPDoc tag @mixin contains unknown class Eloquent#'

0 commit comments

Comments
 (0)