Breaking: #101129 - Convert Action to native backed enum
See forge#101129
Description
The class
\TYPO3\
is now
converted to a native backed enum. In addition the class is moved to
the namespace
\TYPO3\
and renamed to
Scheduler
.
Impact
Since
\TYPO3\
is no longer
a class, the existing class constants are no longer available.
In addition it's not possible to instantiate it anymore.
Affected installations
Third-party extensions using the following class constants:
\TYPO3\
CMS\ Scheduler\ Task\ Enumeration\ Action:: ADD \TYPO3\
CMS\ Scheduler\ Task\ Enumeration\ Action:: EDIT \TYPO3\
CMS\ Scheduler\ Task\ Enumeration\ Action:: LIST
Class instantiation:
new Action
('a- string')
Migration
Include the enum
Scheduler
from namespace
\TYPO3\
as a replacement for
Action
.
Use the new syntax
\TYPO3\
CMS\ Scheduler\ Scheduler Management Action:: ADD \TYPO3\
CMS\ Scheduler\ Scheduler Management Action:: EDIT \TYPO3\
CMS\ Scheduler\ Scheduler Management Action:: LIST
as well as the
try
static method of the backed enum.