From a0955b5e0bd9045ac486d591db976c3a3c55a737 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Chris=20M=C3=BCller?= <2566282+brotkrueml@users.noreply.github.com> Date: Sun, 28 Aug 2022 12:22:38 +0200 Subject: [PATCH] [TASK] Substitute TYPO3_MODE constant with TYPO3 constant (#521) The TYPO3_MODE constant is deprecated with v11.0. The new constant TYPO3, which replaces the old constant, was introduced also in TYPO3 v10 with version v10.4.11: https://docs.typo3.org/c/typo3/cms-core/main/en-us/Changelog/11.0/Deprecation-92947-DeprecateTYPO3_MODEAndTYPO3_REQUESTTYPEConstants.html As best practice, we should also use the new constant and raise the composer constraints for TYPO3 accordingly. --- Configuration/TCA/Overrides/sys_template.php | 2 +- Configuration/TCA/Overrides/tt_content.php | 2 +- composer.json | 2 +- ext_localconf.php | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Configuration/TCA/Overrides/sys_template.php b/Configuration/TCA/Overrides/sys_template.php index 13d32ae..301bb7e 100644 --- a/Configuration/TCA/Overrides/sys_template.php +++ b/Configuration/TCA/Overrides/sys_template.php @@ -1,6 +1,6 @@