[TASK] Remove usages of call_user_func() and call_user_func_array()
Using direct calls and variadics is slightly faster, and usually cleaner to read. I left in the instant-call call_user_func() instances in the entry point files, as that's only a single call and is arguably at least no worse than (function() {})(). Resolves: #94060 Releases: master Change-Id: I95988feadf8522d8d936a273608e0ef2d5ce75b5 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/69017 Tested-by:Benjamin Franzke <bfr@qbus.de> Tested-by:
core-ci <typo3@b13.com> Tested-by:
Benni Mack <benni@typo3.org> Reviewed-by:
Benjamin Franzke <bfr@qbus.de> Reviewed-by:
crell <larry@garfieldtech.com> Reviewed-by:
Benni Mack <benni@typo3.org>
Showing
- typo3/sysext/backend/Classes/Http/RouteDispatcher.php 1 addition, 1 deletiontypo3/sysext/backend/Classes/Http/RouteDispatcher.php
- typo3/sysext/backend/Classes/Tree/Repository/PageTreeRepository.php 1 addition, 1 deletion...xt/backend/Classes/Tree/Repository/PageTreeRepository.php
- typo3/sysext/core/Classes/Configuration/FlexForm/FlexFormTools.php 1 addition, 1 deletion...ext/core/Classes/Configuration/FlexForm/FlexFormTools.php
- typo3/sysext/core/Classes/Console/CommandApplication.php 1 addition, 1 deletiontypo3/sysext/core/Classes/Console/CommandApplication.php
- typo3/sysext/core/Classes/DataHandling/DataHandler.php 2 additions, 2 deletionstypo3/sysext/core/Classes/DataHandling/DataHandler.php
- typo3/sysext/core/Classes/DataHandling/SlugHelper.php 1 addition, 1 deletiontypo3/sysext/core/Classes/DataHandling/SlugHelper.php
- typo3/sysext/core/Classes/Database/RelationHandler.php 1 addition, 1 deletiontypo3/sysext/core/Classes/Database/RelationHandler.php
- typo3/sysext/core/Classes/Http/AbstractApplication.php 1 addition, 1 deletiontypo3/sysext/core/Classes/Http/AbstractApplication.php
- typo3/sysext/core/Classes/Http/Dispatcher.php 2 additions, 2 deletionstypo3/sysext/core/Classes/Http/Dispatcher.php
- typo3/sysext/core/Classes/Resource/Driver/LocalDriver.php 3 additions, 3 deletionstypo3/sysext/core/Classes/Resource/Driver/LocalDriver.php
- typo3/sysext/core/Classes/Resource/Filter/FileExtensionFilter.php 2 additions, 2 deletions...sext/core/Classes/Resource/Filter/FileExtensionFilter.php
- typo3/sysext/core/Classes/Resource/Filter/FileNameFilter.php 2 additions, 2 deletionstypo3/sysext/core/Classes/Resource/Filter/FileNameFilter.php
- typo3/sysext/core/Classes/Resource/Search/Result/DriverFilteredSearchResult.php 2 additions, 2 deletions...ses/Resource/Search/Result/DriverFilteredSearchResult.php
- typo3/sysext/core/Classes/Utility/ArrayUtility.php 2 additions, 2 deletionstypo3/sysext/core/Classes/Utility/ArrayUtility.php
- typo3/sysext/core/Classes/Utility/GeneralUtility.php 2 additions, 5 deletionstypo3/sysext/core/Classes/Utility/GeneralUtility.php
- typo3/sysext/core/Tests/Functional/Error/ErrorHandlerTest.php 1 addition, 1 deletion...3/sysext/core/Tests/Functional/Error/ErrorHandlerTest.php
- typo3/sysext/core/Tests/Functional/IO/PharStreamWrapperInterceptorTest.php 2 additions, 2 deletions.../Tests/Functional/IO/PharStreamWrapperInterceptorTest.php
- typo3/sysext/core/Tests/Unit/FormProtection/FormProtectionFactoryTest.php 2 additions, 2 deletions...e/Tests/Unit/FormProtection/FormProtectionFactoryTest.php
- typo3/sysext/core/Tests/Unit/Log/LoggerTest.php 1 addition, 1 deletiontypo3/sysext/core/Tests/Unit/Log/LoggerTest.php
- typo3/sysext/core/Tests/Unit/Resource/FileTest.php 1 addition, 1 deletiontypo3/sysext/core/Tests/Unit/Resource/FileTest.php
Please register or sign in to comment