Review 13.4 Merged

91203[TASK] Make MathUtility::canBeInterpretedAsInteger more robust

Stefan Bürk CR +2 V +2 Easy +12 −1 updated 10/22/25, 12:49

Commit message

Instead of using casts which might throw an exception in
PHP 8.5, check the string representation of the value to
match a pattern that makes sense as an integer.

Review

  • Code review CR +2 Done
    • Stefan Bürk +2
  • Verified V +2 Done
    • Stefan Bürk +2
    • core-ci +1 CI

Issues 2

Files 2

Review log 34

  1. Stefan Bürk commented on patch set 1 10/22/25, 12:30

    Cherry Picked from branch main.
  2. core-ci voted on patch set 1 V +1 10/22/25, 12:40 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/87254

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

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