diff vendor/phpdocumentor/reflection-docblock/easy-coding-standard.neon @ 12:7a779792577d

Update Drupal core to v8.4.5 (via Composer)
author Chris Cannam
date Fri, 23 Feb 2018 15:52:07 +0000
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/vendor/phpdocumentor/reflection-docblock/easy-coding-standard.neon	Fri Feb 23 15:52:07 2018 +0000
@@ -0,0 +1,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/**