-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathphpstan.neon
30 lines (29 loc) · 1.23 KB
/
phpstan.neon
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
parameters:
level: 8
paths:
- app/src/
- app/tests/
reportUnmatchedIgnoredErrors: false
ignoreErrors:
- '#Dynamic call to static method PHPUnit\\Framework\\.*#'
- '#Call to an undefined method Mockery\\Expectation::.*#'
universalObjectCratesClasses:
- UserFrosting\Sprinkle\Account\Database\Models\Interfaces\ActivityInterface
- UserFrosting\Sprinkle\Account\Database\Models\Interfaces\GroupInterface
- UserFrosting\Sprinkle\Account\Database\Models\Interfaces\PasswordResetInterface
- UserFrosting\Sprinkle\Account\Database\Models\Interfaces\PermissionInterface
- UserFrosting\Sprinkle\Account\Database\Models\Interfaces\PersistenceInterface
- UserFrosting\Sprinkle\Account\Database\Models\Interfaces\RoleInterface
- UserFrosting\Sprinkle\Account\Database\Models\Interfaces\UserInterface
- UserFrosting\Sprinkle\Account\Database\Models\Interfaces\VerificationInterface
includes:
- phpstan-baseline.neon
- vendor/phpstan/phpstan-strict-rules/rules.neon
- vendor/phpstan/phpstan-deprecation-rules/rules.neon
- vendor/phpstan/phpstan-mockery/extension.neon
- vendor/phpstan/phpstan-phpunit/extension.neon
services:
-
class: SlamPhpStan\UnusedVariableRule
tags:
- phpstan.rules.rule