Skip to content

mezzio:handler:create command fails unexpectedly #129

@settermjd

Description

@settermjd

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions