Skip to content
Merged

Dev #16

Changes from all commits
Commits
Show all changes
18 commits
Select commit Hold shift + click to select a range
ca6877b
refactor: Clean up unused imports and improve test output handling in…
Alshatri May 3, 2026
72e7a22
Refactor ConsoleIO and related classes for improved type safety and c…
Alshatri May 3, 2026
786ad80
Add integration and unit tests for BufferIO, Shell, Alert, Renderer, …
Alshatri May 4, 2026
4d31eb2
fix: Adjust formatting in composer.json for commands array
Alshatri May 4, 2026
59aa06a
refactor: Update PHPUnit commands to disable coverage and enhance She…
Alshatri May 4, 2026
fdba928
Refactor test classes to use static function syntax for closures and …
Alshatri May 4, 2026
6033663
Merge branch 'main' of https://github.com/AlfaCode-Team/php-io-cli in…
Alshatri May 4, 2026
9f4e13b
update
Alshatri May 4, 2026
31aa5c9
ci: run PHP CS Fixer under PHP 8.2 and apply style fixes
Alshatri May 4, 2026
d88b1a4
test: relax ANSI color assertion in SliderInputTest
Alshatri May 4, 2026
a98feb2
test: fix fragile ANSI expectation in RadioGroup render test
hakrichTech May 4, 2026
f26bb3b
test: fix fragile ANSI expectation in RadioGroup render test
hakrichTech May 4, 2026
0e5c3c5
Merge branch 'main' of https://github.com/AlfaCode-Team/php-io-cli in…
hakrichTech May 4, 2026
dedfb10
refactor: change constructor visibility to public in AbstractCommand
hakrichTech Jun 17, 2026
635a6fd
feat: add multibyte trim polyfills and update autoload configuration
hakrichTech Jun 17, 2026
e7980df
Merge branch 'main' into dev
hakrichTech Jun 17, 2026
16cf467
Merge branch 'main' of https://github.com/AlfaCode-Team/php-io-cli in…
hakrichTech Jun 17, 2026
de97a56
fix: ensure columns value is at least 1 in RadioGroup component
hakrichTech Jun 17, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/Components/RadioGroup.php
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ private function renderMultiColumn(int $activeIndex): array
$lines = [];
$lines[] = '';

$chunks = array_chunk($this->choices, $this->columns, preserve_keys: true);
$chunks = array_chunk($this->choices, max(1, $this->columns), preserve_keys: true);

foreach ($chunks as $row) {
$parts = [];
Expand Down