-
-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathphpstan.neon.dist
More file actions
36 lines (36 loc) · 1.21 KB
/
phpstan.neon.dist
File metadata and controls
36 lines (36 loc) · 1.21 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
35
36
includes:
- vendor/larastan/larastan/extension.neon
parameters:
databaseMigrationsPath:
- database/migrations/
- vendor/orchestra/testbench-core/laravel/migrations/
scanFiles:
- tests/phpstan/FieldWithRoute.php
- tests/phpstan/MetaDataModel.php
configDirectories:
- config/
paths:
- src/
- config/
- database/
- routes/
- tests/User.php
level: 5
checkClassCaseSensitivity: false
checkDynamicProperties: true
checkExplicitMixed: false
checkImplicitMixed: false
checkExplicitMixedMissingReturn: true
checkFunctionNameCase: true
checkInternalClassCaseSensitivity: true
ignoreErrors:
- '#^Unsafe usage of new static#'
- '#should return static\((Cone\\Root\\\S+)\) but returns \1#'
# Illuminate\View\View vs. Illuminate\Contracts\View\View
- '#^Method Cone\\\S+::render\(\) should return Illuminate\\View\\View but returns Illuminate\\Contracts\\View\\View\.$#'
# SoftDeletes
- '#(\$forceDeleting|::withTrashed|::onlyTrashed|::trashed|::restore)#'
-
identifier: property.defaultValue
path: tests/User.php
count: 1