Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[console] PHP Notice (undefined offset) when ommitting command #9614

Closed
@FredoVelcro-zz

Description

@FredoVelcro-zz

When using console omitting the full command name (i have many commands under this namespace) :

console project:

throws :

 [Symfony\Component\Debug\Exception\ContextErrorException]
 Notice: Undefined offset: 0 in ..\vendor\symfony\symfony\src\Symfony\Component\Console\Application.php line 1019

I know it's not a good way to call this app but i think the notice should not be throwed or it should show the list of available commands like with "console project"

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugConsoleGood first issueIdeal for your first contribution! (some Symfony experience may be required)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions