You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/Util/Help.php
+19-24Lines changed: 19 additions & 24 deletions
Original file line number
Diff line number
Diff line change
@@ -36,7 +36,6 @@ final class Help
36
36
* @var array<string> List of the option names.
37
37
*/
38
38
publicconstDEFAULT_LONG_OPTIONS = [
39
-
'allow-empty-file-list',
40
39
'basepath',
41
40
'bootstrap',
42
41
'colors',
@@ -492,83 +491,79 @@ private function getAllOptions()
492
491
];
493
492
494
493
$options['Reporting Options'] = [
495
-
'report'=> [
494
+
'report' => [
496
495
'argument' => '--report=<report(s)>',
497
496
'description' => 'A comma-separated list of reports to print. Available reports: "full", "xml", "checkstyle", "csv", "json", "junit", "emacs", "source", "summary", "diff", "svnblame", "gitblame", "hgblame", "notifysend" or "performance".' . "\n"
498
497
. 'Or specify the path to a custom report class. By default, the "full" report is displayed.',
499
498
],
500
-
'report-file'=> [
499
+
'report-file' => [
501
500
'argument' => '--report-file=<reportFile>',
502
501
'description' => 'Write the report to the specified file path.',
503
502
],
504
-
'report-report'=> [
503
+
'report-report' => [
505
504
'argument' => '--report-<report>=<reportFile>',
506
505
'description' => 'Write the report specified in <report> to the specified file path.',
507
506
],
508
-
'report-width'=> [
507
+
'report-width' => [
509
508
'argument' => '--report-width=<reportWidth>',
510
509
'description' => 'How many columns wide screen reports should be. Set to "auto" to use current screen width, where supported.',
511
510
],
512
-
'basepath'=> [
511
+
'basepath' => [
513
512
'argument' => '--basepath=<basepath>',
514
513
'description' => 'Strip a path from the front of file paths inside reports.',
515
514
],
516
-
'blank-line-1'=> ['spacer' => ''],
515
+
'blank-line-1' => ['spacer' => ''],
517
516
518
-
'w'=> [
517
+
'w' => [
519
518
'argument' => '-w',
520
519
'description' => 'Include both warnings and errors (default).',
521
520
],
522
-
'n'=> [
521
+
'n' => [
523
522
'argument' => '-n',
524
523
'description' => 'Do not include warnings. Shortcut for "--warning-severity=0".',
525
524
],
526
-
'severity'=> [
525
+
'severity' => [
527
526
'argument' => '--severity=<severity>',
528
527
'description' => 'The minimum severity required to display an error or warning. Defaults to 5.',
529
528
],
530
-
'error-severity'=> [
529
+
'error-severity' => [
531
530
'argument' => '--error-severity=<severity>',
532
531
'description' => 'The minimum severity required to display an error. Defaults to 5.',
533
532
],
534
-
'warning-severity'=> [
533
+
'warning-severity' => [
535
534
'argument' => '--warning-severity=<severity>',
536
535
'description' => 'The minimum severity required to display a warning. Defaults to 5.',
537
536
],
538
-
'blank-line-2'=> ['spacer' => ''],
537
+
'blank-line-2' => ['spacer' => ''],
539
538
540
-
's'=> [
539
+
's' => [
541
540
'argument' => '-s',
542
541
'description' => 'Show sniff error codes in all reports.',
543
542
],
544
-
'ignore-annotations'=> [
543
+
'ignore-annotations' => [
545
544
'argument' => '--ignore-annotations',
546
545
'description' => 'Ignore all "phpcs:..." annotations in code comments.',
547
546
],
548
-
'colors'=> [
547
+
'colors' => [
549
548
'argument' => '--colors',
550
549
'description' => 'Use colors in screen output.',
551
550
],
552
-
'no-colors'=> [
551
+
'no-colors' => [
553
552
'argument' => '--no-colors',
554
553
'description' => 'Do not use colors in screen output (default).',
555
554
],
556
-
'p'=> [
555
+
'p' => [
557
556
'argument' => '-p',
558
557
'description' => 'Show progress of the run.',
559
558
],
560
-
'q'=> [
559
+
'q' => [
561
560
'argument' => '-q',
562
561
'description' => 'Quiet mode; disables progress and verbose output.',
563
562
],
564
-
'm'=> [
563
+
'm' => [
565
564
'argument' => '-m',
566
565
'description' => 'Stop error messages from being recorded. This saves a lot of memory but stops many reports from being used.',
567
566
],
568
-
'allow-empty-file-list' => [
569
-
'argument' => '--allow-empty-file-list',
570
-
'description' => 'Suppress "No files were checked" error.',
0 commit comments