[TASK] Avoid TypoScriptParser for string snippets
There are a couple of places in the core care that parse a TypoScript a-like syntax. The patch switches them to the new TypoScript parser by adding a factory class that is able to parse single string snippets. Resolves: #99114 Related: #97816 Releases: main Change-Id: I2292e90bbdd7ea16ad48b4b7811f9935f4a51196 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/76659 Tested-by:core-ci <typo3@b13.com> Tested-by:
Kevin Appelt <kevin.appelt@icloud.com> Reviewed-by:
Kevin Appelt <kevin.appelt@icloud.com> Tested-by:
Stefan Bürk <stefan@buerk.tech> Reviewed-by:
Stefan Bürk <stefan@buerk.tech> Tested-by:
Christian Kuhn <lolli@schwarzbu.ch> Reviewed-by:
Christian Kuhn <lolli@schwarzbu.ch>
Showing
- typo3/sysext/backend/Classes/Form/Element/BackendLayoutWizardElement.php 29 additions, 30 deletions...ckend/Classes/Form/Element/BackendLayoutWizardElement.php
- typo3/sysext/backend/Classes/View/BackendLayoutView.php 27 additions, 56 deletionstypo3/sysext/backend/Classes/View/BackendLayoutView.php
- typo3/sysext/backend/Configuration/Services.yaml 4 additions, 0 deletionstypo3/sysext/backend/Configuration/Services.yaml
- typo3/sysext/core/Classes/Configuration/ExtensionConfiguration.php 15 additions, 70 deletions...ext/core/Classes/Configuration/ExtensionConfiguration.php
- typo3/sysext/core/Classes/ServiceProvider.php 6 additions, 0 deletionstypo3/sysext/core/Classes/ServiceProvider.php
- typo3/sysext/core/Classes/TypoScript/IncludeTree/IncludeNode/StringInclude.php 28 additions, 0 deletions...sses/TypoScript/IncludeTree/IncludeNode/StringInclude.php
- typo3/sysext/core/Classes/TypoScript/IncludeTree/StringTreeBuilder.php 76 additions, 0 deletions...core/Classes/TypoScript/IncludeTree/StringTreeBuilder.php
- typo3/sysext/core/Classes/TypoScript/IncludeTree/TreeFromLineStreamBuilder.php 10 additions, 7 deletions...sses/TypoScript/IncludeTree/TreeFromLineStreamBuilder.php
- typo3/sysext/core/Classes/TypoScript/TypoScriptService.php 12 additions, 5 deletionstypo3/sysext/core/Classes/TypoScript/TypoScriptService.php
- typo3/sysext/core/Classes/TypoScript/TypoScriptStringFactory.php 76 additions, 0 deletions...ysext/core/Classes/TypoScript/TypoScriptStringFactory.php
- typo3/sysext/core/Classes/Utility/GeneralUtility.php 1 addition, 1 deletiontypo3/sysext/core/Classes/Utility/GeneralUtility.php
- typo3/sysext/core/Configuration/Services.yaml 6 additions, 0 deletionstypo3/sysext/core/Configuration/Services.yaml
- typo3/sysext/core/Tests/Functional/TypoScript/Fixtures/SimpleCondition.typoscript 4 additions, 0 deletions...Functional/TypoScript/Fixtures/SimpleCondition.typoscript
- typo3/sysext/core/Tests/Functional/TypoScript/TypoScriptStringFactoryTest.php 74 additions, 0 deletions...sts/Functional/TypoScript/TypoScriptStringFactoryTest.php
- typo3/sysext/core/Tests/Unit/Fixtures/EventDispatcher/MockEventDispatcher.php 1 addition, 1 deletion...sts/Unit/Fixtures/EventDispatcher/MockEventDispatcher.php
- typo3/sysext/install/Classes/Controller/LayoutController.php 1 addition, 1 deletiontypo3/sysext/install/Classes/Controller/LayoutController.php
Please register or sign in to comment