forked from laravel/laravel
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathphpstan.neon.dist
33 lines (31 loc) · 1.2 KB
/
phpstan.neon.dist
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
- vendor/phpstan/phpstan-mockery/extension.neon
parameters:
mixinExcludeClasses:
- Eloquent
level: 8
paths:
- app
- tests
scanFiles:
- _ide_helper.php
excludePaths:
- vendor
ignoreErrors:
-
message: '#has no return type(hint)? specified#'
paths:
- tests
- '#Access to an undefined property App\\Models\\.+::\$pivot.$#'
- '#Access to undefined constant Illuminate\\Http\\Request::#'
- '#Call to an undefined method Faker\\Generator::#'
- '#Call to an undefined method Illuminate\\Contracts\\Auth\\Guard::#'
- '#Call to an undefined method Illuminate\\Http\\Request::#'
- '#Call to an undefined static method Illuminate\\Support\\Arr::#'
- '#Call to an undefined static method Illuminate\\Support\\Facades\\#'
- '#Call to an undefined static method Illuminate\\Support\\Js::#'
- '#Call to an undefined static method Illuminate\\Support\\Str::#'
- '#expects Symfony\\Component\\HttpFoundation\\Request, Illuminate\\Http\\Request given#'
- '#expects Symfony\\Component\\HttpFoundation\\Response, Illuminate\\Http\\Response given#'
reportUnmatchedIgnoredErrors: false