-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphpstan.neon
More file actions
34 lines (31 loc) · 1.19 KB
/
Copy pathphpstan.neon
File metadata and controls
34 lines (31 loc) · 1.19 KB
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
34
includes:
- ./vendor/larastan/larastan/extension.neon
- ./vendor/phpstan/phpstan-mockery/extension.neon
- ./vendor/phpstan/phpstan-phpunit/extension.neon
parameters:
tmpDir: storage/framework/cache
paths:
- ./app
- ./artisan
- ./bootstrap
- ./database
- ./public
- ./resources
- ./tests
# Level 9 is the highest level
level: 7
ignoreErrors: # All these errors are weird to fix. We will do that lastly,
- '#Static call to instance method App\\Services\\Transformers\\Facades\\MeteringPointTransformer::#'
- '#does not accept default value of type#'
- '#Unable to resolve the template type TKey in call to function collect#'
- '#Unable to resolve the template type TValue in call to function collect#'
- '#no value type specified in iterable type array#'
- '#Call to an undefined method Mockery\\Expectation\:\:shouldReceive\(\)#'
-
message: '#should return Illuminate\\Database\\Eloquent\\Relations\\HasMany.+but returns#'
reportUnmatched: false
#
# excludePaths:
# - ./*/*/FileToBeExcluded.php
#
# checkMissingIterableValueType: false