Skip to content

Commit 14d5127

Browse files
authored
Apply fixes from StyleCI (#84)
[ci skip] [skip ci]
1 parent 9e60ddf commit 14d5127

File tree

11 files changed

+14
-0
lines changed

11 files changed

+14
-0
lines changed

src/Application.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
use ReflectionClass;
1919
use ReflectionFunction;
2020
use Throwable;
21+
2122
use function array_diff_key;
2223
use function array_fill_keys;
2324
use 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);

src/Helper/Normalizer.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313

1414
use Ahc\Cli\Input\Option;
1515
use Ahc\Cli\Input\Parameter;
16+
1617
use function array_merge;
1718
use function explode;
1819
use function implode;

src/IO/Interactor.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
use Ahc\Cli\Input\Reader;
1515
use Ahc\Cli\Output\Writer;
1616
use Throwable;
17+
1718
use function array_keys;
1819
use function array_map;
1920
use function count;

src/Input/Parameter.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
namespace Ahc\Cli\Input;
1313

1414
use Ahc\Cli\Helper\InflectsString;
15+
1516
use function strpos;
1617

1718
/**

src/Input/Parser.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
use Ahc\Cli\Exception\RuntimeException;
1616
use Ahc\Cli\Helper\Normalizer;
1717
use InvalidArgumentException;
18+
1819
use function array_diff_key;
1920
use function array_filter;
2021
use function array_key_exists;

src/Input/Reader.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
use function shell_exec;
2020
use function stream_get_contents;
2121
use function stream_select;
22+
2223
use const DIRECTORY_SEPARATOR;
2324
use const PHP_EOL;
2425
use const STDIN;

src/Output/Color.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
namespace Ahc\Cli\Output;
1313

1414
use Ahc\Cli\Exception\InvalidArgumentException;
15+
1516
use function array_intersect_key;
1617
use function constant;
1718
use function defined;
@@ -25,6 +26,7 @@
2526
use function strtolower;
2627
use function strtoupper;
2728
use function strtr;
29+
2830
use const PHP_EOL;
2931

3032
/**

src/Output/Table.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313

1414
use Ahc\Cli\Exception\InvalidArgumentException;
1515
use Ahc\Cli\Helper\InflectsString;
16+
1617
use function array_column;
1718
use function array_fill_keys;
1819
use function array_keys;
@@ -28,6 +29,7 @@
2829
use function str_repeat;
2930
use function strlen;
3031
use function trim;
32+
3133
use const PHP_EOL;
3234

3335
class Table

tests/CliTestCase.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
use php_user_filter;
1515
use PHPUnit\Framework\TestCase;
1616
use ReturnTypeWillChange;
17+
1718
use const STDERR;
1819
use const STDOUT;
1920

tests/Input/ReaderTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313

1414
use Ahc\Cli\Input\Reader;
1515
use PHPUnit\Framework\TestCase;
16+
1617
use function ucwords;
1718

1819
class ReaderTest extends TestCase

0 commit comments

Comments
 (0)