-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathecs.yaml
72 lines (55 loc) · 2.09 KB
/
ecs.yaml
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
services:
Symplify\CodingStandard\Sniffs\CleanCode\CognitiveComplexitySniff:
maxCognitiveComplexity: 12
Symplify\CodingStandard\Sniffs\Commenting\AnnotationTypeExistsSniff: ~
Symplify\CodingStandard\Fixer\Commenting\ParamReturnAndVarTagMalformsFixer: ~
Symplify\CodingStandard\Sniffs\Architecture\PreferredClassSniff:
oldToPreferredClasses:
DateTime: 'DateTimeImmutable'
Symplify\CodingStandard\Fixer\ArrayNotation\StandaloneLineInMultilineArrayFixer: ~
Symplify\CodingStandard\Fixer\Commenting\RemoveEmptyDocBlockFixer: ~
Symplify\CodingStandard\Fixer\Commenting\RemoveSuperfluousDocBlockWhitespaceFixer: ~
Symplify\CodingStandard\Fixer\ControlStructure\PregDelimiterFixer:
delimiter: '~'
Symplify\CodingStandard\Fixer\ControlStructure\RequireFollowedByAbsolutePathFixer: ~
Symplify\CodingStandard\Fixer\LineLength\LineLengthFixer:
max_line_length: 140
break_long_lines: true
inline_short_lines: false
Symplify\CodingStandard\Sniffs\CleanCode\ForbiddenReferenceSniff: ~
Symplify\CodingStandard\Sniffs\ControlStructure\ForbiddenDoubleAssignSniff: ~
Symplify\CodingStandard\Sniffs\Debug\DebugFunctionCallSniff: ~
SlevomatCodingStandard\Sniffs\Namespaces\RequireOneNamespaceInFileSniff: ~
SlevomatCodingStandard\Sniffs\Namespaces\NamespaceDeclarationSniff: ~
SlevomatCodingStandard\Sniffs\Namespaces\ReferenceUsedNamesOnlySniff:
searchAnnotations: true
PhpCsFixer\Fixer\ClassNotation\OrderedClassElementsFixer:
order:
- 'use_trait'
- 'constant_public'
- 'constant_protected'
- 'constant_private'
- 'property_public_static'
- 'property_public'
- 'property_protected_static'
- 'property_protected'
- 'property_private_static'
- 'property_private'
- 'method_public_static'
- 'method_public'
- 'method_protected_static'
- 'method_protected'
- 'method_private_static'
- 'method_private'
parameters:
sets:
- 'clean-code'
- 'psr12'
- 'php70'
- 'php71'
- 'common'
- 'dead-code'
indentation: 'tab'
file_extensions:
- 'php'
- 'phpt'