-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathphpstan.neon
More file actions
29 lines (24 loc) · 915 Bytes
/
phpstan.neon
File metadata and controls
29 lines (24 loc) · 915 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
includes:
- vendor/nunomaduro/larastan/extension.neon
parameters:
paths:
- app
- config
- database
- routes
# Rule level (0-9, higher is stricter)
level: 5
ignoreErrors:
# Ignore specific Laravel magic methods
- '#Call to an undefined method Illuminate\\Database\\Eloquent\\Builder#'
# Ignore Scout trait (not installed)
- '#Trait "Laravel\\Scout\\Searchable" not found#'
# Ignore missing job classes
- '#Class App\\Jobs\\SyncTacticalRmmAgents was not found#'
- '#Class App\\Jobs\\SyncTacticalRmmAlerts was not found#'
excludePaths:
- app/Providers/TelescopeServiceProvider.php (?)
- app/Livewire/TacticalRmmIntegration.php (?)
- app/Domains/Knowledge/Models/KbArticle.php (?)
# Useful rules for finding dead code
reportUnmatchedIgnoredErrors: false