Breaking: #101471 - Introduce type declarations in AbstractDriver¶
See forge#101471
Description¶
Return and param type declarations have been introduced for all methods and method
stubs of of \TYPO3\CMS\Core\Resource\Driver\AbstractDriver
and
\TYPO3\CMS\Core\Resource\Driver\AbstractHierarchicalFilesystemDriver
Impact¶
In consequence, all classes, extending any of those abstract classes and overriding any of those affected methods need to reflect those changes and add the same return and param type declarations.
Affected methods are:
\TYPO3\CMS\Core\Resource\Driver\AbstractDriver::isValidFilename()
\TYPO3\CMS\Core\Resource\Driver\AbstractDriver::getTemporaryPathForFile()
\TYPO3\CMS\Core\Resource\Driver\AbstractDriver::canonicalizeAndCheckFilePath()
\TYPO3\CMS\Core\Resource\Driver\AbstractDriver::canonicalizeAndCheckFileIdentifier()
\TYPO3\CMS\Core\Resource\Driver\AbstractDriver::canonicalizeAndCheckFolderIdentifier()
\TYPO3\CMS\Core\Resource\Driver\AbstractHierarchicalFilesystemDriver::isPathValid()
\TYPO3\CMS\Core\Resource\Driver\AbstractHierarchicalFilesystemDriver::canonicalizeAndCheckFilePath()
\TYPO3\CMS\Core\Resource\Driver\AbstractHierarchicalFilesystemDriver::canonicalizeAndCheckFileIdentifier()
\TYPO3\CMS\Core\Resource\Driver\AbstractHierarchicalFilesystemDriver::canonicalizeAndCheckFolderIdentifier()
Affected installations¶
Installations that extend any of those abstract classes might be affected.
Migration¶
Add the same param and return type declarations the interface does.