Issue Task Closed

#104284Avoid implicitly nullable class method parameter in `EXT:core`

Stefan Bürk 07/01/24, 12:10 updated 07/09/24, 15:39

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]

[1] https://php.watch/versions/8.4/implicitly-marking-parameter-type-nullable-deprecated

Reviews 3

History 25

  1. Gerrit Code Review pushed patch set 1 for main to change 85052 status New Under Review 07/01/24, 20:45

  2. Gerrit Code Review pushed patch set 1 for 12.4 to change 85053 07/01/24, 20:46

  3. Gerrit Code Review pushed patch set 1 for 11.5 to change 85054 07/01/24, 20:47

  4. Stefan Bürk commented and changed status Under Review Resolved done 0 % 100 % 07/02/24, 18:05

    Applied in changeset commit:5868745a7aaa8cdf4080c5bb21b3fdb4f2a28960.

  5. Benni Mack changed status Resolved Closed 07/09/24, 15:39