Skip to content

Commit

Permalink
Update with new type def
Browse files Browse the repository at this point in the history
  • Loading branch information
dq5studios committed Feb 7, 2020
1 parent f1179af commit db95d83
Show file tree
Hide file tree
Showing 3 changed files with 123 additions and 53 deletions.
169 changes: 119 additions & 50 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions src/JunitReport.php
Expand Up @@ -68,6 +68,7 @@ public static function afterAnalysis(
foreach ($issues as $issue_detail) {
// This may be an array of issues for a specific file depending on version
if (array_key_exists("file_name", $issue_detail)) {
/** @var IssueData[] */
$issue_detail = [$issue_detail];
}
foreach ($issue_detail as $detail) {
Expand Down

0 comments on commit db95d83

Please sign in to comment.