Skip to content

Commit 4f9cbde

Browse files
authored
Configure SlevomatCodingStandard.Files.LineLength to ignoreComments (#64)
1 parent 3558e06 commit 4f9cbde

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/Cdn77/ruleset.xml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,11 @@
8686
</properties>
8787
</rule>
8888
<rule ref="SlevomatCodingStandard.Exceptions.RequireNonCapturingCatch" />
89-
<rule ref="SlevomatCodingStandard.Files.LineLength"/>
89+
<rule ref="SlevomatCodingStandard.Files.LineLength">
90+
<properties>
91+
<property name="ignoreComments" value="true" />
92+
</properties>
93+
</rule>
9094
<rule ref="SlevomatCodingStandard.Functions.RequireArrowFunction" />
9195
<rule ref="SlevomatCodingStandard.Functions.RequireTrailingCommaInDeclaration" />
9296
<rule ref="SlevomatCodingStandard.PHP.RequireNowdoc" />

0 commit comments

Comments
 (0)