-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpstan.neon.dist
16 lines (14 loc) · 990 Bytes
/
phpstan.neon.dist
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
parameters:
paths:
- src
# The level 9 is the highest level
level: 8
reportUnmatchedIgnoredErrors: false
ignoreErrors:
- identifier: missingType.iterableValue
- identifier: missingType.generics
- message: '#Method Astrotomic\\Tmdb\\Collections\\\w+Collection::fromArray\(\) should return Astrotomic\\Tmdb\\Collections\\\w+Collection but returns Illuminate\\Support\\Collection<int, Astrotomic\\Tmdb\\Data\\\w+>.#'
- message: '#Method Astrotomic\\Tmdb\\Collections\\\w+Collection::fromArray\(\) should return Astrotomic\\Tmdb\\Collections\\\w+Collection but returns Illuminate\\Support\\Collection<string, Astrotomic\\Tmdb\\Data\\\w+>.#'
- message: '#Method Astrotomic\\Tmdb\\Collections\\\w+Collection::fromArray\(\) should return Astrotomic\\Tmdb\\Collections\\\w+Collection but returns Illuminate\\Support\\Collection<\(int\|string\), Astrotomic\\Tmdb\\Data\\\w+>.#'
paths:
- src/Collections/*