This repository has been archived by the owner on Mar 1, 2023. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathphpstan.neon
48 lines (39 loc) · 1.76 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
46
47
48
includes:
- %rootDir%/../../phpstan/phpstan-deprecation-rules/rules.neon
- %rootDir%/../../phpstan/phpstan-mockery/extension.neon
- %rootDir%/../../phpstan/phpstan-phpunit/extension.neon
- %rootDir%/../../phpstan/phpstan-phpunit/rules.neon
- %rootDir%/../../phpstan/phpstan-strict-rules/rules.neon
- %rootDir%/../../thecodingmachine/phpstan-strict-rules/phpstan-strict-rules.neon
- %rootDir%/../../slam/phpstan-extensions/conf/slam-rules.neon
- %rootDir%/../../symplify/phpstan-rules/config/services/services.neon
- %rootDir%/../../symplify/phpstan-rules/config/code-complexity-rules.neon
- %rootDir%/../../symplify/phpstan-rules/config/forbidden-static-rules.neon
- %rootDir%/../../symplify/phpstan-rules/config/generic-rules.neon
- %rootDir%/../../symplify/phpstan-rules/config/naming-rules.neon
- %rootDir%/../../symplify/phpstan-rules/config/regex-rules.neon
- %rootDir%/../../symplify/phpstan-rules/config/size-rules.neon
- %rootDir%/../../symplify/phpstan-rules/config/test-rules.neon
services:
-
class: Symplify\PHPStanRules\Rules\NoArrayStringObjectReturnRule
tags: [phpstan.rules.rule]
-
class: Symplify\PHPStanRules\Rules\NoMultiArrayAssignRule
tags: [phpstan.rules.rule]
-
class: Symplify\PHPStanRules\Rules\ForbiddenArrayDestructRule
tags: [phpstan.rules.rule]
-
class: Symplify\PHPStanRules\Rules\ForbiddenComplexArrayConfigInSetRule
tags: [phpstan.rules.rule]
parameters:
level: max
inferPrivatePropertyTypeFromConstructor: true
paths:
- %currentWorkingDirectory%/src
- %currentWorkingDirectory%/tests
tmpDir: %currentWorkingDirectory%/.build/phpstan
excludes_analyse:
- vendor
ignoreErrors: