-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathphpstan.neon
26 lines (24 loc) · 864 Bytes
/
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
includes:
- ./vendor/nunomaduro/larastan/extension.neon
parameters:
level: 8
checkMissingIterableValueType: false
checkGenericClassInNonGenericObjectType: false
treatPhpDocTypesAsCertain: false
paths:
- app
- tests/TestHttpClient.php
excludePaths:
- app/Importing/tests
ignoreErrors:
-
message: '#Class .* has an uninitialized readonly property \$.*\. Assign it in the constructor\.#'
paths:
- 'app/*'
-
message: '#Unable to resolve the template type TKey in call to function collect#'
-
message: '#Unable to resolve the template type TValue in call to function collect#'
-
message: '#Access to an undefined property App\\Models\\[a-zA-Z0-9\\_]+::\$[a-zA-Z0-9\\_]+\.#'
path: 'app/*'