From 662146c5c3ec218e0534e3a367a73eddc357fab7 Mon Sep 17 00:00:00 2001 From: Abdul Malik Ikhsan Date: Mon, 31 Aug 2026 10:00:10 +0700 Subject: [PATCH 1/2] =?UTF-8?q?dx:=20use=20=F0=9F=92=A1=20icon=20in=20Hint?= =?UTF-8?q?=20for=20--fix=20usage=20on=20ConsoleReport?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Report/Reports/ConsoleReport.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Report/Reports/ConsoleReport.php b/src/Report/Reports/ConsoleReport.php index fa6d5339..76f39eee 100644 --- a/src/Report/Reports/ConsoleReport.php +++ b/src/Report/Reports/ConsoleReport.php @@ -16,7 +16,7 @@ use const PHP_EOL; -final class ConsoleReport implements ReportInterface +class ConsoleReport implements ReportInterface { public function render(RuleViolationCollection $ruleViolationCollection, float $elapsedSeconds): string { @@ -52,7 +52,7 @@ public function render(RuleViolationCollection $ruleViolationCollection, float $ } if ($violation->fixable) { - $lines[] = ' Hint: run again with --fix to automatically fix this violation.'; + $lines[] = ' 💡 Hint: run again with --fix to automatically fix this violation.'; } } From dbe1d1fb4a61a0a1f7515790fca324dafebadaf9 Mon Sep 17 00:00:00 2001 From: Abdul Malik Ikhsan Date: Mon, 31 Aug 2026 10:02:10 +0700 Subject: [PATCH 2/2] run --fix --- src/Report/Reports/ConsoleReport.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Report/Reports/ConsoleReport.php b/src/Report/Reports/ConsoleReport.php index 76f39eee..659fa3e7 100644 --- a/src/Report/Reports/ConsoleReport.php +++ b/src/Report/Reports/ConsoleReport.php @@ -16,7 +16,7 @@ use const PHP_EOL; -class ConsoleReport implements ReportInterface +final class ConsoleReport implements ReportInterface { public function render(RuleViolationCollection $ruleViolationCollection, float $elapsedSeconds): string {