forked from relaticle/relaticle
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphpstan.neon
More file actions
31 lines (25 loc) · 860 Bytes
/
phpstan.neon
File metadata and controls
31 lines (25 loc) · 860 Bytes
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:
level: 7
ignoreErrors:
# Custom field model type covariance - App\Models\CustomField* extends Relaticle\CustomFields\Models\CustomField*
# Runtime model swapping is configured in AppServiceProvider but PHPStan doesn't know about it
-
identifier: argument.type
message: '#(Closure\(App\\Models\\CustomField|Relaticle\\CustomFields\\Models\\CustomField)(Option|Value|Section)?#'
stubFiles:
- stubs/Mailcoach.stub
paths:
- app
- app-modules
- config
- bootstrap
- database/factories
- routes
excludePaths:
- app-modules/SystemAdmin
configDirectories:
- config
- app-modules/ImportWizard/config
- app-modules/Documentation/config