diff --git a/config/v13/introduce-capabilities-bit-set.php b/config/v13/introduce-capabilities-bit-set.php index 69cf8e6d7..6eb43567b 100644 --- a/config/v13/introduce-capabilities-bit-set.php +++ b/config/v13/introduce-capabilities-bit-set.php @@ -5,8 +5,6 @@ use Rector\Config\RectorConfig; use Rector\Renaming\Rector\ClassConstFetch\RenameClassConstFetchRector; use Rector\Renaming\ValueObject\RenameClassAndConstFetch; -use TYPO3\CMS\Core\Resource\Capabilities; -use TYPO3\CMS\Core\Resource\ResourceStorageInterface; return static function (RectorConfig $rectorConfig): void { // constants only have been moved into new Capabilities class @@ -18,9 +16,9 @@ ]; $configuration = array_map(static fn ($capability) => new RenameClassAndConstFetch( - ResourceStorageInterface::class, + 'TYPO3\CMS\Core\Resource\ResourceStorageInterface', $capability, - Capabilities::class, + 'TYPO3\CMS\Core\Resource\Capabilities', $capability ), $capabilities);