File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -83,6 +83,8 @@ The file documents changes to the PHP_CodeSniffer project.
83
83
- Thanks to @Daimona for the patch
84
84
- Runtime performance improvement for PHPCS CLI users. The improvement should be most noticeable for users on Windows.
85
85
- Thanks to Juliette Reinders Folmer (@jrfnl ) for the patch
86
+ - The -e (explain) command will now list sniffs in natural order
87
+ - Thanks to Juliette Reinders Folmer (@jrfnl ) for the patch
86
88
87
89
### Removed
88
90
- Removed support for installing via PEAR
Original file line number Diff line number Diff line change @@ -238,7 +238,7 @@ public function __construct(Config $config)
238
238
public function explain ()
239
239
{
240
240
$ sniffs = array_keys ($ this ->sniffCodes );
241
- sort ($ sniffs );
241
+ sort ($ sniffs, ( SORT_NATURAL | SORT_FLAG_CASE ) );
242
242
243
243
$ sniffCount = count ($ sniffs );
244
244
You can’t perform that action at this time.
0 commit comments