Project

General

Profile

Actions

Task #85025

closed

Enumerations must be final

Added by Mathias Brodala almost 6 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Must have
Category:
Code Cleanup
Target version:
Start date:
2018-05-16
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
9
PHP Version:
Tags:
Complexity:
easy
Sprint Focus:

Description

All Enumeration classes in TYPO3 must be marked as final. It does not make sense to have these extendable since the code which uses these expects a know set of values, adding more values leads to undefined behavior, thus bugs.

Actions

Also available in: Atom PDF