Skip to content

Commit

Permalink
Fix report name: Issue level, not issue severity
Browse files Browse the repository at this point in the history
  • Loading branch information
bdsl committed Dec 1, 2022
1 parent 4fde493 commit b18d502
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Psalm/IssueBuffer.php
Expand Up @@ -855,7 +855,7 @@ public static function getOutput(
$output = new JsonReport($normalized_data, self::$fixable_issue_counts, $report_options);
break;

case Report::TYPE_BY_ISSUE_SEVERITY:
case Report::TYPE_BY_ISSUE_LEVEL:
$output = new ByIssueSeverityReport($normalized_data, self::$fixable_issue_counts, $report_options);
break;

Expand Down
2 changes: 1 addition & 1 deletion src/Psalm/Report.php
Expand Up @@ -29,7 +29,7 @@ abstract class Report
public const TYPE_SARIF = 'sarif';
public const TYPE_CODECLIMATE = 'codeclimate';
public const TYPE_COUNT = 'count';
public const TYPE_BY_ISSUE_SEVERITY = 'by-issue-severity';
public const TYPE_BY_ISSUE_LEVEL = 'by-issue-level';

/**
* @var array<int, IssueData>
Expand Down

0 comments on commit b18d502

Please sign in to comment.