Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
* develop:
  Fix Github annotation for rule TitleUnderlineLengthMustMatchTitleLength (#1705)
  composer(deps): bump symfony/config from 7.0.4 to 7.0.6 (#1700)
  composer(deps): bump symfony/dependency-injection from 7.0.4 to 7.0.6 (#1701)
  composer(deps): bump symfony/console from 7.0.4 to 7.0.6 (#1702)
  • Loading branch information
OskarStark committed Apr 4, 2024
2 parents 4f53977 + 9a743ba commit 9938746
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 31 deletions.
62 changes: 32 additions & 30 deletions composer.lock

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

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 9938746

Please sign in to comment.