-
-
Notifications
You must be signed in to change notification settings - Fork 5
/
phpstan.neon
34 lines (25 loc) · 1.83 KB
/
phpstan.neon
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
includes:
- ./vendor/larastan/larastan/extension.neon
parameters:
paths:
- src
level: max
ignoreErrors:
- '#Property MichaelRubel\\Formatters\\Exceptions\\(.*)Exception\:\:\$message has no type specified\.#'
- '#Cannot call method (.*) on mixed\.#'
- '#Parameter \#2 \$parameters of function call expects array, mixed given\.#'
- '#Parameter \#1 \$array of function current expects array\|object, mixed given\.#'
- '#Parameter \#1 \$value of function count expects array\|Countable, mixed given\.#'
- '#Property MichaelRubel\\Formatters\\Collection\\DateTimeFormatter\:\:\$timezone \(string\|null\) does not accept mixed\.#'
- '#Cannot call method setTimezone\(\) on Carbon\\CarbonInterface\|string\.#'
- '#Property MichaelRubel\\Formatters\\Collection\\DateFormatter\:\:\$timezone \(string\|null\) does not accept mixed\.#'
- '#Parameter \#1 \$needles of method Illuminate\\Support\\Stringable\:\:startsWith\(\) expects array\<string\>\|string, string\|null given\.#'
- '#Parameter \#3 \$subject of static method Illuminate\\Support\\Str\:\:replace\(\) expects array\<string\>\|string, string\|null given\.#'
- '#(.*)expects string, string\|null given\.#'
- '#Parameter \#1 \$formatter of static method MichaelRubel\\Formatters\\FormatterService\:\:ensureFormatterImplementsInterface\(\) expects object, mixed given\.#'
- '#Call to an undefined method MichaelRubel\\EnhancedContainer\\Core\\CallProxy\:\:format\(\)\.#'
- '#Parameter \#1 \$needles of method Illuminate\\Support\\Stringable\:\:startsWith\(\) expects iterable\<string\>\|string, string\|null given\.#'
checkMissingIterableValueType: false
reportUnmatchedIgnoredErrors: false
checkOctaneCompatibility: true
checkGenericClassInNonGenericObjectType: false