-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy patheasy-coding-standard.yml
25 lines (23 loc) · 1.03 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
imports:
- { resource: 'vendor/symplify/easy-coding-standard/config/set/clean-code.yaml' }
- { resource: 'vendor/symplify/easy-coding-standard/config/set/php71.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\Variables\UnusedVariableSniff.UnusedVariable:
- 'Mapping/PullObjectFactory.php'