Breaking: #85025 - Enumerations are now final¶
See Issue #85025
All enumeration classes in TYPO3 have been marked as
final which prevents extension by 3rd party code.
By definition an enumeration is a limited and known set of values, any code which uses enumeration relies on this fact. If an enumeration was extended by 3rd party code undefined behavior would occur. For this reason no enumerations must be extended.
Developers of 3rd party extensions are also encouraged to mark their enumerations as
Classes extending TYPO3 enumerations will trigger a fatal PHP error.
Instances with classes extending TYPO3 enumerations.
Remove the classes which extend TYPO3 enumerations.