Skip to content

Commit

Permalink
fix(Namespaces): Case sensitive sorting for use statements (#3470716)
Browse files Browse the repository at this point in the history
  • Loading branch information
klausi authored Sep 1, 2024
1 parent 1158904 commit 4288ec7
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion coder_sniffer/Drupal/ruleset.xml
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,11 @@
<rule ref="PSR2.Namespaces.UseDeclaration" />

<rule ref="SlevomatCodingStandard.ControlStructures.RequireNullCoalesceOperator" />
<rule ref="SlevomatCodingStandard.Namespaces.AlphabeticallySortedUses" />
<rule ref="SlevomatCodingStandard.Namespaces.AlphabeticallySortedUses">
<properties>
<property name="caseSensitive" value="true"/>
</properties>
</rule>
<rule ref="SlevomatCodingStandard.PHP.ShortList" />
<rule ref="SlevomatCodingStandard.TypeHints.DeclareStrictTypes">
<exclude name="SlevomatCodingStandard.TypeHints.DeclareStrictTypes.DeclareStrictTypesMissing"/>
Expand Down

0 comments on commit 4288ec7

Please sign in to comment.