This repository has been archived by the owner on May 28, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
/
ecs.yml
84 lines (70 loc) · 3.64 KB
/
ecs.yml
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
73
74
75
76
77
78
79
80
81
82
83
84
imports:
- { resource: 'vendor/symplify/easy-coding-standard/config/php71.yml' }
- { resource: 'vendor/symplify/easy-coding-standard/config/psr2.yml' }
- { resource: 'vendor/symplify/easy-coding-standard/config/psr12.yml' }
- { resource: 'ecs-comment.yml' }
services:
PhpCsFixer\Fixer\Alias\NoAliasFunctionsFixer: ~
PhpCsFixer\Fixer\Alias\RandomApiMigrationFixer: ~
PhpCsFixer\Fixer\ArrayNotation\ArraySyntaxFixer:
syntax: short
PhpCsFixer\Fixer\ArrayNotation\NoMultilineWhitespaceAroundDoubleArrowFixer: ~
PhpCsFixer\Fixer\ArrayNotation\NoTrailingCommaInSinglelineArrayFixer: ~
PhpCsFixer\Fixer\ArrayNotation\NoWhitespaceBeforeCommaInArrayFixer: ~
PhpCsFixer\Fixer\ArrayNotation\TrailingCommaInMultilineArrayFixer: ~
PhpCsFixer\Fixer\ArrayNotation\TrimArraySpacesFixer: ~
PhpCsFixer\Fixer\ArrayNotation\WhitespaceAfterCommaInArrayFixer: ~
PhpCsFixer\Fixer\Basic\BracesFixer: ~
PhpCsFixer\Fixer\Basic\Psr4Fixer: ~
PhpCsFixer\Fixer\CastNotation\CastSpacesFixer:
space: 'none'
PhpCsFixer\Fixer\ClassNotation\OrderedClassElementsFixer: ~
PhpCsFixer\Fixer\ClassNotation\ProtectedToPrivateFixer: ~
PhpCsFixer\Fixer\ControlStructure\NoUselessElseFixer: ~
PhpCsFixer\Fixer\ControlStructure\YodaStyleFixer:
equal: false
identical: false
less_and_greater: false
PhpCsFixer\Fixer\FunctionNotation\ImplodeCallFixer: ~
PhpCsFixer\Fixer\FunctionNotation\NoUnreachableDefaultArgumentValueFixer: ~
PhpCsFixer\Fixer\FunctionNotation\PhpdocToReturnTypeFixer: ~
PhpCsFixer\Fixer\FunctionNotation\StaticLambdaFixer: ~
PhpCsFixer\Fixer\FunctionNotation\VoidReturnFixer: ~
PhpCsFixer\Fixer\Import\NoUnusedImportsFixer: ~
PhpCsFixer\Fixer\Import\OrderedImportsFixer: ~
PhpCsFixer\Fixer\NamespaceNotation\BlankLineAfterNamespaceFixer: ~
PhpCsFixer\Fixer\NamespaceNotation\NoLeadingNamespaceWhitespaceFixer: ~
PhpCsFixer\Fixer\NamespaceNotation\SingleBlankLineBeforeNamespaceFixer: ~
PhpCsFixer\Fixer\Operator\BinaryOperatorSpacesFixer:
align_double_arrow: true
PhpCsFixer\Fixer\Operator\ConcatSpaceFixer:
spacing: 'one'
PhpCsFixer\Fixer\Operator\TernaryToNullCoalescingFixer: ~
PhpCsFixer\Fixer\StringNotation\SingleQuoteFixer: ~
PhpCsFixer\Fixer\ReturnNotation\NoUselessReturnFixer: ~
PhpCsFixer\Fixer\ReturnNotation\ReturnAssignmentFixer: ~
PhpCsFixer\Fixer\Whitespace\ArrayIndentationFixer: ~
PhpCsFixer\Fixer\Whitespace\BlankLineBeforeStatementFixer:
statements: ['return']
PhpCsFixer\Fixer\Whitespace\IndentationTypeFixer: ~
PhpCsFixer\Fixer\Whitespace\LineEndingFixer: ~
PhpCsFixer\Fixer\Whitespace\MethodChainingIndentationFixer: ~
PhpCsFixer\Fixer\Whitespace\NoExtraBlankLinesFixer: ~
PhpCsFixer\Fixer\Whitespace\NoSpacesAroundOffsetFixer: ~
PhpCsFixer\Fixer\Whitespace\NoSpacesInsideParenthesisFixer: ~
PhpCsFixer\Fixer\Whitespace\NoTrailingWhitespaceFixer: ~
PhpCsFixer\Fixer\Whitespace\NoWhitespaceInBlankLineFixer: ~
PhpCsFixer\Fixer\Whitespace\SingleBlankLineAtEofFixer: ~
Symplify\CodingStandard\Fixer\ArrayNotation\StandaloneLineInMultilineArrayFixer: ~
Symplify\CodingStandard\Fixer\LineLength\LineLengthFixer: ~
Symplify\CodingStandard\Sniffs\Debug\DebugFunctionCallSniff: ~
parameters:
skip:
SlevomatCodingStandard\Sniffs\TypeHints\TypeHintDeclarationSniff.MissingTraversableReturnTypeHintSpecification: ~
SlevomatCodingStandard\Sniffs\TypeHints\TypeHintDeclarationSniff.MissingTraversableParameterTypeHintSpecification: ~
SlevomatCodingStandard\Sniffs\TypeHints\TypeHintDeclarationSniff.MissingTraversablePropertyTypeHintSpecification: ~
PhpCsFixer\Fixer\Strict\DeclareStrictTypesFixer: ~
exclude_files:
- '/var/*'
- '/vendor/*'
- '/phpstan-autoload.php'