forked from GitLabPHP/Client
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathphpstan.neon.dist
22 lines (20 loc) · 876 Bytes
/
phpstan.neon.dist
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
includes:
- phpstan-baseline.neon
- vendor-bin/phpstan/vendor/phpstan/phpstan-deprecation-rules/rules.neon
- vendor-bin/phpstan/vendor/phpstan/phpstan-strict-rules/rules.neon
- vendor-bin/phpstan/vendor/thecodingmachine/phpstan-strict-rules/phpstan-strict-rules.neon
rules:
- Ergebnis\PHPStan\Rules\Closures\NoNullableReturnTypeDeclarationRule
- Ergebnis\PHPStan\Rules\Expressions\NoCompactRule
- Ergebnis\PHPStan\Rules\Expressions\NoEmptyRule
- Ergebnis\PHPStan\Rules\Expressions\NoEvalRule
- Ergebnis\PHPStan\Rules\Files\DeclareStrictTypesRule
- Ergebnis\PHPStan\Rules\Methods\PrivateInFinalClassRule
parameters:
level: max
checkMissingIterableValueType: false
paths:
- src
ignoreErrors:
- '#Only booleans are allowed in an if condition#'
- '#PHPDoc tag \@var above a method has no effect.#'