forked from phpDocumentor/phpDocumentor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
easy-coding-standard.yml
47 lines (45 loc) · 2.45 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
imports:
- { resource: '/composer/vendor/symplify/easy-coding-standard/config/clean-code.yml' }
- { resource: '/composer/vendor/symplify/easy-coding-standard/config/psr2.yml'}
- { resource: '/composer/vendor/symplify/easy-coding-standard/config/common.yml'}
parameters:
exclude_checkers:
# from temp/ecs/config/common.neon
- PhpCsFixer\Fixer\ClassNotation\OrderedClassElementsFixer
- PhpCsFixer\Fixer\PhpUnit\PhpUnitStrictFixer
- PhpCsFixer\Fixer\ControlStructure\YodaStyleFixer
# from temp/ecs/config/spaces.neon
- PhpCsFixer\Fixer\Operator\NotOperatorWithSuccessorSpaceFixer
skip:
PhpCsFixer\Fixer\Strict\StrictComparisonFixer:
- 'src/phpDocumentor/DomainModel/Uri.php'
PHP_CodeSniffer\Standards\Squiz\Sniffs\Classes\ValidClassNameSniff:
- '*/tests/data/**'
PhpCsFixer\Fixer\Basic\Psr4Fixer:
- '*/tests/data/**'
- '*/tests/features/assets/**'
Symplify\CodingStandard\Fixer\Commenting\RemoveUselessDocBlockFixer:
- '*/tests/data/**'
- '*/tests/features/assets/**'
- '*/tests/features/bootstrap/Ast/BaseContext.php'
- '*/tests/features/bootstrap/EnvironmentContext.php'
- '*/tests/features/bootstrap/Ast/ApiContext.php'
PHP_CodeSniffer\Standards\Generic\Sniffs\NamingConventions\UpperCaseConstantNameSniff:
- '*/tests/data/file-level/PackagePrecedesDefine.php'
- '*/tests/data/file-level/NoPackagePrecedesDefine.php'
SlevomatCodingStandard\Sniffs\Classes\UnusedPrivateElementsSniff:
- 'phpDocumentor/Compiler/Pass/ResolveInlineLinkAndSeeTags.php'
- 'tests/data/TokenIteratorTestFixture.php'
- 'tests/ReferenceImplementation.php'
PHP_CodeSniffer\Standards\Squiz\Sniffs\Scope\MethodScopeSniff:
- '*/tests/data/**'
PhpCsFixer\Fixer\Import\NoUnusedImportsFixer:
- '*/tests/features/assets/singlefile/syntax/groupedUse.php'
PhpCsFixer\Fixer\Import\SingleImportPerStatementFixer:
- '*/tests/features/assets/singlefile/syntax/groupedUse.php'
PhpCsFixer\Fixer\Phpdoc\PhpdocTrimFixer:
- '*/tests/data/NoShortDescription.php'
PhpCsFixer\Fixer\Phpdoc\NoEmptyPhpdocFixer:
- '*/tests/data/NoShortDescription.php'
Symplify\CodingStandard\Fixer\Commenting\RemoveEmptyDocBlockFixer:
- '*/tests/data/NoShortDescription.php'