Skip to content

Commit baf291c

Browse files
committed
Squiz/ClosingDeclarationComment: sort registered tokens alphabetically
This should make it easier to find if a given is registered by this sniff or not.
1 parent 2d4783c commit baf291c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Standards/Squiz/Sniffs/Commenting/ClosingDeclarationCommentSniff.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@ class ClosingDeclarationCommentSniff implements Sniff
2424
public function register()
2525
{
2626
return [
27-
T_FUNCTION,
2827
T_CLASS,
29-
T_INTERFACE,
3028
T_ENUM,
29+
T_FUNCTION,
30+
T_INTERFACE,
3131
];
3232

3333
}//end register()

0 commit comments

Comments
 (0)