-
-
Notifications
You must be signed in to change notification settings - Fork 26
/
easy-coding-standard.yml
28 lines (26 loc) · 1.22 KB
/
easy-coding-standard.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
imports:
- { resource: 'vendor/symplify/easy-coding-standard/config/set/clean-code.yaml' }
- { resource: 'vendor/symplify/easy-coding-standard/config/set/php71.yaml' }
- { resource: 'vendor/symplify/easy-coding-standard/config/set/symfony.yaml' }
services:
PhpCsFixer\Fixer\Operator\BinaryOperatorSpacesFixer:
align_equals: true
align_double_arrow: true
parameters:
exclude_checkers:
- 'PhpCsFixer\Fixer\Operator\NotOperatorWithSuccessorSpaceFixer'
- 'Symplify\CodingStandard\Fixer\Commenting\RemoveUselessDocBlockFixer'
- 'PhpCsFixer\Fixer\Import\OrderedImportsFixer'
exclude_files:
- 'vendor/*'
skip:
PhpCsFixer\Fixer\ArraNotation\TrailingCommaInMultilineArrayFixer:
- 'Config/config.php' # Forces us to do not use full path class names
SlevomatCodingStandard\Sniffs\TypeHints\TypeHintDeclarationSniff.MissingParameterTypeHint:
- 'Tests/*'
SlevomatCodingStandard\Sniffs\TypeHints\TypeHintDeclarationSniff.MissingPropertyTypeHint:
- 'Tests/*'
SlevomatCodingStandard\Sniffs\Classes\UnusedPrivateElementsSniff.UnusedMethod:
- 'Connection/Client.php'
SlevomatCodingStandard\Sniffs\Classes\UnusedPrivateElementsSniff.WriteOnlyProperty:
- 'Connection/Client.php'