-
Notifications
You must be signed in to change notification settings - Fork 1
/
phpstan.neon
45 lines (40 loc) · 1.38 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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
includes:
- vendor/phpstan/phpstan-deprecation-rules/rules.neon
- vendor/phpstan/phpstan-phpunit/extension.neon
- vendor/phpstan/phpstan-phpunit/rules.neon
- vendor/phpstan/phpstan-strict-rules/rules.neon
- vendor/php-standard-library/phpstan-extension/extension.neon
parameters:
level: max
phpVersion: 80200
tmpDir: tmp/phpstan
paths:
- src
- tests
rules:
- Ergebnis\PHPStan\Rules\Expressions\NoCompactRule
- Ergebnis\PHPStan\Rules\Expressions\NoEvalRule
- Ergebnis\PHPStan\Rules\Methods\FinalInAbstractClassRule
- Ergebnis\PHPStan\Rules\Files\DeclareStrictTypesRule
- Ergebnis\PHPStan\Rules\Methods\PrivateInFinalClassRule
services:
- class: Ergebnis\PHPStan\Rules\Classes\FinalRule
arguments:
allowAbstractClasses: true
classesNotRequiredToBeAbstractOrFinal: []
tags:
- phpstan.rules.rule
- class: Ergebnis\PHPStan\Rules\Classes\NoExtendsRule
arguments:
classesAllowedToBeExtended:
- Exception
- RuntimeException
- Amp\PHPUnit\AsyncTestCase
- Tests\Spec\BenChallis\SqlMigrations\Metadata\MetadataStoreSpec
- Tests\Spec\BenChallis\SqlMigrations\Metadata\SchemaManagerSpec
- Tests\Spec\BenChallis\SqlMigrations\MigrationsSpec
tags:
- phpstan.rules.rule
- class: Ergebnis\PHPStan\Rules\Classes\PHPUnit\Framework\TestCaseWithSuffixRule
tags:
- phpstan.rules.rule