You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
=========================================================================
Deprecation: #97787 - Severities of flash messages and reports deprecated
See :issue:97787
Description
With the introduction of :php:\TYPO3\CMS\Core\Type\ContextualFeedbackSeverity,
the existing severity constants of :php:\TYPO3\CMS\Core\Messaging\FlashMessage
and :php:\TYPO3\CMS\Reports\Status have been marked as deprecated.
Impact
Passing the constants as listed below to the constructor of
:php:\TYPO3\CMS\Core\Messaging\FlashMessage will trigger a deprecation level
log entry:
Deprecation: #97787 - Severities of flash messages and reports deprecated
https://docs.typo3.org/c/typo3/cms-core/master/en-us/Changelog/12.0/Deprecation-97787-SeveritiesOfFlashMessagesAndReportsDeprecated.html
.. include:: /Includes.rst.txt
.. _deprecation-97787-1655495192:
=========================================================================
Deprecation: #97787 - Severities of flash messages and reports deprecated
See :issue:
97787
Description
With the introduction of :php:
\TYPO3\CMS\Core\Type\ContextualFeedbackSeverity
,the existing severity constants of :php:
\TYPO3\CMS\Core\Messaging\FlashMessage
and :php:
\TYPO3\CMS\Reports\Status
have been marked as deprecated.Impact
Passing the constants as listed below to the constructor of
:php:
\TYPO3\CMS\Core\Messaging\FlashMessage
will trigger a deprecation levellog entry:
\TYPO3\CMS\Core\Messaging\FlashMessage::NOTICE
\TYPO3\CMS\Core\Messaging\FlashMessage::INFO
\TYPO3\CMS\Core\Messaging\FlashMessage::OK
\TYPO3\CMS\Core\Messaging\FlashMessage::WARNING
\TYPO3\CMS\Core\Messaging\FlashMessage::ERROR
Passing the constants as listed below to the constructor of
:php:
\TYPO3\CMS\Reports\Status
will trigger a deprecation level log entry:\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 :php:
\TYPO3\CMS\Core\Type\ContextualFeedbackSeverity
enum.The following cases are available:
\TYPO3\CMS\Core\Type\ContextualFeedbackSeverity::NOTICE
\TYPO3\CMS\Core\Type\ContextualFeedbackSeverity::INFO
\TYPO3\CMS\Core\Type\ContextualFeedbackSeverity::OK
\TYPO3\CMS\Core\Type\ContextualFeedbackSeverity::WARNING
\TYPO3\CMS\Core\Type\ContextualFeedbackSeverity::ERROR
.. index:: PHP-API, FullyScanned, ext:core
The text was updated successfully, but these errors were encountered: