Skip to content

Commit 4288ec7

Browse files
authored
fix(Namespaces): Case sensitive sorting for use statements (#3470716)
1 parent 1158904 commit 4288ec7

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

coder_sniffer/Drupal/ruleset.xml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,11 @@
121121
<rule ref="PSR2.Namespaces.UseDeclaration" />
122122

123123
<rule ref="SlevomatCodingStandard.ControlStructures.RequireNullCoalesceOperator" />
124-
<rule ref="SlevomatCodingStandard.Namespaces.AlphabeticallySortedUses" />
124+
<rule ref="SlevomatCodingStandard.Namespaces.AlphabeticallySortedUses">
125+
<properties>
126+
<property name="caseSensitive" value="true"/>
127+
</properties>
128+
</rule>
125129
<rule ref="SlevomatCodingStandard.PHP.ShortList" />
126130
<rule ref="SlevomatCodingStandard.TypeHints.DeclareStrictTypes">
127131
<exclude name="SlevomatCodingStandard.TypeHints.DeclareStrictTypes.DeclareStrictTypesMissing"/>

0 commit comments

Comments
 (0)