10000 [Console] DX: Catch Fatal errors in Command collection · Issue #23610 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content
[Console] DX: Catch Fatal errors in Command collection #23610
Closed
@beberlei

Description

@beberlei
Q A
Bug report? no
Feature request? yes
BC Break report? no
RFC? no
Symfony version any

With PHP 7 we can now catch fatal errors. The console collects all commands from all bundle directories, but what if one of them has a fatal error (for whatever reason), then all other commands cannot be executed as well. If the fatal error is catched, maybe a warning printed to the screen and a dummy command registered instead that fails and shows the fatal error, this could be much improved for the developer experience.

Metadata

Metadata

Assignees

Labels

ConsoleDXDX = Developer eXperience (anything that improves the experience of using Symfony)Enhancement

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0