From e65f8324bbcc57c38c019727e255c204da777707 Mon Sep 17 00:00:00 2001 From: Hafiz Muhammad Moaz Date: Wed, 22 Jul 2026 16:46:50 +0500 Subject: [PATCH 1/2] chore: apply the coding standard Runs php-cs-fixer with the shared webisters/coding-standard config. Style only, no behaviour changes. Co-Authored-By: Claude Opus 4.8 --- src/Commands/Index.php | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/Commands/Index.php b/src/Commands/Index.php index 5d81245..88de329 100644 --- a/src/Commands/Index.php +++ b/src/Commands/Index.php @@ -120,15 +120,15 @@ protected function getWidthAndLengths(array $commands) : array protected function showHeader() : void { $text = <<<'EOL' - $$\ $$\ $$$$$$$$\ $$$$$$$\ $$$$$$\ $$$$$$\ $$$$$$$$\ $$$$$$$$\ $$$$$$$\ $$$$$$\ - $$ | $\ $$ |$$ _____|$$ __$$\ \_$$ _|$$ __$$\\__$$ __|$$ _____|$$ __$$\ $$ __$$\ - $$ |$$$\ $$ |$$ | $$ | $$ | $$ | $$ / \__| $$ | $$ | $$ | $$ |$$ / \__| - $$ $$ $$\$$ |$$$$$\ $$$$$$$\ | $$ | \$$$$$$\ $$ | $$$$$\ $$$$$$$ |\$$$$$$\ - $$$$ _$$$$ |$$ __| $$ __$$\ $$ | \____$$\ $$ | $$ __| $$ __$$< \____$$\ - $$$ / \$$$ |$$ | $$ | $$ | $$ | $$\ $$ | $$ | $$ | $$ | $$ |$$\ $$ | - $$ / \$$ |$$$$$$$$\ $$$$$$$ |$$$$$$\ \$$$$$$ | $$ | $$$$$$$$\ $$ | $$ |\$$$$$$ | - \__/ \__|\________|\_______/ \______| \______/ \__| \________|\__| \__| \______/ - EOL; + $$\ $$\ $$$$$$$$\ $$$$$$$\ $$$$$$\ $$$$$$\ $$$$$$$$\ $$$$$$$$\ $$$$$$$\ $$$$$$\ + $$ | $\ $$ |$$ _____|$$ __$$\ \_$$ _|$$ __$$\\__$$ __|$$ _____|$$ __$$\ $$ __$$\ + $$ |$$$\ $$ |$$ | $$ | $$ | $$ | $$ / \__| $$ | $$ | $$ | $$ |$$ / \__| + $$ $$ $$\$$ |$$$$$\ $$$$$$$\ | $$ | \$$$$$$\ $$ | $$$$$\ $$$$$$$ |\$$$$$$\ + $$$$ _$$$$ |$$ __| $$ __$$\ $$ | \____$$\ $$ | $$ __| $$ __$$< \____$$\ + $$$ / \$$$ |$$ | $$ | $$ | $$ | $$\ $$ | $$ | $$ | $$ | $$ |$$\ $$ | + $$ / \$$ |$$$$$$$$\ $$$$$$$ |$$$$$$\ \$$$$$$ | $$ | $$$$$$$$\ $$ | $$ |\$$$$$$ | + \__/ \__|\________|\_______/ \______| \______/ \__| \________|\__| \__| \______/ + EOL; CLI::write($text, ForegroundColor::green); } From 709397da0b2388a5c2466338890bc8676391eea8 Mon Sep 17 00:00:00 2001 From: Hafiz Muhammad Moaz Date: Wed, 22 Jul 2026 16:54:40 +0500 Subject: [PATCH 2/2] fix: drop the backslash on the Windows-only vt100 helper Co-Authored-By: Claude Opus 4.8 --- src/CLI.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/CLI.php b/src/CLI.php index ddb24ac..d462e2f 100644 --- a/src/CLI.php +++ b/src/CLI.php @@ -52,7 +52,7 @@ public static function supportsAnsi() : bool || \getenv('WT_SESSION') !== false || \getenv('TERM_PROGRAM') === 'vscode' || (\function_exists('sapi_windows_vt100_support') - && \sapi_windows_vt100_support(\STDOUT)); + && sapi_windows_vt100_support(\STDOUT)); } return true;