Bug #89936

Command "site:list" not compatible with symfony 5

Added by Timo Webler almost 2 years ago. Updated over 1 year 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

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

Actions
#1

Updated by Timo Webler almost 2 years ago

  • Description updated (diff)
#2

Updated by Georg Ringer almost 2 years ago

  • Status changed from New to Accepted
#3

Updated by Gerrit Code Review almost 2 years ago

  • Status changed from Accepted 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/+/62621

#4

Updated by Gerrit Code Review almost 2 years ago

Patch set 2 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/+/62621

#5

Updated by Gerrit Code Review almost 2 years ago

Patch set 3 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/+/62621

#6

Updated by Gerrit Code Review almost 2 years ago

Patch set 4 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/+/62621

#7

Updated by Gerrit Code Review almost 2 years ago

Patch set 1 for branch 9.5 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/62655

#8

Updated by Georg Ringer almost 2 years ago

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

Updated by Benni Mack over 1 year ago

  • Status changed from Resolved to Closed
#10

Updated by Timo Webler about 1 year ago

  • Related to Bug #91872: Core commands do not return int, triggering an error added

Also available in: Atom PDF