Actions
Bug #90032
closed[BUGFIX] Return integer from Command::execute() to satisfy Symfony 5
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2019-12-29
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
10
PHP Version:
7.3
Tags:
Symfony Console Command Scheduler
Complexity:
Is Regression:
Sprint Focus:
Description
When executing commands on the command line (for example triggering the Scheduler) an exception is thrown.
Uncaught TYPO3 Exception Return value of "TYPO3\CMS\Scheduler\Command\SchedulerCommand::execute()" must be of the type int, NULL returned. thrown in file [...]/vendor/symfony/console/Command/Command.php in line 258
Symfony 5 expects an integer as the return value from Command::execute()
in the Command class, see issue 33747 on GitHub (Symfony repository).
This change return 0
to satisfy Symfony version 5 requirements.
Updated by Gerrit Code Review almost 5 years ago
- Status changed from New to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/62780
Updated by Anonymous almost 5 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset ba6219d1312dfba202799a216249db85d43e7502.
Actions