Actions
Task #104271
closedAvoid implicitly nullable class method parameter in `EXT:viewpage`
Start date:
2024-06-30
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
11
PHP Version:
Tags:
Complexity:
Sprint Focus:
Description
With PHP 8.4 marking method parameter implicitly nullable
is deprecated and will emit a `E_DEPRECATED` warning. One
recommended way to resolve this, is making it explicitly
nullable using the `?` nullable operator or adding a null
type to an union type definition. [1]
This prepares the way towards PHP 8.4 compatibility.
[1] https://php.watch/versions/8.4/implicitly-marking-parameter-type-nullable-deprecated
Updated by Gerrit Code Review 5 months ago
- Status changed from New to Under Review
Patch set 1 for branch 11.5 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/85030
Updated by Stefan Bürk 5 months ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset cafa4558b3344af63a1c83127fb85bc4fe6d4228.
Actions