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]
getTitle () - [not scanned]
setTitle () - [not scanned]
getIdentifier () - [not scanned]
setIdentifier () - [not scanned]
getDescription () executeUpdate () updateNecessary () getPrerequisites () setOutput () shouldRender Wizard () checkIf Table Exists () installExtensions () markWizard As Done () isWizard 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.