Actions
Bug #91872
closedCore commands do not return int, triggering an error
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
scheduler
Target version:
-
Start date:
2020-07-27
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
9
PHP Version:
Tags:
Complexity:
no-brainer
Is Regression:
Sprint Focus:
Description
#90652 fixes this for v10, but in v9 it has to be also int, Symfony is doing this:
$statusCode = $this->execute($input, $output);
if (!\is_int($statusCode)) {
@trigger_error(sprintf('Return value of "%s::execute()" should always be of the type int since Symfony 4.4, %s returned.', static::class, \gettype($statusCode)), E_USER_DEPRECATED);
}
Updated by S P over 4 years ago
- Related to Task #90652: Commands should return an integer value based on their success added
Updated by S P over 4 years ago
- Category set to scheduler
- Complexity set to no-brainer
Updated by Timo Webler over 4 years ago
- Related to Bug #89936: Command "site:list" not compatible with symfony 5 added
Actions