diff --git a/typo3/sysext/backend/Classes/Utility/BackendUtility.php b/typo3/sysext/backend/Classes/Utility/BackendUtility.php index 6545e024c03e44fb7bdb1e7d5b4eac41dd2463cb..bd0643752ce0da542287882bff07e96134332345 100644 --- a/typo3/sysext/backend/Classes/Utility/BackendUtility.php +++ b/typo3/sysext/backend/Classes/Utility/BackendUtility.php @@ -18,7 +18,7 @@ use Psr\Log\LoggerInterface; use TYPO3\CMS\Backend\Routing\UriBuilder; use TYPO3\CMS\Core\Authentication\BackendUserAuthentication; use TYPO3\CMS\Core\Cache\CacheManager; -use TYPO3\CMS\Core\Cache\Frontend\VariableFrontend; +use TYPO3\CMS\Core\Cache\Frontend\FrontendInterface; use TYPO3\CMS\Core\Database\Connection; use TYPO3\CMS\Core\Database\ConnectionPool; use TYPO3\CMS\Core\Database\Query\QueryBuilder; @@ -3575,7 +3575,7 @@ class BackendUtility /** * Gets an instance of the runtime cache. * - * @return VariableFrontend + * @return FrontendInterface */ protected static function getRuntimeCache() { diff --git a/typo3/sysext/core/Classes/Core/Bootstrap.php b/typo3/sysext/core/Classes/Core/Bootstrap.php index a6649baddb5cee62d807d148f1eff8331c698af9..4dee4e5d791283e5e9a5bf6449748bf79855dee1 100644 --- a/typo3/sysext/core/Classes/Core/Bootstrap.php +++ b/typo3/sysext/core/Classes/Core/Bootstrap.php @@ -838,7 +838,7 @@ class Bootstrap // See if the Routes.php from all active packages have been built together already $cacheIdentifier = 'BackendRoutesFromPackages_' . sha1((TYPO3_version . PATH_site . 'BackendRoutesFromPackages')); - /** @var $codeCache \TYPO3\CMS\Core\Cache\Frontend\PhpFrontend */ + /** @var $codeCache \TYPO3\CMS\Core\Cache\Frontend\FrontendInterface */ $codeCache = $this->getEarlyInstance(\TYPO3\CMS\Core\Cache\CacheManager::class)->getCache('cache_core'); $routesFromPackages = []; if ($codeCache->has($cacheIdentifier)) { diff --git a/typo3/sysext/core/Classes/DataHandling/DataHandler.php b/typo3/sysext/core/Classes/DataHandling/DataHandler.php index 0a2ccebdca63e944d94a4a15f64a25477e16c3ee..428ba63a8d8ad49bdc5d14cd4e94d5840b458958 100644 --- a/typo3/sysext/core/Classes/DataHandling/DataHandler.php +++ b/typo3/sysext/core/Classes/DataHandling/DataHandler.php @@ -24,7 +24,7 @@ use Psr\Log\LoggerAwareTrait; use TYPO3\CMS\Backend\Utility\BackendUtility; use TYPO3\CMS\Core\Authentication\BackendUserAuthentication; use TYPO3\CMS\Core\Cache\CacheManager; -use TYPO3\CMS\Core\Cache\Frontend\VariableFrontend; +use TYPO3\CMS\Core\Cache\Frontend\FrontendInterface; use TYPO3\CMS\Core\Configuration\FlexForm\Exception\InvalidIdentifierException; use TYPO3\CMS\Core\Configuration\FlexForm\Exception\InvalidParentRowException; use TYPO3\CMS\Core\Configuration\FlexForm\Exception\InvalidParentRowLoopException; @@ -684,7 +684,7 @@ class DataHandler implements LoggerAwareInterface /** * Runtime Cache to store and retrieve data computed for a single request * - * @var \TYPO3\CMS\Core\Cache\Frontend\VariableFrontend + * @var \TYPO3\CMS\Core\Cache\Frontend\FrontendInterface */ protected $runtimeCache = null; @@ -8947,7 +8947,7 @@ class DataHandler implements LoggerAwareInterface /** * Gets an instance of the runtime cache. * - * @return VariableFrontend + * @return FrontendInterface */ protected function getRuntimeCache() { diff --git a/typo3/sysext/core/Classes/Database/ReferenceIndex.php b/typo3/sysext/core/Classes/Database/ReferenceIndex.php index 57203057fb35ddd8a18d71016262360d1e5c2a3a..d34a4e671bc2ee082e7e9236265a4d18040f0a2e 100644 --- a/typo3/sysext/core/Classes/Database/ReferenceIndex.php +++ b/typo3/sysext/core/Classes/Database/ReferenceIndex.php @@ -146,7 +146,7 @@ class ReferenceIndex implements LoggerAwareInterface /** * Runtime Cache to store and retrieve data computed for a single request * - * @var \TYPO3\CMS\Core\Cache\Frontend\VariableFrontend + * @var \TYPO3\CMS\Core\Cache\Frontend\FrontendInterface */ protected $runtimeCache = null; diff --git a/typo3/sysext/core/Classes/Imaging/GraphicalFunctions.php b/typo3/sysext/core/Classes/Imaging/GraphicalFunctions.php index 663afb5eb8d65f10e35d601ff9d0285dcc19dca9..b7058d3298a120a98e7815ceea5c1344c3363962 100644 --- a/typo3/sysext/core/Classes/Imaging/GraphicalFunctions.php +++ b/typo3/sysext/core/Classes/Imaging/GraphicalFunctions.php @@ -2193,7 +2193,7 @@ class GraphicalFunctions $statusHash = $this->generateStatusHashForImageFile($filePath); $identifier = $this->generateCacheKeyForImageFile($filePath); - /** @var \TYPO3\CMS\Core\Cache\Frontend\VariableFrontend $cache */ + /** @var \TYPO3\CMS\Core\Cache\Frontend\FrontendInterface $cache */ $cache = GeneralUtility::makeInstance(CacheManager::class)->getCache('cache_imagesizes'); $imageDimensions = [ 'hash' => $statusHash, @@ -2217,7 +2217,7 @@ class GraphicalFunctions { $statusHash = $this->generateStatusHashForImageFile($filePath); $identifier = $this->generateCacheKeyForImageFile($filePath); - /** @var \TYPO3\CMS\Core\Cache\Frontend\VariableFrontend $cache */ + /** @var \TYPO3\CMS\Core\Cache\Frontend\FrontendInterface $cache */ $cache = GeneralUtility::makeInstance(CacheManager::class)->getCache('cache_imagesizes'); $cachedImageDimensions = $cache->get($identifier); if (!isset($cachedImageDimensions['hash'])) { diff --git a/typo3/sysext/core/Classes/Localization/LocalizationFactory.php b/typo3/sysext/core/Classes/Localization/LocalizationFactory.php index a6263d52115092b3f24b95a07f8fbfce6edbecf5..aa1b08dc2aa630e3ef0531b4358a184e4adf862a 100644 --- a/typo3/sysext/core/Classes/Localization/LocalizationFactory.php +++ b/typo3/sysext/core/Classes/Localization/LocalizationFactory.php @@ -24,7 +24,7 @@ use TYPO3\CMS\Core\Utility\GeneralUtility; class LocalizationFactory implements \TYPO3\CMS\Core\SingletonInterface { /** - * @var \TYPO3\CMS\Core\Cache\Frontend\StringFrontend + * @var \TYPO3\CMS\Core\Cache\Frontend\FrontendInterface */ protected $cacheInstance; diff --git a/typo3/sysext/core/Classes/Package/PackageManager.php b/typo3/sysext/core/Classes/Package/PackageManager.php index 5d6622ab096c8e1a2835f8e24609b3f74b8ff0b1..c5a423c334f942ae9c380d2b4a0b38807beb8fd7 100644 --- a/typo3/sysext/core/Classes/Package/PackageManager.php +++ b/typo3/sysext/core/Classes/Package/PackageManager.php @@ -16,6 +16,7 @@ namespace TYPO3\CMS\Core\Package; use Symfony\Component\Finder\Finder; use Symfony\Component\Finder\SplFileInfo; +use TYPO3\CMS\Core\Cache\Frontend\FrontendInterface; use TYPO3\CMS\Core\Compatibility\LoadedExtensionArrayElement; use TYPO3\CMS\Core\Core\Bootstrap; use TYPO3\CMS\Core\Core\ClassLoadingInformation; @@ -37,7 +38,7 @@ class PackageManager implements \TYPO3\CMS\Core\SingletonInterface protected $dependencyResolver; /** - * @var \TYPO3\CMS\Core\Cache\Frontend\PhpFrontend + * @var FrontendInterface */ protected $coreCache; @@ -110,9 +111,9 @@ class PackageManager implements \TYPO3\CMS\Core\SingletonInterface } /** - * @param \TYPO3\CMS\Core\Cache\Frontend\PhpFrontend $coreCache + * @param FrontendInterface $coreCache */ - public function injectCoreCache(\TYPO3\CMS\Core\Cache\Frontend\PhpFrontend $coreCache) + public function injectCoreCache(FrontendInterface $coreCache) { $this->coreCache = $coreCache; } diff --git a/typo3/sysext/core/Classes/Page/PageRenderer.php b/typo3/sysext/core/Classes/Page/PageRenderer.php index 08366cf1c8c78bcde87437e12a765588240c91a0..78021a4f4ada7414fe77e5d6e85c43d312596ffd 100644 --- a/typo3/sysext/core/Classes/Page/PageRenderer.php +++ b/typo3/sysext/core/Classes/Page/PageRenderer.php @@ -17,7 +17,7 @@ namespace TYPO3\CMS\Core\Page; use TYPO3\CMS\Backend\Routing\Router; use TYPO3\CMS\Backend\Routing\UriBuilder; use TYPO3\CMS\Core\Cache\CacheManager; -use TYPO3\CMS\Core\Cache\Frontend\VariableFrontend; +use TYPO3\CMS\Core\Cache\Frontend\FrontendInterface; use TYPO3\CMS\Core\Localization\LocalizationFactory; use TYPO3\CMS\Core\Service\MarkerBasedTemplateService; use TYPO3\CMS\Core\Utility\ExtensionManagementUtility; @@ -1367,7 +1367,7 @@ class PageRenderer implements \TYPO3\CMS\Core\SingletonInterface $loadedExtensions = ExtensionManagementUtility::getLoadedExtensionListArray(); $isDevelopment = GeneralUtility::getApplicationContext()->isDevelopment(); $cacheIdentifier = 'requireJS_' . md5(implode(',', $loadedExtensions) . ($isDevelopment ? ':dev' : '') . GeneralUtility::getIndpEnv('TYPO3_REQUEST_SCRIPT')); - /** @var VariableFrontend $cache */ + /** @var FrontendInterface $cache */ $cache = GeneralUtility::makeInstance(CacheManager::class)->getCache('assets'); $this->requireJsConfig = $cache->get($cacheIdentifier); diff --git a/typo3/sysext/core/Classes/Utility/ExtensionManagementUtility.php b/typo3/sysext/core/Classes/Utility/ExtensionManagementUtility.php index c96a36c9328595b368470cdfd64fecf3987122a7..9078e88e37dc9fc3b62af5dac6916fadc444fbf5 100644 --- a/typo3/sysext/core/Classes/Utility/ExtensionManagementUtility.php +++ b/typo3/sysext/core/Classes/Utility/ExtensionManagementUtility.php @@ -1512,7 +1512,7 @@ tt_content.' . $key . $suffix . ' { { if ($allowCaching) { $cacheIdentifier = self::getExtLocalconfCacheIdentifier(); - /** @var $codeCache \TYPO3\CMS\Core\Cache\Frontend\PhpFrontend */ + /** @var $codeCache \TYPO3\CMS\Core\Cache\Frontend\FrontendInterface */ $codeCache = self::getCacheManager()->getCache('cache_core'); if ($codeCache->has($cacheIdentifier)) { $codeCache->requireOnce($cacheIdentifier); @@ -1611,7 +1611,7 @@ tt_content.' . $key . $suffix . ' { { if ($allowCaching) { $cacheIdentifier = static::getBaseTcaCacheIdentifier(); - /** @var $codeCache \TYPO3\CMS\Core\Cache\Frontend\PhpFrontend */ + /** @var $codeCache \TYPO3\CMS\Core\Cache\Frontend\FrontendInterface */ $codeCache = static::getCacheManager()->getCache('cache_core'); $cacheData = $codeCache->requireOnce($cacheIdentifier); if ($cacheData) { @@ -1731,7 +1731,7 @@ tt_content.' . $key . $suffix . ' { */ protected static function createBaseTcaCacheFile() { - /** @var $codeCache \TYPO3\CMS\Core\Cache\Frontend\PhpFrontend */ + /** @var $codeCache \TYPO3\CMS\Core\Cache\Frontend\FrontendInterface */ $codeCache = self::getCacheManager()->getCache('cache_core'); $codeCache->set( static::getBaseTcaCacheIdentifier(), @@ -1767,7 +1767,7 @@ tt_content.' . $key . $suffix . ' { if ($allowCaching && !self::$extTablesWasReadFromCacheOnce) { self::$extTablesWasReadFromCacheOnce = true; $cacheIdentifier = self::getExtTablesCacheIdentifier(); - /** @var $codeCache \TYPO3\CMS\Core\Cache\Frontend\PhpFrontend */ + /** @var $codeCache \TYPO3\CMS\Core\Cache\Frontend\FrontendInterface */ $codeCache = self::getCacheManager()->getCache('cache_core'); if ($codeCache->has($cacheIdentifier)) { $codeCache->requireOnce($cacheIdentifier); diff --git a/typo3/sysext/extbase/Classes/Persistence/Generic/Mapper/DataMapFactory.php b/typo3/sysext/extbase/Classes/Persistence/Generic/Mapper/DataMapFactory.php index 633edd05f3c78fd954d15518b3397d19d2f49757..1ab4d35f84d238ff9c855c2a6e0cf5fe88bec4d6 100644 --- a/typo3/sysext/extbase/Classes/Persistence/Generic/Mapper/DataMapFactory.php +++ b/typo3/sysext/extbase/Classes/Persistence/Generic/Mapper/DataMapFactory.php @@ -42,7 +42,7 @@ class DataMapFactory implements \TYPO3\CMS\Core\SingletonInterface protected $cacheManager; /** - * @var \TYPO3\CMS\Core\Cache\Frontend\VariableFrontend + * @var \TYPO3\CMS\Core\Cache\Frontend\FrontendInterface */ protected $dataMapCache; diff --git a/typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php b/typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php index 83fb59abd34156b8c11c1f93f1be1d24e86b8a89..879b148a28997732481b31fc78e87fbe561daa04 100644 --- a/typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php +++ b/typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php @@ -815,7 +815,7 @@ class ContentObjectRenderer if ($cacheConfiguration !== null) { $key = $this->calculateCacheKey($cacheConfiguration); if (!empty($key)) { - /** @var $cacheFrontend \TYPO3\CMS\Core\Cache\Frontend\VariableFrontend */ + /** @var $cacheFrontend \TYPO3\CMS\Core\Cache\Frontend\FrontendInterface */ $cacheFrontend = GeneralUtility::makeInstance(CacheManager::class)->getCache('cache_hash'); $tags = $this->calculateCacheTags($cacheConfiguration); $lifetime = $this->calculateCacheLifetime($cacheConfiguration); @@ -2861,7 +2861,7 @@ class ContentObjectRenderer if (empty($key)) { return $content; } - /** @var $cacheFrontend \TYPO3\CMS\Core\Cache\Frontend\VariableFrontend */ + /** @var $cacheFrontend \TYPO3\CMS\Core\Cache\Frontend\FrontendInterface */ $cacheFrontend = GeneralUtility::makeInstance(CacheManager::class)->getCache('cache_hash'); $tags = $this->calculateCacheTags($conf['cache.']); $lifetime = $this->calculateCacheLifetime($conf['cache.']); @@ -7084,7 +7084,7 @@ class ContentObjectRenderer $cacheKey = $this->calculateCacheKey($configuration); if (!empty($cacheKey)) { - /** @var $cacheFrontend \TYPO3\CMS\Core\Cache\Frontend\VariableFrontend */ + /** @var $cacheFrontend \TYPO3\CMS\Core\Cache\Frontend\FrontendInterface */ $cacheFrontend = GeneralUtility::makeInstance(CacheManager::class) ->getCache('cache_hash'); $content = $cacheFrontend->get($cacheKey); diff --git a/typo3/sysext/recycler/Classes/Controller/DeletedRecordsController.php b/typo3/sysext/recycler/Classes/Controller/DeletedRecordsController.php index 09b9e65ddb3e41bc6b2b838ef62b9c099255bae6..b3f777c3d8d775d2e80aea9265aa1236e8ff880f 100644 --- a/typo3/sysext/recycler/Classes/Controller/DeletedRecordsController.php +++ b/typo3/sysext/recycler/Classes/Controller/DeletedRecordsController.php @@ -30,7 +30,7 @@ use TYPO3\CMS\Recycler\Utility\RecyclerUtility; class DeletedRecordsController { /** - * @var \TYPO3\CMS\Core\Cache\Frontend\VariableFrontend + * @var \TYPO3\CMS\Core\Cache\Frontend\FrontendInterface */ protected $runtimeCache = null; @@ -199,7 +199,7 @@ class DeletedRecordsController /** * Gets an instance of the memory cache. * - * @return \TYPO3\CMS\Core\Cache\Frontend\VariableFrontend + * @return \TYPO3\CMS\Core\Cache\Frontend\FrontendInterface */ protected function getMemoryCache() {