Project

General

Profile

Actions

Bug #91872

closed

Core commands do not return int, triggering an error

Added by Stefan P over 3 years ago. Updated over 2 years ago.

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);
}

Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Task #90652: Commands should return an integer value based on their successClosedAnja Leichsenring2020-03-05

Actions
Related to TYPO3 Core - Bug #89936: Command "site:list" not compatible with symfony 5Closed2019-12-13

Actions
Actions #1

Updated by Stefan P over 3 years ago

  • Related to Task #90652: Commands should return an integer value based on their success added
Actions #2

Updated by Stefan P over 3 years ago

  • Category set to scheduler
  • Complexity set to no-brainer
Actions #3

Updated by Timo Webler over 3 years ago

  • Related to Bug #89936: Command "site:list" not compatible with symfony 5 added
Actions #4

Updated by Stefan P over 2 years ago

Can be closed, v9 is dead.

Actions #5

Updated by Christian Kuhn over 2 years ago

  • Status changed from New to Closed
Actions

Also available in: Atom PDF