Skip to content

Commit 7d5aae1

Browse files
authored
Remove duplicate rules (#36)
1 parent 87ffa71 commit 7d5aae1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

PSR12NeutronRuleset/ruleset.xml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,9 +151,12 @@
151151

152152
<!-- Covered by forbidden functions rule -->
153153
<exclude name="WordPress.PHP.DontExtract"/>
154+
<!-- Covered by PSR12.Files.ImportStatement.LeadingSlash -->
155+
<exclude name="Universal.UseStatements.NoLeadingBackslash"/>
154156

155157
<exclude name="VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable"/>
156158
</rule>
159+
157160
<!-- WordPress-Core opposite rules -->
158161
<rule ref="Generic.Arrays.DisallowLongArraySyntax"/>
159162
<rule ref="Generic.ControlStructures.DisallowYodaConditions"/>
@@ -281,7 +284,6 @@
281284
</properties>
282285
</rule>
283286
<rule ref="SlevomatCodingStandard.Namespaces.MultipleUsesPerLine"/>
284-
<rule ref="SlevomatCodingStandard.Namespaces.UseDoesNotStartWithBackslash"/>
285287
<rule ref="SlevomatCodingStandard.Namespaces.FullyQualifiedClassNameInAnnotation"/>
286288
<rule ref="SlevomatCodingStandard.Commenting.EmptyComment"/>
287289
<rule ref="SlevomatCodingStandard.Commenting.ForbiddenAnnotations">

0 commit comments

Comments
 (0)