Skip to content

Commit 8171e4d

Browse files
Merge pull request #53 from VincentLanglet/fixComment
🐛 Fix docComment rule
2 parents b0814e1 + 5bcea9e commit 8171e4d

File tree

2 files changed

+2
-10
lines changed

2 files changed

+2
-10
lines changed

SymfonyCustom/ruleset.xml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -79,13 +79,8 @@
7979
</rule>
8080
<rule ref="Squiz.WhiteSpace.SemicolonSpacing"/>
8181

82-
<!-- Comment -->
83-
<rule ref="Generic.Commenting.DocComment">
84-
<exclude name="Generic.Commenting.DocComment.MissingShort"/>
85-
</rule>
86-
<rule ref="Squiz.Commenting.DocCommentAlignment"/>
87-
8882
<!-- Others -->
83+
<rule ref="Squiz.Commenting.DocCommentAlignment"/>
8984
<rule ref="Generic.PHP.ForbiddenFunctions"/>
9085
<rule ref="Squiz.PHP.DiscouragedFunctions"/>
9186
<rule ref="Generic.Arrays.DisallowLongArraySyntax"/>

docs/standards.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -138,12 +138,9 @@ we do not respect this rule:
138138
</rule>
139139
```
140140

141-
- DocComment should start on a new line, end on a new line and be correctly indented
141+
- DocComment should be correctly indented
142142

143143
```
144-
<rule ref="Generic.Commenting.DocComment">
145-
<exclude name="Generic.Commenting.DocComment.MissingShort"/>
146-
</rule>
147144
<rule ref="Squiz.Commenting.DocCommentAlignment"/>
148145
```
149146

0 commit comments

Comments
 (0)