Task #91534

Epic #91473: Removal of deprecated code planned to be removed in TYPO3 v11.0

Remove deprecated Commands.php loading

Added by Benjamin Franzke about 1 month ago. Updated about 1 month ago.

Status:
Resolved
Priority:
Should have
Category:
CLI
Target version:
Start date:
2020-05-29
Due date:
% Done:

100%

TYPO3 Version:
11
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

In favor of DI tag based configuration as introduced by https://review.typo3.org/c/Packages/TYPO3.CMS/+/61630


Related issues

Related to TYPO3 Core - Feature #89139: Symfony Console Commands should be able to use dependency injection Closed 2019-09-11

Associated revisions

Revision 98cf5d69 (diff)
Added by Benjamin Franzke about 1 month ago

[!!!][TASK] Remove support for deprecated CLI command configuration

Configuration via Commands.php had been superseded by tag based
DI service configuration which allowed to configure DI and dependencies
for CLI commands in one place.

The CommandRegistry is refactored as the runtime merging logic
can now be dropped and handled in addLazyCommand – which is called
by the symfony DI generated factory – instead.

Resolves: #91534
Related: #91473
Related: #89139
Releases: master
Change-Id: I24fc554902650c66b8dc397708d80968514c6744
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/64603
Tested-by: Benni Mack <>
Tested-by: TYPO3com <>
Tested-by: Andreas Fernandez <>
Reviewed-by: Benni Mack <>
Reviewed-by: Andreas Fernandez <>

History

#1 Updated by Benjamin Franzke about 1 month ago

  • Related to Feature #89139: Symfony Console Commands should be able to use dependency injection added

#2 Updated by Gerrit Code Review about 1 month 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/+/64603

#3 Updated by Gerrit Code Review about 1 month 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/+/64603

#4 Updated by Benjamin Franzke about 1 month ago

  • Parent task set to #91473

#5 Updated by Gerrit Code Review about 1 month 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/+/64603

#6 Updated by Gerrit Code Review about 1 month 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/+/64603

#7 Updated by Benjamin Franzke about 1 month ago

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

Also available in: Atom PDF