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();
// Register FormEngine node type resolver hook to render RTE in FormEngine if enabled
......
<?php
declare(strict_types=1);
defined('TYPO3') or die();
// Get the extensions's configuration
......
<?php
declare(strict_types=1);
defined('TYPO3') or die();
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['TYPO3\CMS\Frontend\Page\PageGenerator']['generateMetaTags']['metatag'] =
......
<?php
declare(strict_types=1);
defined('TYPO3') or die();
// Hook into the page modules
......
<?php
declare(strict_types=1);
defined('TYPO3') or die();
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['typo3/file_edit.php']['preOutputProcessingHook'][] =
......
<?php
declare(strict_types=1);
defined('TYPO3') or die();
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['clearCachePostProc']['tstemplate'] = \TYPO3\CMS\Tstemplate\Hooks\DataHandlerClearCachePostProcHook::class . '->clearPageCacheIfNecessary';
<?php
declare(strict_types=1);
defined('TYPO3') or die();
// add default notification options to every page
......
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