Skip to content

Commit

Permalink
Remove use of deprecated \Safe\sprintf since 8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
tigitz committed May 4, 2024
1 parent b3203eb commit dbbf94e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/MisspellingHandler/EchoHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class EchoHandler implements MisspellingHandlerInterface
public function handle(iterable $misspellings): void
{
foreach ($misspellings as $misspelling) {
$output = \Safe\sprintf(
$output = sprintf(
'word: %s | line: %d | offset: %d | suggestions: %s | context: %s' . PHP_EOL,
$misspelling->getWord(),
$misspelling->getLineNumber(),
Expand Down

0 comments on commit dbbf94e

Please sign in to comment.