-
-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Labels
bugSomething isn't workingSomething isn't working
Description
What happened?
I created a Command Runner command for a test console command that just outputs a log.
I tried to name the command both "php artisan app:test" and "app:test".
After running the command, this error is displayed in laravel.log:
Too many arguments to "command-runner:capture-status" command, expected arguments "id" "code". {"exception":"[object] (Symfony\\Component\\Console\\Exception\\RuntimeException(code: 0): Too many arguments to \"command-runner:capture-status\" command, expected arguments \"id\" \"code\". at C:/myapp/vendor/symfony/console/Input/ArgvInput.php:199)
How to reproduce the bug
- Install filament-command-runner
- Create a test console command with a log in "handle" method
- Go to Command Runner in admin panel and run your test console command
- Check /storage/logs/laravel.log with the error
Package Version
1.1.1
PHP Version
8.4.17
Laravel Version
12.47.0
Which operating systems does with happen with?
Windows
Notes
I'm using a Laravel React Starter Kit with Inertia.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working