Actions
Task #92140
closedEpic #92138: PHP 8.0 compatibility
[LINT] Deprecated: Require parameters that follow optional parameters
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2020-08-31
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
11
PHP Version:
Tags:
Complexity:
Sprint Focus:
Description
Deprecated: Required parameter $mode follows optional parameter $depth in typo3/sysext/indexed_search/Classes/Domain/Repository/AdministrationRepository.php on line 468
Deprecated: Required parameter $presetFields follows optional parameter $prefix in typo3/sysext/backend/Tests/Unit/Utility/BackendUtilityTest.php on line 623
Deprecated: Required parameter $tca follows optional parameter $prefix in typo3/sysext/backend/Tests/Unit/Utility/BackendUtilityTest.php on line 623
Deprecated: Required parameter $tca follows optional parameter $col in typo3/sysext/backend/Tests/Unit/Utility/BackendUtilityTest.php on line 713
Deprecated: Required parameter $tca follows optional parameter $column in typo3/sysext/backend/Tests/Unit/Utility/BackendUtilityTest.php on line 786
Deprecated: Required parameter $includeDeleted follows optional parameter $enableFieldsToBeIgnored in typo3/sysext/extbase/Classes/Persistence/Generic/Storage/Typo3DbQueryParser.php on line 762
Deprecated: Required parameter $parentObject follows optional parameter $params in typo3/sysext/sys_note/Classes/Hook/PageHook.php on line 39
Deprecated: Required parameter $parentObject follows optional parameter $params in typo3/sysext/sys_note/Classes/Hook/PageHook.php on line 52
Deprecated: Required parameter $title follows optional parameter $_ in typo3/sysext/core/Classes/Utility/ExtensionManagementUtility.php on line 966
Deprecated: Required parameter $filterMethods follows optional parameter $start in typo3/sysext/core/Classes/Resource/Driver/LocalDriver.php on line 359
Deprecated: Required parameter $formRuntime follows optional parameter $defaultValue in typo3/sysext/form/Classes/Service/TranslationService.php on line 459
Deprecated: Required parameter $caller follows optional parameter $callerArguments in typo3/sysext/workspaces/Classes/Dependency/EventCallback.php on line 61
Deprecated: Required parameter $eventName follows optional parameter $callerArguments in typo3/sysext/workspaces/Classes/Dependency/EventCallback.php on line 61
Deprecated: Required parameter $dependency follows optional parameter $data in typo3/sysext/workspaces/Classes/Dependency/DependencyEntityFactory.php on line 44
Deprecated: Required parameter $dependency follows optional parameter $data in typo3/sysext/workspaces/Classes/Dependency/DependencyEntityFactory.php on line 82
Updated by Alexander Schnitzler about 4 years ago
- Subject changed from Require parameters that follow optional parameters to [LINT] Deprecated: Require parameters that follow optional parameters
Updated by Gerrit Code Review about 4 years ago
- Status changed from New to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/65742
Updated by Gerrit Code Review about 4 years ago
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/65742
Updated by Benni Mack about 4 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset f13e9b5525d49948e7648d775704c98c4122ccf0.
Updated by Jörn Wagner almost 4 years ago
By the way, this leads to an uncaught exception when using the TYPO3 Console on PHP 8.0.0:
Uncaught TYPO3 Exception #1476107295: PHP Runtime Deprecation Notice: Required parameter $title follows optional parameter $_ in /my-project/public/typo3/sysext/core/Classes/Utility/ExtensionManagementUtility.php line 974
thrown in file /my-project/public/typo3/sysext/core/Classes/Error/ErrorHandler.php
in line 130
Maybe a backport to v10 and v9 is warranted? Or do you plan to only support PHP 8 for v11?
Edit: The roadmap answered my question. PHP 8 is only for v11.
Actions