Deprecation: #85996 - ExtensionManager CommandController
See forge#85996
Description
The following Extension Manager CLI commands have been reimplemented internally with Symfony console commands:
extensionmanager:
, nowextension: install extension:
activate extensionmanager:
, nowextension: uninstall extension:
deactivate extensionmanager:
, nowextension: dumpclassloadinginformation dumpautoload
The left-over command controller PHP class \TYPO3\
is not in use anymore, and therefore has been marked as deprecated.
Impact
Calling any of the commands within the PHP class will trigger a PHP E_
error.
Affected Installations
TYPO3 installations that extend the command controller directly in extensions are affected by this change. Installations simply using the CLI entrypoint are not affected.
Migration
- use
extension:
instead ofactivate extensionmanager:
extension: install - use
extension:
instead ofdeactivate extensionmanager:
extension: uninstall - use
dumpautoload
instead ofextensionmanager:
extension: dumpclassloadinginformation
In order to achieve the same functionality within custom PHP code, it is recommended to use the underlying logic within the commands instead of calling or extending the command controller class.