forked from sabbelasichon/typo3-rector
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ecs.yaml
28 lines (23 loc) · 760 Bytes
/
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
parameters:
sets:
- 'psr12'
- 'php70'
- 'php71'
- 'common'
- 'clean-code'
- 'dead-code'
paths:
- 'src'
- 'tests'
services:
# limit line length to 120 chars
Symplify\CodingStandard\Fixer\LineLength\LineLengthFixer: null
PhpCsFixer\Fixer\ControlStructure\YodaStyleFixer: null
# imports FQN names
SlevomatCodingStandard\Sniffs\Namespaces\ReferenceUsedNamesOnlySniff:
searchAnnotations: true
allowFullyQualifiedGlobalFunctions: true
allowFullyQualifiedGlobalConstants: true
allowPartialUses: false
# constants should have @var type, to keep the type same
Symplify\CodingStandard\Sniffs\Commenting\VarConstantCommentSniff: null