Review main Merged

85052[TASK] Avoid implicitly nullable class method parameter in `EXT:core`

Stefan Bürk CR +2 V +2 Hard +257 −259 updated 07/02/24, 17:59

Commit message

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

Review

  • Code review CR +2 Done
    • Stefan Bürk +2
    • Garvin Hicking +1
    • Christian Kuhn +1
  • Verified V +2 Done
    • Stefan Bürk +2
    • Oliver Klee +1
    • Garvin Hicking +1
    • Christian Kuhn +1
    • core-ci +1 CI

Issues 1

Files 118

Show 98 more files

Review log 67

  1. Stefan Bürk uploaded patch set 1 07/01/24, 20:45

  2. core-ci voted on patch set 1 V +1 07/01/24, 20:52 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/60793

  3. Oliver Klee voted on patch set 1 V +1 07/01/24, 21:51

  4. Christian Kuhn voted on patch set 1 CR +1 V +1 07/02/24, 17:51

  5. Garvin Hicking voted on patch set 1 CR +1 V +1 07/02/24, 17:57

  6. Stefan Bürk voted on patch set 1 CR +2 V +2 07/02/24, 17:59

  7. Stefan Bürk merged patch set 2 07/02/24, 17:59