Skip to content

Commit bdad992

Browse files
committed
fix: allow comments to run longer than 120 characters
1 parent 11646fd commit bdad992

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/Ramsey/ruleset.xml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,13 @@
5757
<!-- Forbid deprecated functions -->
5858
<rule ref="Generic.PHP.DeprecatedFunctions"/>
5959

60+
<!-- Allow comments to run longer than 120 characters -->
61+
<rule ref="Generic.Files.LineLength">
62+
<properties>
63+
<property name="ignoreComments" value="true"/>
64+
</properties>
65+
</rule>
66+
6067
<!-- Forbid a bunch of functions -->
6168
<rule ref="Generic.PHP.ForbiddenFunctions">
6269
<properties>

0 commit comments

Comments
 (0)