-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Expand file tree
/
Copy pathphpstan.neon
More file actions
19 lines (17 loc) · 674 Bytes
/
phpstan.neon
File metadata and controls
19 lines (17 loc) · 674 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
includes:
- ./vendor/larastan/larastan/extension.neon
- ./vendor/phpstan/phpstan-webmozart-assert/extension.neon
rules:
- PHPStan\Rules\DeadCode\UnreachableStatementRule
- PHPStan\Rules\DeadCode\UnusedPrivateConstantRule
- PHPStan\Rules\DeadCode\UnusedPrivateMethodRule
parameters:
level: 4
paths:
- app
ignoreErrors:
- '#Call to an undefined method Illuminate\\Database\\Eloquent\\Builder::allowed(\w+)\(\)#'
- '#Call to an undefined method Prologue\\Alerts\\AlertsMessageBag::(success|warning|danger|info)\(\)#'
excludePaths:
- app/Repositories
- app/Extensions/Spatie/Fractalistic/Fractal.php