Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mezzio:handler:create command fails unexpectedly #129

Open
settermjd opened this issue May 23, 2023 · 0 comments
Open

mezzio:handler:create command fails unexpectedly #129

settermjd opened this issue May 23, 2023 · 0 comments
Labels
Bug Something isn't working

Comments

@settermjd
Copy link

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.

@settermjd settermjd added the Bug Something isn't working label May 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant