File tree Expand file tree Collapse file tree 11 files changed +14
-0
lines changed Expand file tree Collapse file tree 11 files changed +14
-0
lines changed Original file line number Diff line number Diff line change 1818use ReflectionClass ;
1919use ReflectionFunction ;
2020use Throwable ;
21+
2122use function array_diff_key ;
2223use function array_fill_keys ;
2324use function array_keys ;
@@ -282,6 +283,7 @@ public function handle(array $argv): mixed
282283 }
283284
284285 $ exitCode = 255 ;
286+
285287 try {
286288 $ command = $ this ->parse ($ argv );
287289 $ result = $ this ->doAction ($ command );
Original file line number Diff line number Diff line change 1313
1414use Ahc \Cli \Input \Option ;
1515use Ahc \Cli \Input \Parameter ;
16+
1617use function array_merge ;
1718use function explode ;
1819use function implode ;
Original file line number Diff line number Diff line change 1414use Ahc \Cli \Input \Reader ;
1515use Ahc \Cli \Output \Writer ;
1616use Throwable ;
17+
1718use function array_keys ;
1819use function array_map ;
1920use function count ;
Original file line number Diff line number Diff line change 1212namespace Ahc \Cli \Input ;
1313
1414use Ahc \Cli \Helper \InflectsString ;
15+
1516use function strpos ;
1617
1718/**
Original file line number Diff line number Diff line change 1515use Ahc \Cli \Exception \RuntimeException ;
1616use Ahc \Cli \Helper \Normalizer ;
1717use InvalidArgumentException ;
18+
1819use function array_diff_key ;
1920use function array_filter ;
2021use function array_key_exists ;
Original file line number Diff line number Diff line change 1919use function shell_exec ;
2020use function stream_get_contents ;
2121use function stream_select ;
22+
2223use const DIRECTORY_SEPARATOR ;
2324use const PHP_EOL ;
2425use const STDIN ;
Original file line number Diff line number Diff line change 1212namespace Ahc \Cli \Output ;
1313
1414use Ahc \Cli \Exception \InvalidArgumentException ;
15+
1516use function array_intersect_key ;
1617use function constant ;
1718use function defined ;
2526use function strtolower ;
2627use function strtoupper ;
2728use function strtr ;
29+
2830use const PHP_EOL ;
2931
3032/**
Original file line number Diff line number Diff line change 1313
1414use Ahc \Cli \Exception \InvalidArgumentException ;
1515use Ahc \Cli \Helper \InflectsString ;
16+
1617use function array_column ;
1718use function array_fill_keys ;
1819use function array_keys ;
2829use function str_repeat ;
2930use function strlen ;
3031use function trim ;
32+
3133use const PHP_EOL ;
3234
3335class Table
Original file line number Diff line number Diff line change 1414use php_user_filter ;
1515use PHPUnit \Framework \TestCase ;
1616use ReturnTypeWillChange ;
17+
1718use const STDERR ;
1819use const STDOUT ;
1920
Original file line number Diff line number Diff line change 1313
1414use Ahc \Cli \Input \Reader ;
1515use PHPUnit \Framework \TestCase ;
16+
1617use function ucwords ;
1718
1819class ReaderTest extends TestCase
You can’t perform that action at this time.
0 commit comments