Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[!!!][FEATURE] Provide dedicated enum for contextual feedback
To clean up cluttered severity definitions for flash messages and reports, a new `ContextualFeedback` enum is introduced. The enum is backed, means it holds actual values, which match the previously known integer values for severities. An internal `transform()` method may be used to maintain backward compatibility where needed and to trigger deprecation notices. Resolves: #97787 Releases: main Change-Id: I44b706c929277bc765bf302b2b1d32aa1da31f85 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/74925 Tested-by: core-ci <[email protected]> Tested-by: Frank Nägler <[email protected]> Tested-by: Benni Mack <[email protected]> Tested-by: Andreas Fernandez <[email protected]> Reviewed-by: Frank Nägler <[email protected]> Reviewed-by: Markus Klein <[email protected]> Reviewed-by: Oliver Klee <[email protected]> Reviewed-by: Andreas Fernandez <[email protected]>
- Loading branch information