Deprecation: #86366 - Methods in AbstractUpdate¶
See forge#86366
Description¶
To ease the update pain a compatibility layer for AbstractUpdate based upgrade wizards has been implemented, that allows running "old" wizards on CLI (enabling extension authors to support both TYPO3 v8 and TYPO3 v9 with one wizard).
The following methods of class \TYPO3\
have been marked as deprecated and will be removed with TYPO3 v10:
- [not scanned]
get
Title () - [not scanned]
set
Title () - [not scanned]
get
Identifier () - [not scanned]
set
Identifier () - [not scanned]
get
Description () execute
Update () update
Necessary () get
Prerequisites () set
Output () should
Render Wizard () check
If Table Exists () install
Extensions () mark
Wizard As Done () is
Wizard Done ()
The class itself has also been marked as deprecated, construction will trigger a PHP E_
error.
Impact¶
Calling the mentioned methods through an extended class will trigger a PHP E_
error.
All UpdateWizards extending AbstractUpdate gained cli capability since forge#86076.
Affected Installations¶
Each instance with custom update wizards that extend AbstractUpdate.
Migration¶
Use the interfaces instead the abstract class to define the capabilities of the Upgrade Wizard class. See https://docs.typo3.org/typo3cms/extensions/core/latest/Changelog/9.4/Feature-86076-NewAPIForUpgradeWizards.html.