Deprecation: #100047 - Deprecated ConditionMatcher classes
See forge#100047
Description
The following classes have been marked as deprecated in TYPO3 v12 and will be removed with v13:
\TYPO3\
CMS\ Core\ Configuration\ Typo Script\ Condition Matching\ Condition Matcher Interface \TYPO3\
CMS\ Core\ Configuration\ Typo Script\ Condition Matching\ Abstract Condition Matcher \TYPO3\
CMS\ Backend\ Configuration\ Typo Script\ Condition Matching\ Condition Matcher \TYPO3\
CMS\ Frontend\ Configuration\ Typo Script\ Condition Matching\ Condition Matcher
Impact
The TYPO3 Core only uses these classes within the old TypoScript parser classes, which have been deprecated as well. Using the classes will trigger a deprecation level log entry.
Affected installations
There was probably little need to implement new variants of the above classes as
the underlying Expression
construct has its own API to add new
variables and functions for this TypoScript condition related to Symfony expression
language usage.
Migration
No direct migration possible. These classes have been merged into the new
TypoScript parser approach, specifically for class
\TYPO3\
.
Adding TypoScript related expression language variables and functions should be
done using \TYPO3\
.