-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathphpstan.neon
31 lines (28 loc) · 1.05 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
- ./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\(\)#'
#
# excludePaths:
# - ./*/*/FileToBeExcluded.php
#
# checkMissingIterableValueType: false