Commit 8112b3cd authored by Oliver Bartsch's avatar Oliver Bartsch Committed by Andreas Fernandez
Browse files

[TASK] Declare strict types in ext_localconf.php files

Since #94739 it's possible to declare strict types
in ext_localconf.php files. This patch does this
through the core.

Resolves: #94981
Related: #94739
Releases: master
Change-Id: I61a937a487d5d065daccc58ca997a1ffd80f9d35
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/70743


Tested-by: core-ci's avatarcore-ci <typo3@b13.com>
Tested-by: Wouter Wolters's avatarWouter Wolters <typo3@wouterwolters.nl>
Tested-by: Andreas Fernandez's avatarAndreas Fernandez <a.fernandez@scripting-base.de>
Reviewed-by: Wouter Wolters's avatarWouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Andreas Fernandez's avatarAndreas Fernandez <a.fernandez@scripting-base.de>
parent a5e3c21b
<?php
declare(strict_types=1);
defined('TYPO3') or die();
$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['adminpanel']['modules'] = [
......
<?php
declare(strict_types=1);
defined('TYPO3') or die();
$GLOBALS['TYPO3_CONF_VARS']['BE']['toolbarItems'][1435433106] = \TYPO3\CMS\Backend\Backend\ToolbarItems\ClearCacheToolbarItem::class;
......
<?php
declare(strict_types=1);
defined('TYPO3') or die();
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS'][\TYPO3\CMS\Core\Utility\GeneralUtility::class]['moveUploadedFile'][] = \TYPO3\CMS\Core\Resource\Security\SvgHookHandler::class . '->processMoveUploadedFile';
......
<?php
declare(strict_types=1);
defined('TYPO3') or die();
if (!is_array($GLOBALS['TYPO3_CONF_VARS']['SYS']['caching']['cacheConfigurations']['dashboard_rss'] ?? null)) {
......
<?php
declare(strict_types=1);
defined('TYPO3') or die();
// Register type converters
......
<?php
declare(strict_types=1);
defined('TYPO3') or die();
// Register extension list update task
......
<?php
declare(strict_types=1);
defined('TYPO3') or die();
// Add default TypoScript
......
<?php
declare(strict_types=1);
defined('TYPO3') or die();
$GLOBALS['TYPO3_CONF_VARS']['BE']['ContextMenu']['ItemProviders'][1486418731] = \TYPO3\CMS\Filelist\ContextMenu\ItemProviders\FileProvider::class;
......
<?php
declare(strict_types=1);
defined('TYPO3') or die();
// Define TypoScript as content rendering template
......
<?php
declare(strict_types=1);
defined('TYPO3') or die();
call_user_func(function () {
......
<?php
declare(strict_types=1);
defined('TYPO3') or die();
// Register all available content objects
......
<?php
declare(strict_types=1);
defined('TYPO3') or die();
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['typo3/backend.php']['constructPostProcess'][] = \TYPO3\CMS\Impexp\Hook\BackendControllerHook::class . '->addJavaScript';
......
<?php
declare(strict_types=1);
defined('TYPO3') or die();
// register plugin
......
<?php
declare(strict_types=1);
defined('TYPO3') or die();
// v9->v10 wizards below this line
......
<?php
declare(strict_types=1);
defined('TYPO3') or die();
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPageTSConfig(
......
<?php
declare(strict_types=1);
defined('TYPO3') or die();
$GLOBALS['TYPO3_CONF_VARS']['BE']['toolbarItems'][1435433112] = \TYPO3\CMS\Opendocs\Backend\ToolbarItems\OpendocsToolbarItem::class;
......
<?php
declare(strict_types=1);
defined('TYPO3') or die();
// Register element browsers
......
<?php
declare(strict_types=1);
defined('TYPO3') or die();
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['scheduler']['tasks'][\TYPO3\CMS\Recycler\Task\CleanerTask::class] = [
......
<?php
declare(strict_types=1);
defined('TYPO3') or die();
// Rebuild cache in DataHandler on changing / inserting / adding redirect records
......
<?php
declare(strict_types=1);
defined('TYPO3') or die();
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['scheduler']['tasks'][\TYPO3\CMS\Reports\Task\SystemStatusUpdateTask::class] = [
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment