Review 12.4 Merged

84899[TASK] Avoid implicitly nullable class method parameter in `EXT:scheduler`

Stefan Bürk CR +2 V +2 Easy +5 −5 updated 06/25/24, 12:40

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. [1]

In case of union type the null is added as additional type.

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
  • Verified V +2 Done
    • Stefan Bürk +2
    • core-ci +1 CI

Issues 1

Files 3

Review log 34

  1. Stefan Bürk uploaded patch set 1 06/25/24, 11:38

  2. core-ci voted on patch set 1 V +1 06/25/24, 11:46 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/60287

  3. Stefan Bürk voted on patch set 1 CR +2 V +2 06/25/24, 12:39

  4. Stefan Bürk merged patch set 2 06/25/24, 12:40