Skip to content

Commit

Permalink
SDK-5694: Fix the PR description (#301)
Browse files Browse the repository at this point in the history
  • Loading branch information
VladislavStrelchenko authored Jan 2, 2024
1 parent fbecf2e commit 4b52b03
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ public function buildViolationsMessage(array $violations, array $packageDtos): s
$text .= implode(
' | ',
[
$violation->getComposerCommands() ? implode('<br>', $violation->getComposerCommands()) : '-',
$violation->getComposerCommands() ? str_replace('\'', '', implode('<br>', $violation->getComposerCommands())) : '-',
implode(
'<br>',
array_map(fn (FileErrorDto $fileErrorDto): string => '<b>' . $this->trimRootDir($fileErrorDto->getFilename()) . '</b><br>' . str_replace('|', '\|', $fileErrorDto->getMessage()) . '<br>', $violation->getFileErrors()),
Expand Down

0 comments on commit 4b52b03

Please sign in to comment.