Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

[DX] [Console] InputInterface::hasOption is confusingly named #17597

Copy link
Copy link
Closed
@mcfedr

Description

@mcfedr
Issue body actions

Now you probably just want to close this, because in many ways there isn't much that can be done at this stage.

But I find the hasOption method to be misleading, people often use it to check if the option has been passed on the command line, not realising that it actually checks if such an option exists.

I would like to suggest a better name, and another method that actually does what you think this one will do. But given that it would be a breaking change...

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.