[!!!][TASK] Remove devlog constants
Drop three error related constants from bootstrap: TYPO3_DLOG, TYPO3_ERROR_DLOG, TYPO3_EXCEPTION_DLOG Removal of these constants has been prepared in v8 and can be done now. This unblocks further logging related works. Along the way, the two TYPO3_CONF_VARS "enable_errorDLOG" and "enable_exceptionDLOG" can be dropped. The extension scanner can find usages of these constants, making the patch not less breaking, but usage detection within extensions is safe and thus helps a lot to spot them. A new matcher is added to the extension scanner to scan for usages of global constants. Resolves: #82162 Releases: master Change-Id: I6310866738e5cda79a807239846f64996ec76974 Reviewed-on: https://review.typo3.org/53212 Reviewed-by:Christian Kuhn <lolli@schwarzbu.ch> Tested-by:
Christian Kuhn <lolli@schwarzbu.ch> Reviewed-by:
Georg Ringer <georg.ringer@gmail.com> Tested-by:
Georg Ringer <georg.ringer@gmail.com>
Showing
- typo3/sysext/backend/Classes/Routing/Router.php 1 addition, 1 deletiontypo3/sysext/backend/Classes/Routing/Router.php
- typo3/sysext/core/Classes/Core/Bootstrap.php 0 additions, 15 deletionstypo3/sysext/core/Classes/Core/Bootstrap.php
- typo3/sysext/core/Configuration/DefaultConfiguration.php 0 additions, 2 deletionstypo3/sysext/core/Configuration/DefaultConfiguration.php
- typo3/sysext/core/Configuration/DefaultConfigurationDescription.php 1 addition, 3 deletions...xt/core/Configuration/DefaultConfigurationDescription.php
- typo3/sysext/core/Documentation/Changelog/master/Breaking-82162-GlobalErrorConstantsRemoved.rst 43 additions, 0 deletions...log/master/Breaking-82162-GlobalErrorConstantsRemoved.rst
- typo3/sysext/install/Classes/Controller/Action/AbstractAction.php 0 additions, 1 deletion...sext/install/Classes/Controller/Action/AbstractAction.php
- typo3/sysext/install/Classes/Controller/Action/Ajax/ExtensionScannerScanFile.php 5 additions, 0 deletions...asses/Controller/Action/Ajax/ExtensionScannerScanFile.php
- typo3/sysext/install/Classes/ExtensionScanner/Php/Matcher/ConstantMatcher.php 60 additions, 0 deletions.../Classes/ExtensionScanner/Php/Matcher/ConstantMatcher.php
- typo3/sysext/install/Classes/Service/ClearCacheService.php 0 additions, 1 deletiontypo3/sysext/install/Classes/Service/ClearCacheService.php
- typo3/sysext/install/Classes/Service/SilentConfigurationUpgradeService.php 19 additions, 8 deletions...all/Classes/Service/SilentConfigurationUpgradeService.php
- typo3/sysext/install/Configuration/ExtensionScanner/Php/ArrayDimensionMatcher.php 10 additions, 0 deletions...figuration/ExtensionScanner/Php/ArrayDimensionMatcher.php
- typo3/sysext/install/Configuration/ExtensionScanner/Php/ConstantMatcher.php 18 additions, 0 deletions...ll/Configuration/ExtensionScanner/Php/ConstantMatcher.php
- typo3/sysext/install/Tests/Unit/ExtensionScanner/Php/Matcher/ConstantMatcherTest.php 111 additions, 0 deletions...Unit/ExtensionScanner/Php/Matcher/ConstantMatcherTest.php
- typo3/sysext/install/Tests/Unit/ExtensionScanner/Php/Matcher/Fixtures/ConstantMatcherFixture.php 33 additions, 0 deletions...onScanner/Php/Matcher/Fixtures/ConstantMatcherFixture.php
- typo3/sysext/scheduler/Classes/Example/TestTask.php 0 additions, 2 deletionstypo3/sysext/scheduler/Classes/Example/TestTask.php
Please register or sign in to comment