Actions
Bug #99128
closedSymfony Command: Keyword 'new' breaks DependencyInjectionContainer file
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
CLI
Target version:
-
Start date:
2022-11-18
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
10
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
Given following Symfony Command configuration in the file EXT:test/Configuration/Services.yaml:
VENDOR\Test\Command\RegistrationCommand:
tags:
- name: 'console.command'
command: 'test:registration'
description: 'Checks new User registrations and logins'
The keyword new in the Command description breaks the DependencyInjectionContainer file:
$instance->setDescription('Checks \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstanceForDi(User registrations and logins');
cause of this is following method:
sysext/core/Classes/DependencyInjection/ContainerBuilder.php :: dumpContainer
Actions