diff --git a/composer.json b/composer.json index 3fd382e..59b515d 100644 --- a/composer.json +++ b/composer.json @@ -14,10 +14,11 @@ "type": "typo3-cms-extension", "license": "GPL-2.0-or-later", "require": { - "php": "^7.2", + "php": "^7.4 || ^8.0", "typo3/cms-core": "^10.4 || ^11.5", "ext-json": "*" }, + "version": "7.0", "autoload": { "psr-4": { "In2code\\Instagram\\": "Classes/" diff --git a/ext_emconf.php b/ext_emconf.php index 78d49e5..0cb08c3 100644 --- a/ext_emconf.php +++ b/ext_emconf.php @@ -11,7 +11,7 @@ 'constraints' => [ 'depends' => [ 'typo3' => '10.4.0-11.5.99', - 'php' => '7.2.0-7.99.99' + 'php' => '7.2.0-8.0.99' ], 'conflicts' => [], 'suggests' => [], diff --git a/ext_localconf.php b/ext_localconf.php index 30985d5..ec0c6a9 100644 --- a/ext_localconf.php +++ b/ext_localconf.php @@ -20,7 +20,7 @@ function () { /** * Caching framework */ - if (!is_array($GLOBALS['TYPO3_CONF_VARS']['SYS']['caching']['cacheConfigurations']['instagram'])) { + if (!is_array(($GLOBALS['TYPO3_CONF_VARS']['SYS']['caching']['cacheConfigurations']['instagram'] ?? 0))) { $GLOBALS['TYPO3_CONF_VARS']['SYS']['caching']['cacheConfigurations']['instagram'] = []; }