Welcome to mirror list, hosted at ThFree Co, Russian Federation.

easy-coding-standard.neon « reflection-docblock « phpdocumentor « vendor - github.com/CarnetApp/CarnetNextcloud.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 7c2ba6e2dbda72261c9dea79b6867328a3dc1314 (plain)
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
includes:
    - temp/ecs/config/clean-code.neon
    - temp/ecs/config/psr2-checkers.neon
    - temp/ecs/config/spaces.neon
    - temp/ecs/config/common.neon

checkers:
    PhpCsFixer\Fixer\Operator\ConcatSpaceFixer:
        spacing: one

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:
        SlevomatCodingStandard\Sniffs\Classes\UnusedPrivateElementsSniff:
            # WIP code
            - src/DocBlock/StandardTagFactory.php
        PHP_CodeSniffer\Standards\Generic\Sniffs\CodeAnalysis\EmptyStatementSniff:
            # WIP code
            - src/DocBlock/StandardTagFactory.php
        PHP_CodeSniffer\Standards\Squiz\Sniffs\Classes\ValidClassNameSniff:
            - src/DocBlock/Tags/Return_.php
            - src/DocBlock/Tags/Var_.php
        PHP_CodeSniffer\Standards\Generic\Sniffs\NamingConventions\CamelCapsFunctionNameSniff:
            - */tests/**