-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphpstan.neon
More file actions
19 lines (19 loc) · 728 Bytes
/
phpstan.neon
File metadata and controls
19 lines (19 loc) · 728 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
parameters:
level: 5
paths:
- app
- core
excludePaths:
- vendor/*
- tests/*
ignoreErrors:
# Eloquent ORM static methods - these are dynamically available via magic methods
- '#Call to an undefined static method App\\Models\\.+::(find|where|create|update|delete|first|get|all|orderBy|max|truncate|updateOrCreate|firstOrCreate|exists|leftjoin|leftJoin)\(\)#'
# Pecee SimpleRouter properties
- '#Access to an undefined property Pecee\\Http\\Request::\$authenticated#'
# Array offset warnings
- '#Offset .+ on array.*on left side of \?\? always exists#'
scanDirectories:
- vendor
scanFiles:
- tests/bootstrap.php