-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathphpstan.neon
26 lines (25 loc) · 927 Bytes
/
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
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\GroupInterface
- UserFrosting\Sprinkle\Account\Database\Models\Interfaces\UserInterface
- UserFrosting\Sprinkle\Account\Database\Models\Interfaces\RoleInterface
- UserFrosting\Sprinkle\Account\Database\Models\Interfaces\PermissionInterface
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