Skip to content

Commit 31e40a8

Browse files
author
Michael Zapf
committed
more sniffs for better spacing
1 parent 8013e81 commit 31e40a8

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

easy-coding-standard.neon

+8
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,14 @@ checkers:
109109
- SlevomatCodingStandard\Sniffs\Exceptions\ReferenceThrowableOnlySniff
110110
- SlevomatCodingStandard\Sniffs\Commenting\RequireOneLinePropertyDocCommentSniff
111111

112+
SlevomatCodingStandard\Sniffs\Commenting\DocCommentSpacingSniff:
113+
linesCountBeforeFirstContent: 0
114+
linesCountBetweenDifferentAnnotationsTypes: 1
115+
116+
PHP_CodeSniffer\Standards\Squiz\Sniffs\WhiteSpace\MemberVarSpacingSniff:
117+
spacing: 1
118+
spacingBeforeFirst: 0
119+
112120
PhpCsFixer\Fixer\Comment\HeaderCommentFixer:
113121
header:
114122
"""

0 commit comments

Comments
 (0)