mezzio-skeleton
mezzio-skeleton copied to clipboard
mezzio:handler:create command fails unexpectedly
Bug Report
Q | A |
---|---|
Version(s) | 3.14.0 |
Summary
When running composer mezzio mezzio:handler:create --no-factory --no-register "App\Handler\ImageCompressionHandler"
I encountered the following error
Not enough arguments (missing: "handler")
However, when I ran the command directly without Composer, i.e., vendor/bin/laminas --ansi mezzio:handler:create --no-factory --no-register "App\Handler\ImageCompressionHandler"
, the handler class was successfully created.
I've tested this with PHP 8.2.6 on macOS, Debian 10, and Ubuntu, and it happens in all instances.
Current behavior
See above.
How to reproduce
Run the command as outlined above.
Expected behavior
The error should not be encountered; rather, the handler class should be created.