Issue Task Closed

#104263Avoid implicitly nullable class method parameter in `EXT:dashboard`

Stefan Bürk 06/29/24, 20:34 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]

This prepares the way towards PHP 8.4 compatibility.

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

Reviews 3

History 211

  1. Gerrit Code Review pushed patch set 1 for main to change 85013 status New Under Review 06/29/24, 20:39

  2. Gerrit Code Review pushed patch set 1 for 12.4 to change 85014 06/29/24, 20:39

  3. Gerrit Code Review pushed patch set 1 for 11.5 to change 85015 06/29/24, 20:42

  4. Gerrit Code Review pushed patch set 2 for main to change 85013 06/30/24, 12:28

  5. Gerrit Code Review pushed patch set 2 for 12.4 to change 85014 06/30/24, 12:28

  6. Gerrit Code Review pushed patch set 2 for 11.5 to change 85015 06/30/24, 12:29

  7. Gerrit Code Review pushed patch set 3 for main to change 85013 06/30/24, 13:04

  8. Gerrit Code Review pushed patch set 4 for main to change 85013 06/30/24, 13:05

  9. Gerrit Code Review pushed patch set 3 for 11.5 to change 85015 06/30/24, 13:06

  10. Stefan Bürk commented and changed status Under Review Resolved done 0 % 100 % 06/30/24, 15:35

    Applied in changeset commit:05479ceeb26328a4240a341e399efb8f52cd6a8d.

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