TYPO3 v15 dev-main snapshot ()
This commit is contained in:
@@ -0,0 +1,101 @@
|
||||
.. include:: /Includes.rst.txt
|
||||
|
||||
.. _breaking-87594:
|
||||
|
||||
=================================
|
||||
Breaking: #87594 - Harden extbase
|
||||
=================================
|
||||
|
||||
See :issue:`87594`
|
||||
|
||||
Description
|
||||
===========
|
||||
|
||||
While hardening Extbase classes, method signatures changed due to an enforced strict type mode and introduced type hints for scalars.
|
||||
The change of signatures is considered breaking for the following methods of the following interfaces and their implementations and for the following classes and their derivatives:
|
||||
|
||||
- :php:`\TYPO3\CMS\Extbase\DomainObject\DomainObjectInterface::getUid`
|
||||
- :php:`\TYPO3\CMS\Extbase\DomainObject\DomainObjectInterface::setPid`
|
||||
- :php:`\TYPO3\CMS\Extbase\DomainObject\DomainObjectInterface::getPid`
|
||||
- :php:`\TYPO3\CMS\Extbase\DomainObject\DomainObjectInterface::_isNew`
|
||||
- :php:`\TYPO3\CMS\Extbase\DomainObject\DomainObjectInterface::_setProperty`
|
||||
- :php:`\TYPO3\CMS\Extbase\DomainObject\DomainObjectInterface::_getProperty`
|
||||
- :php:`\TYPO3\CMS\Extbase\DomainObject\DomainObjectInterface::_getProperties`
|
||||
- :php:`\TYPO3\CMS\Extbase\DomainObject\DomainObjectInterface::_getCleanProperty`
|
||||
- :php:`\TYPO3\CMS\Extbase\DomainObject\AbstractDomainObject::getUid`
|
||||
- :php:`\TYPO3\CMS\Extbase\DomainObject\AbstractDomainObject::setPid`
|
||||
- :php:`\TYPO3\CMS\Extbase\DomainObject\AbstractDomainObject::getPid`
|
||||
- :php:`\TYPO3\CMS\Extbase\DomainObject\AbstractDomainObject::_isNew`
|
||||
- :php:`\TYPO3\CMS\Extbase\DomainObject\AbstractDomainObject::_setProperty`
|
||||
- :php:`\TYPO3\CMS\Extbase\DomainObject\AbstractDomainObject::_getProperty`
|
||||
- :php:`\TYPO3\CMS\Extbase\DomainObject\AbstractDomainObject::_getProperties`
|
||||
- :php:`\TYPO3\CMS\Extbase\DomainObject\AbstractDomainObject::_getCleanProperty`
|
||||
- :php:`\TYPO3\CMS\Extbase\Service\ImageService::applyProcessingInstructions`
|
||||
- :php:`\TYPO3\CMS\Extbase\Service\ImageService::getImageUri`
|
||||
- :php:`\TYPO3\CMS\Extbase\Service\ImageService::getImage`
|
||||
- :php:`\TYPO3\CMS\Extbase\Property\TypeConverterInterface::getSupportedSourceTypes()`
|
||||
- :php:`\TYPO3\CMS\Extbase\Property\TypeConverterInterface::getSupportedTargetType()`
|
||||
- :php:`\TYPO3\CMS\Extbase\Property\TypeConverterInterface::getTargetTypeForSource()`
|
||||
- :php:`\TYPO3\CMS\Extbase\Property\TypeConverterInterface::getPriority()`
|
||||
- :php:`\TYPO3\CMS\Extbase\Property\TypeConverterInterface::canConvertFrom()`
|
||||
- :php:`\TYPO3\CMS\Extbase\Property\TypeConverterInterface::getSourceChildPropertiesToBeConverted()`
|
||||
- :php:`\TYPO3\CMS\Extbase\Property\TypeConverterInterface::getTypeOfChildProperty()`
|
||||
- :php:`\TYPO3\CMS\Extbase\Property\TypeConverterInterface::convertFrom()`
|
||||
- :php:`\TYPO3\CMS\Extbase\Error\Message::__construct`
|
||||
- :php:`\TYPO3\CMS\Extbase\Error\Message::getMessage`
|
||||
- :php:`\TYPO3\CMS\Extbase\Error\Message::getCode`
|
||||
- :php:`\TYPO3\CMS\Extbase\Error\Message::getArguments`
|
||||
- :php:`\TYPO3\CMS\Extbase\Error\Message::getTitle`
|
||||
- :php:`\TYPO3\CMS\Extbase\Error\Message::render`
|
||||
- :php:`\TYPO3\CMS\Extbase\Configuration\ConfigurationManager::getContentObject`
|
||||
- :php:`\TYPO3\CMS\Extbase\Configuration\ConfigurationManager::getConfiguration`
|
||||
- :php:`\TYPO3\CMS\Extbase\Configuration\ConfigurationManager::isFeatureEnabled`
|
||||
- :php:`\TYPO3\CMS\Extbase\Mvc\Web\Routing\UriBuilder::reset()`
|
||||
- :php:`\TYPO3\CMS\Extbase\Mvc\Web\Routing\UriBuilder::build()`
|
||||
- :php:`\TYPO3\CMS\Extbase\Mvc\Web\Routing\UriBuilder::uriFor()`
|
||||
- :php:`\TYPO3\CMS\Extbase\Mvc\Web\Routing\UriBuilder::setAbsoluteUriScheme()`
|
||||
- :php:`\TYPO3\CMS\Extbase\Mvc\Web\Routing\UriBuilder::setAddQueryString()`
|
||||
- :php:`\TYPO3\CMS\Extbase\Mvc\Web\Routing\UriBuilder::setAddQueryStringMethod()`
|
||||
- :php:`\TYPO3\CMS\Extbase\Mvc\Web\Routing\UriBuilder::setArgumentPrefix()`
|
||||
- :php:`\TYPO3\CMS\Extbase\Mvc\Web\Routing\UriBuilder::setArguments()`
|
||||
- :php:`\TYPO3\CMS\Extbase\Mvc\Web\Routing\UriBuilder::setArgumentsToBeExcludedFromQueryString()`
|
||||
- :php:`\TYPO3\CMS\Extbase\Mvc\Web\Routing\UriBuilder::setCreateAbsoluteUri()`
|
||||
- :php:`\TYPO3\CMS\Extbase\Mvc\Web\Routing\UriBuilder::setFormat()`
|
||||
- :php:`\TYPO3\CMS\Extbase\Mvc\Web\Routing\UriBuilder::setLinkAccessRestrictedPages()`
|
||||
- :php:`\TYPO3\CMS\Extbase\Mvc\Web\Routing\UriBuilder::setNoCache()`
|
||||
- :php:`\TYPO3\CMS\Extbase\Mvc\Web\Routing\UriBuilder::setSection()`
|
||||
- :php:`\TYPO3\CMS\Extbase\Mvc\Web\Routing\UriBuilder::setTargetPageType()`
|
||||
- :php:`\TYPO3\CMS\Extbase\Mvc\Web\Routing\UriBuilder::setTargetPageUid()`
|
||||
- :php:`\TYPO3\CMS\Extbase\Mvc\Web\Routing\UriBuilder::setUseCacheHash()`
|
||||
- :php:`\TYPO3\CMS\Extbase\Mvc\Web\Routing\UriBuilder::getAddQueryString()`
|
||||
- :php:`\TYPO3\CMS\Extbase\Mvc\Web\Routing\UriBuilder::getAddQueryStringMethod()`
|
||||
- :php:`\TYPO3\CMS\Extbase\Mvc\Web\Routing\UriBuilder::getArguments()`
|
||||
- :php:`\TYPO3\CMS\Extbase\Mvc\Web\Routing\UriBuilder::getArgumentsToBeExcludedFromQueryString()`
|
||||
- :php:`\TYPO3\CMS\Extbase\Mvc\Web\Routing\UriBuilder::getCreateAbsoluteUri()`
|
||||
- :php:`\TYPO3\CMS\Extbase\Mvc\Web\Routing\UriBuilder::getFormat()`
|
||||
- :php:`\TYPO3\CMS\Extbase\Mvc\Web\Routing\UriBuilder::getLinkAccessRestrictedPages()`
|
||||
- :php:`\TYPO3\CMS\Extbase\Mvc\Web\Routing\UriBuilder::getNoCache()`
|
||||
- :php:`\TYPO3\CMS\Extbase\Mvc\Web\Routing\UriBuilder::getSection()`
|
||||
- :php:`\TYPO3\CMS\Extbase\Mvc\Web\Routing\UriBuilder::getTargetPageUid()`
|
||||
- :php:`\TYPO3\CMS\Extbase\Mvc\Web\Routing\UriBuilder::getUseCacheHash()`
|
||||
|
||||
|
||||
Impact
|
||||
======
|
||||
|
||||
PHP might throw a fatal error if the method signature(s) of your implementations/derivatives aren't compatible with the interface(s) and/or parent class(es).
|
||||
|
||||
|
||||
Affected Installations
|
||||
======================
|
||||
|
||||
- All installations that use classes that implement mentioned interfaces and their methods.
|
||||
- All installations that use classes that inherit mentioned classes and overwrite their methods.
|
||||
|
||||
|
||||
Migration
|
||||
=========
|
||||
|
||||
Methods need to be adjusted to be compatible with the parent class and/or interface signature.
|
||||
|
||||
.. index:: PHP-API, NotScanned
|
||||
Reference in New Issue
Block a user