easy-coding-standard.neon 1.2 KB

12345678910111213141516171819202122232425262728293031
  1. includes:
  2. - temp/ecs/config/clean-code.neon
  3. - temp/ecs/config/psr2-checkers.neon
  4. - temp/ecs/config/spaces.neon
  5. - temp/ecs/config/common.neon
  6. checkers:
  7. PhpCsFixer\Fixer\Operator\ConcatSpaceFixer:
  8. spacing: one
  9. parameters:
  10. exclude_checkers:
  11. # from temp/ecs/config/common.neon
  12. - PhpCsFixer\Fixer\ClassNotation\OrderedClassElementsFixer
  13. - PhpCsFixer\Fixer\PhpUnit\PhpUnitStrictFixer
  14. - PhpCsFixer\Fixer\ControlStructure\YodaStyleFixer
  15. # from temp/ecs/config/spaces.neon
  16. - PhpCsFixer\Fixer\Operator\NotOperatorWithSuccessorSpaceFixer
  17. skip:
  18. SlevomatCodingStandard\Sniffs\Classes\UnusedPrivateElementsSniff:
  19. # WIP code
  20. - src/DocBlock/StandardTagFactory.php
  21. PHP_CodeSniffer\Standards\Generic\Sniffs\CodeAnalysis\EmptyStatementSniff:
  22. # WIP code
  23. - src/DocBlock/StandardTagFactory.php
  24. PHP_CodeSniffer\Standards\Squiz\Sniffs\Classes\ValidClassNameSniff:
  25. - src/DocBlock/Tags/Return_.php
  26. - src/DocBlock/Tags/Var_.php
  27. PHP_CodeSniffer\Standards\Generic\Sniffs\NamingConventions\CamelCapsFunctionNameSniff:
  28. - */tests/**