Skip to content

Commit

Permalink
Make psalm happy by ensuring array keys are strings
Browse files Browse the repository at this point in the history
  • Loading branch information
stronk7 committed Sep 2, 2023
1 parent 9bc1aa4 commit e80ff46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Bridge/MessDetectorRenderer.php
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ public function renderReport(Report $report): void
}

$this->output->writeln([
sprintf('<fg=white;options=bold>FILE: %s</>', str_replace($this->basePath . '/', '', $file)),
sprintf('<fg=white;options=bold>FILE: %s</>', str_replace($this->basePath . '/', '', (string) $file)),
sprintf('<fg=white;options=bold>FOUND %d ERRORS AND %d VIOLATIONS</>', $errorCount, $violationCount),
]);
$table->render();
Expand Down

0 comments on commit e80ff46

Please sign in to comment.