forked from Jexactyl/Jexactyl
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathphpstan.neon
More file actions
37 lines (26 loc) · 1.18 KB
/
Copy pathphpstan.neon
File metadata and controls
37 lines (26 loc) · 1.18 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
37
includes:
- ./vendor/larastan/larastan/extension.neon
- ./phpstan-baseline.neon
parameters:
paths:
- app/
# Level 9 is the highest level
level: 4
reportUnmatchedIgnoredErrors: false
ignoreErrors:
# Ignore repository interface missing methods
- '#Call to an undefined method Everest\\Repositories\\Wings\\DaemonRepository::(\w+)\(\)#'
# Ignore magic spatie query-builder calls (allowedFilters/allowedSorts/…),
# including on generic Builder<Model> receivers.
- '#Call to an undefined method Illuminate\\Database\\Eloquent\\Builder(\<[^>]+\>)?::allowed(\w+)\(\)#'
# scopedMigrator() returns an anonymous Migrator subclass that defines
# rollbackOnly(); PHPStan only sees the parent Migrator type.
- '#Call to an undefined method Illuminate\\Database\\Migrations\\Migrator::rollbackOnly\(\)#'
excludePaths:
- app/Repositories
# Optional, runtime-installed extension packages (gitignored plugin code).
- app/Extensions/Packages
# More magic spatie to be replaced
- app/Extensions/Spatie/Fractalistic/Fractal.php
#
# checkMissingIterableValueType: false