Deprecation: #90692 - FileCollection models

See forge#90692

Description

The following classes have been marked as deprecated:

  • \TYPO3\CMS\Extbase\Domain\Model\StaticFileCollection

  • \TYPO3\CMS\Extbase\Domain\Model\FolderBasedFileCollection

  • \TYPO3\CMS\Extbase\Domain\Model\AbstractFileCollection

  • \TYPO3\CMS\Extbase\Property\TypeConverter\StaticFileCollectionConverter

  • \TYPO3\CMS\Extbase\Property\TypeConverter\FolderBasedFileCollectionConverter

  • \TYPO3\CMS\Extbase\Property\TypeConverter\AbstractFileCollectionConverter

The classes were marked as internal and never contained any logic. Therefore and in order to streamline the codebase of Extbase, the files will be removed with TYPO3 11.0.

Impact

Using any of the mentioned classes will trigger a PHP E_USER_DEPRECATED error.

Affected Installations

Any TYPO3 installation with a third-party extension using the classes.

Migration

Copy the classes to your own extension and adopt the usages.