-
-
Notifications
You must be signed in to change notification settings - Fork 9.7k
Closed
Labels
ConsoleDeprecationHelp wantedIssues and PRs which are looking for volunteers to complete them.Issues and PRs which are looking for volunteers to complete them.
Description
Right now, Command::execute()
returns int|void
.
I'd suggest we should deprecate returning void (or null) by throwing a deprecation when the method returns a non-int, in Application
.
We would need to update all core commands to return 0;
where they return;
right now.
And in 5.0, we would make returning a non-int throw an exception, in preparation for adding a real return type in 6.0.
Help wanted.
ro0NL, kozlice, smoench, andreybolonin, stloyd and 1 more
Metadata
Metadata
Assignees
Labels
ConsoleDeprecationHelp wantedIssues and PRs which are looking for volunteers to complete them.Issues and PRs which are looking for volunteers to complete them.