Bug #100205
closed@import lost the flexibility from Symfony Finder
100%
Description
The documentation mentioned `Internals: Under the hood, Symfony Finder is use to find the file and provides the "globbing" feature (* syntax).`
This implementation is lost since the deprecation of TyposcriptParser (https://review.typo3.org/c/Packages/TYPO3.CMS/+/76565). It simply uses the scandir() function in vendor/typo3/cms-core/Classes/TypoScript/IncludeTree/TreeFromLineStreamBuilder.php
My usecase was to dynamically include setup/constants for scoped extenion overrides;
In my constants.typoscript i have this;
@import 'EXT:my_package/Configuration/TypoScript/Extensions/*/constants.typoscript'
And my setup.typoscript i use a similar:
@import 'EXT:my_package/Configuration/TypoScript/Extensions/*/setup.typoscript'
This functionality is not working anymore in the new TreeFromLineStreamBuilder. As the Symfony Finder package is still widely used, I would suggest to keep using this package too.
Files