Skip to content

Commit

Permalink
Fix Github annotation for rule TitleUnderlineLengthMustMatchTitleLeng…
Browse files Browse the repository at this point in the history
…th (#1705)
  • Loading branch information
alamirault committed Apr 4, 2024
1 parent b220fe4 commit 9a743ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Rule/TitleUnderlineLengthMustMatchTitleLength.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public function check(Lines $lines, int $number, string $filename): ViolationInt
return Violation::from(
sprintf(
'Please ensure title "%s" and underline length are matching',
$lines->current()->raw()->replace('`', '')->toString(),
$lines->current()->clean()->replace('`', '')->toString(),
),
$filename,
$number,
Expand Down

0 comments on commit 9a743ba

Please sign in to comment.