-
-
Notifications
You must be signed in to change notification settings - Fork 59
Expand file tree
/
Copy pathphpstan.neon.dist
More file actions
25 lines (24 loc) · 897 Bytes
/
phpstan.neon.dist
File metadata and controls
25 lines (24 loc) · 897 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
includes:
- vendor/larastan/larastan/extension.neon
parameters:
paths:
- src/
- config/
- database/
- routes/
databaseMigrationsPath:
- database/migrations/
- vendor/orchestra/testbench-core/laravel/migrations/
level: 5
checkMissingIterableValueType: false
ignoreErrors:
- '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model::#'
# Incorrect framework types
-
path: 'src/Traits/HasPrices.php'
message: '#^Parameter \#2 \$type of method Illuminate\\Database\\Eloquent\\Model::getMorphs\(\) expects string, null given\.$#'
count: 2
-
path: 'src/Traits/HasPrices.php'
message: '#^Parameter \#3 \$id of method Illuminate\\Database\\Eloquent\\Model::getMorphs\(\) expects string, null given\.$#'
count: 2