Deprecation: #97787 - Severities of flash messages and reports deprecated
See forge#97787
Description
With the introduction of
\TYPO3\
,
the existing severity constants of
\TYPO3\
and
\TYPO3\
have been marked as deprecated.
Impact
Passing the constants as listed below to the constructor of
\TYPO3\
will trigger a PHP
E_
error:
\TYPO3\
CMS\ Core\ Messaging\ Flash Message:: NOTICE \TYPO3\
CMS\ Core\ Messaging\ Flash Message:: INFO \TYPO3\
CMS\ Core\ Messaging\ Flash Message:: OK \TYPO3\
CMS\ Core\ Messaging\ Flash Message:: WARNING \TYPO3\
CMS\ Core\ Messaging\ Flash Message:: ERROR
Passing the constants as listed below to the constructor of
\TYPO3\
will trigger a PHP
E_
error:
\TYPO3\
CMS\ Reports\ Status:: NOTICE \TYPO3\
CMS\ Reports\ Status:: INFO \TYPO3\
CMS\ Reports\ Status:: OK \TYPO3\
CMS\ Reports\ Status:: WARNING \TYPO3\
CMS\ Reports\ Status:: ERROR
Affected installations
All installations with 3rd party plugins using the aforementioned constants are affected.
Migration
Use the cases of the
\TYPO3\
enum.
The following cases are available:
\TYPO3\
CMS\ Core\ Type\ Contextual Feedback Severity:: NOTICE \TYPO3\
CMS\ Core\ Type\ Contextual Feedback Severity:: INFO \TYPO3\
CMS\ Core\ Type\ Contextual Feedback Severity:: OK \TYPO3\
CMS\ Core\ Type\ Contextual Feedback Severity:: WARNING \TYPO3\
CMS\ Core\ Type\ Contextual Feedback Severity:: ERROR