forked from shopware/shopware
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy patheasy-coding-standard.yml
64 lines (62 loc) · 3.37 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
# @deprecated tag:v6.4.0 - The file 'easy-coding-standard.yml' will be removed. Please use 'easy-coding-standard.php' instead.
services:
PhpCsFixer\Fixer\CastNotation\ModernizeTypesCastingFixer: ~
PhpCsFixer\Fixer\ClassNotation\ClassAttributesSeparationFixer:
elements: ['property', 'method']
PhpCsFixer\Fixer\FunctionNotation\FopenFlagsFixer: ~
PhpCsFixer\Fixer\FunctionNotation\MethodArgumentSpaceFixer:
on_multiline: 'ensure_fully_multiline'
PhpCsFixer\Fixer\FunctionNotation\NativeFunctionInvocationFixer:
scope: 'namespaced'
include: ['compiler_optimized']
PhpCsFixer\Fixer\FunctionNotation\NullableTypeDeclarationForDefaultNullValueFixer: ~
PhpCsFixer\Fixer\FunctionNotation\VoidReturnFixer: ~
PhpCsFixer\Fixer\Operator\ConcatSpaceFixer:
spacing: 'one'
PhpCsFixer\Fixer\Operator\OperatorLinebreakFixer: ~
PhpCsFixer\Fixer\Phpdoc\GeneralPhpdocAnnotationRemoveFixer:
annotations: ['copyright', 'category']
PhpCsFixer\Fixer\Phpdoc\NoSuperfluousPhpdocTagsFixer:
allow_unused_params: true
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\BlankLineBeforeStatementFixer: ~
PhpCsFixer\Fixer\Whitespace\CompactNullableTypehintFixer: ~
PhpCsFixerCustomFixers\Fixer\NoImportFromGlobalNamespaceFixer: ~
PhpCsFixerCustomFixers\Fixer\NoSuperfluousConcatenationFixer: ~
PhpCsFixerCustomFixers\Fixer\NoUselessCommentFixer: ~
PhpCsFixerCustomFixers\Fixer\PhpdocNoIncorrectVarAnnotationFixer: ~
PhpCsFixerCustomFixers\Fixer\SingleSpaceAfterStatementFixer: ~
PhpCsFixerCustomFixers\Fixer\NoUselessParenthesisFixer: ~
PhpCsFixerCustomFixers\Fixer\NoUselessStrlenFixer: ~
parameters:
sets:
- 'symfony'
- 'symfony-risky'
- 'array'
- 'control-structures'
- 'strict'
- 'psr12'
cache_directory: 'var/cache/cs_fixer'
cache_namespace: 'platform'
skip:
Symplify\CodingStandard\Fixer\ArrayNotation\ArrayOpenerAndCloserNewlineFixer: ~
Symplify\CodingStandard\Fixer\ArrayNotation\ArrayListItemNewlineFixer: ~
PhpCsFixer\Fixer\FunctionNotation\SingleLineThrowFixer: ~
PhpCsFixer\Fixer\ClassNotation\SelfAccessorFixer: ~
PhpCsFixer\Fixer\LanguageConstruct\ExplicitIndirectVariableFixer: ~
PhpCsFixer\Fixer\PhpTag\BlankLineAfterOpeningTagFixer: ~
PhpCsFixer\Fixer\Phpdoc\PhpdocSummaryFixer: ~
PhpCsFixer\Fixer\StringNotation\ExplicitStringVariableFixer: ~
PhpCsFixerCustomFixers\Fixer\NoUselessCommentFixer: # would otherwise destroy the example in the annotation
- 'src/Core/System/Annotation/Concept/DeprecationPattern/ReplaceDecoratedInterface.php'
PhpCsFixer\Fixer\Basic\NonPrintableCharacterFixer: # Would otherwise fix the blocking whitespace in the currency formatter tests
- 'src/Core/System/Test/Currency/CurrencyFormatterTest.php'