Skip to content

Commit 91c0115

Browse files
committed
Update test
1 parent faf98a2 commit 91c0115

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

bin/enum

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ if (in_array($command = $argv[1] ?? null, $allowedCommands)) {
4141
* @param string[] $options
4242
*/
4343
function annotate(array $arguments, array $options): bool
44-
{
44+
{var_dump($arguments, $options);
4545
$enums = array_intersect(['--all', '-a'], $options) ? [...Enums::namespaces()] : normalizeEnums($arguments);
4646

4747
if (empty($enums)) {

helpers/cli.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,6 @@ function cli(string $command, ?int &$status = null): bool
156156
Enums::basePath(),
157157
implode(',', Enums::paths()),
158158
]);
159-
159+
var_dump($cmd);
160160
return passthru($cmd, $status) === null;
161161
}

tests/Feature/EnumMakeTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,4 +37,4 @@
3737
})->with([
3838
['App\Enums\Generated1', 'bitwise'],
3939
['Domain\Common\Enums\Generated2', 'snake'],
40-
]);
40+
])->only();

0 commit comments

Comments
 (0)