Skip to content

Commit 634df2a

Browse files
authored
Merge pull request #3 from solutionDrive/rfc-further-sniffs
more sniffs for better spacing
2 parents 26dbd95 + 31e40a8 commit 634df2a

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)