Skip to content

Commit 642326a

Browse files
authored
Merge pull request #217 from jrchamp/patch-1
ruleset: Use full alphabetic ordering for classes
2 parents 9dd34ed + 0046fb9 commit 642326a

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

moodle/ruleset.xml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,11 @@
171171
<rule ref="Universal.Constants.ModifierKeywordOrder"/>
172172

173173
<!-- Enforce that the names used in a class/enum "implements" statement or an interface "extends" statement are listed in alphabetic order -->
174-
<rule ref="Universal.OOStructures.AlphabeticExtendsImplements"/>
174+
<rule ref="Universal.OOStructures.AlphabeticExtendsImplements">
175+
<properties>
176+
<property name="orderby" value="full"/>
177+
</properties>
178+
</rule>
175179

176180
<!-- Enforce the use of a single space after the use, function, const keywords and both before and after the as keyword in import use statements -->
177181
<rule ref="Universal.UseStatements.KeywordSpacing"/>

0 commit comments

Comments
 (0)