forked from sspooky13/yaml-standards
-
Notifications
You must be signed in to change notification settings - Fork 0
/
easy-coding-standard.yml
25 lines (20 loc) · 1.14 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_dir%/shopsys/coding-standards/easy-coding-standard.yml', ignore_errors: true }
services:
PhpCsFixer\Fixer\Strict\DeclareStrictTypesFixer: ~
parameters:
line_ending: "\n"
skip:
ObjectCalisthenics\Sniffs\Files\FunctionLengthSniff:
- '*/src/Model/YamlIndent/YamlIndentDataFactory.php'
- '*/src/Model/Component/Parser/YamlParser.php'
- '*/src/Model/Config/YamlStandardConfigDefinition.php'
- '*/src/Command/YamlCommand.php'
- '*/tests/Model/YamlAlphabetical/YamlSortServiceTest.php'
SlevomatCodingStandard\Sniffs\Classes\UnusedPrivateElementsSniff.UnusedMethod:
- '*/src/Model/YamlInline/YamlInlineChecker.php'
- '*/src/Model/YamlAlphabetical/YamlSortService.php'
PhpCsFixer\Fixer\Whitespace\SingleBlankLineAtEofFixer:
- '*/tests/Model/YamlEmptyLineAtEnd/resource/unfixed/foo.php' # this is only for unit test so this has to be skipped
PHP_CodeSniffer\Standards\Generic\Sniffs\Metrics\CyclomaticComplexitySniff.MaxExceeded:
- '*/src/Model/YamlIndent/YamlIndentDataFactory.php'