Project

General

Profile

Actions

Bug #90032

closed

[BUGFIX] Return integer from Command::execute() to satisfy Symfony 5

Added by Michael Schams over 4 years ago. Updated about 4 years ago.

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.

Actions #1

Updated by Gerrit Code Review over 4 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

Actions #2

Updated by Anonymous over 4 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #3

Updated by Benni Mack about 4 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF