generated from michael-rubel/laravel-package-template
-
-
Notifications
You must be signed in to change notification settings - Fork 16
/
phpstan.neon
31 lines (24 loc) · 1.5 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
includes:
- ./vendor/larastan/larastan/extension.neon
parameters:
paths:
- src
level: max
ignoreErrors:
- '#Cannot call method (.*) on mixed\.#'
- '#Property (.*) does not accept mixed\.#'
- '#Method (.*) should return (.*) but returns mixed\.#'
- '#Parameter (.*), mixed given.#'
- '#Unsafe usage of new static\(\)\.#'
- '#Cannot cast mixed to string\.#'
- '#Parameter \#1 \$string of function str expects string\|null, int\|string\|null given\.#'
- '#Method MichaelRubel\\ValueObjects\\Collection\\Complex\\Email\:\:domain\(\) should return string but returns string\|null\.#'
- '#Method MichaelRubel\\ValueObjects\\Collection\\Complex\\Email\:\:username\(\) should return string but returns string\|null\.#'
- '#Method MichaelRubel\\ValueObjects\\Collection\\Complex\\FullName\:\:firstName\(\) should return string but returns string\|null\.#'
- '#Method MichaelRubel\\ValueObjects\\Collection\\Complex\\FullName\:\:lastName\(\) should return string but returns string\|null\.#'
- '#Parameter \#1 \$value of class Illuminate\\Support\\Stringable constructor expects string, int\|string given\.#'
- '#Parameter \#1 \$string of function str expects string\|null, float given\.#'
- '#Parameter \#1 \$string of function str expects string\|null, float\|int\|string\|null given\.#'
checkMissingIterableValueType: false
reportUnmatchedIgnoredErrors: false
checkOctaneCompatibility: true