-
Notifications
You must be signed in to change notification settings - Fork 6
/
easy-coding-standard.yml
50 lines (47 loc) · 2.56 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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
imports:
- { resource: 'vendor/symplify/easy-coding-standard/config/set/psr12.yaml' }
- { resource: 'vendor/symplify/easy-coding-standard/config/set/symfony.yaml' }
- { resource: 'vendor/symplify/easy-coding-standard/config/set/common/array.yaml' }
- { resource: 'vendor/symplify/easy-coding-standard/config/set/common/control-structures.yaml' }
- { resource: 'vendor/symplify/easy-coding-standard/config/set/common/strict.yaml' }
services:
PhpCsFixer\Fixer\Alias\MbStrFunctionsFixer: ~
PhpCsFixer\Fixer\CastNotation\ModernizeTypesCastingFixer: ~
PhpCsFixer\Fixer\ClassNotation\ClassAttributesSeparationFixer:
elements: ['property', 'method']
PhpCsFixer\Fixer\FunctionNotation\VoidReturnFixer: ~
PhpCsFixer\Fixer\Operator\ConcatSpaceFixer:
spacing: 'one'
PhpCsFixer\Fixer\Phpdoc\GeneralPhpdocAnnotationRemoveFixer:
annotations: ['copyright', 'category']
PhpCsFixer\Fixer\Phpdoc\NoSuperfluousPhpdocTagsFixer: ~
PhpCsFixer\Fixer\Phpdoc\PhpdocOrderFixer: ~
PhpCsFixer\Fixer\PhpUnit\PhpUnitConstructFixer: ~
PhpCsFixer\Fixer\PhpUnit\PhpUnitDedicateAssertFixer:
target: 'newest'
PhpCsFixer\Fixer\PhpUnit\PhpUnitDedicateAssertInternalTypeFixer: ~
PhpCsFixer\Fixer\PhpUnit\PhpUnitMockFixer: ~
PhpCsFixer\Fixer\PhpUnit\PhpUnitMockShortWillReturnFixer: ~
PhpCsFixer\Fixer\PhpUnit\PhpUnitTestCaseStaticMethodCallsFixer: ~
PhpCsFixer\Fixer\ReturnNotation\NoUselessReturnFixer: ~
PhpCsFixer\Fixer\Strict\DeclareStrictTypesFixer: ~
PhpCsFixer\Fixer\Whitespace\CompactNullableTypehintFixer: ~
PhpCsFixerCustomFixers\Fixer\NoImportFromGlobalNamespaceFixer: ~
PhpCsFixerCustomFixers\Fixer\NoUnneededConcatenationFixer: ~
PhpCsFixerCustomFixers\Fixer\NullableParamStyleFixer: ~
PhpCsFixerCustomFixers\Fixer\OperatorLinebreakFixer: ~
PhpCsFixerCustomFixers\Fixer\PhpdocNoIncorrectVarAnnotationFixer: ~
PhpCsFixerCustomFixers\Fixer\SingleSpaceAfterStatementFixer: ~
parameters:
paths:
- 'src'
- 'tests'
skip:
PhpCsFixer\Fixer\ClassNotation\SelfAccessorFixer: ~
PhpCsFixer\Fixer\LanguageConstruct\ExplicitIndirectVariableFixer: ~
PhpCsFixer\Fixer\PhpTag\BlankLineAfterOpeningTagFixer: ~
# Checked by PhpInsights: DocCommentSpacingSniff which can be configured
PhpCsFixer\Fixer\Phpdoc\PhpdocSeparationFixer: ~
PhpCsFixer\Fixer\Phpdoc\PhpdocSummaryFixer: ~
PhpCsFixer\Fixer\StringNotation\ExplicitStringVariableFixer: ~
PHP_CodeSniffer\Standards\Generic\Sniffs\CodeAnalysis\AssignmentInConditionSniff: ~