Project

General

Profile

Actions

Bug #89936

closed

Command "site:list" not compatible with symfony 5

Added by Timo Webler almost 5 years ago. Updated almost 5 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
CLI
Target version:
-
Start date:
2019-12-13
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
10
PHP Version:
7.2
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

The task \TYPO3\CMS\Core\Command\SiteListCommand is not compatible with symfony 5

Error Message:

Uncaught TYPO3 Exception Return value of "TYPO3\CMS\Core\Command\SiteListCommand::execute()" must be of the type int, NULL returned.
thrown in file /var/www/vagrant/releases/20191213105740/vendor/symfony/console/Command/Command.php
in line 258

Changelog: https://github.com/symfony/console/blob/master/CHANGELOG.md

removed support for returning null from Command::execute(), return 0 instead


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #91872: Core commands do not return int, triggering an errorClosed2020-07-27

Actions
Actions

Also available in: Atom PDF