Skip to content

Commit 964e730

Browse files
committed
Ruleset: exclude duplicate @since tags in file docblocks
Not used that often as most of the time the `@since` tags are in class docblocks, but this does sometimes occur and we should allow for it.
1 parent 4fa90ea commit 964e730

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

PHPCSDev/ruleset.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,8 @@
220220
<!-- Having a @see or @internal tag before the @category tag is fine. -->
221221
<exclude name="PEAR.Commenting.ClassComment.CategoryTagOrder"/>
222222

223-
<!-- Using @since for class changelog demands multiple tags. -->
223+
<!-- Using @since for file/class changelog demands multiple tags. -->
224+
<exclude name="PEAR.Commenting.FileComment.DuplicateSinceTag"/>
224225
<exclude name="PEAR.Commenting.ClassComment.DuplicateSinceTag"/>
225226
</rule>
226227

0 commit comments

Comments
 (0)