Review 13.4 Merged

90808[TASK] Avoid deprecated `\DateTimeInterface::RFC7231`

Stefan Bürk CR +2 V +2 Easy +4 −1 updated 09/26/25, 10:22

Commit message

The DATE_RFC7231 and DateTimeInterface::RFC7231 constants have been
deprecated in PHP8.5. This is because the associated timezone is
ignored and always uses GMT.

Only usage hitting the issue directly is a test and is
mitigated by simply using the format string directly
instead of the constant.

[1] https://github.com/php/php-src/blob/03c9d2303eea3a90be88a729d331da3bc4488aac/UPGRADING#L405-L408
[2] RFC: https://wiki.php.net/rfc/deprecations_php_8_5#deprecate_date_rfc7231_and_datetimeinterfacerfc7231

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 1

Review log 34

  1. Stefan Bürk commented on patch set 1 09/26/25, 09:37

    Cherry Picked from branch main.
  2. core-ci voted on patch set 1 V +1 09/26/25, 09:45 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/85585

  3. Stefan Bürk voted on patch set 1 CR +2 V +2 09/26/25, 10:22

  4. Stefan Bürk merged patch set 2 09/26/25, 10:22