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