[TASK] Move TS condition check to TS condition matcher
The ExpressionLanguageResolver should be generic and not implement some TypoScript related logic. Therefore the check for "ELSE" expression is moved to AbstractConditionMatcher Dead code is removed on the go. Resolves: #97077 Releases: 10.4, 11.5, main Change-Id: Ic5037b46c65ffb80f2f5b242e671e2454922171c Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/73838 Tested-by:core-ci <typo3@b13.com> Tested-by:
Helmut Hummel <typo3@helhum.io> Reviewed-by:
Helmut Hummel <typo3@helhum.io>
Showing
- typo3/sysext/core/Classes/Configuration/TypoScript/ConditionMatching/AbstractConditionMatcher.php 7 additions, 4 deletions...TypoScript/ConditionMatching/AbstractConditionMatcher.php
- typo3/sysext/core/Classes/ExpressionLanguage/Resolver.php 0 additions, 6 deletionstypo3/sysext/core/Classes/ExpressionLanguage/Resolver.php
- typo3/sysext/core/Tests/Unit/Configuration/TypoScript/ConditionMatching/AbstractConditionMatcherTest.php 15 additions, 0 deletions...Script/ConditionMatching/AbstractConditionMatcherTest.php
- typo3/sysext/core/Tests/Unit/ExpressionLanguage/ResolverTest.php 3 additions, 17 deletions...ysext/core/Tests/Unit/ExpressionLanguage/ResolverTest.php
Please register or sign in to comment