Review 12.4 Merged

86383[TASK] Remove E_STRICT_DEPRECATED constant

Benjamin Franzke CR +2 V +2 Normal +23 −41 updated 09/30/24, 09:44

Commit message

We can not deprecate a constant and use it at the same time.
We basically traded a deprecated constant with a new deprecated
constant. Therefore this intermediate constant (added without being
released yet in #105155) is removed again and replaced by a plain value.

It's too likely that this constant is used by 3rd party code
(or dependencies like typo3/testing-framework), which then makes
it hard to remove this constant again (despite being deprecated).

Also defining an own constant – that looks like an official PHP
constant – into the global space, has caused immediate confusions
which we want to avoid by using a scalar value + comment.

The reason (possible 3rd party extensions that may still trigger
this error) why this is kept (and not just removed) is also added
to all usages now.

Review

  • Code review CR +2 Done
    • Benjamin Franzke +2
  • Verified V +2 Done
    • Benjamin Franzke +2
    • core-ci +1 CI

Issues 2

Files 8

Review log 45

  1. Benjamin Franzke uploaded patch set 1 09/30/24, 08:58

  2. Benjamin Franzke updated the commit message in patch set 2 09/30/24, 09:00

  3. core-ci voted on patch set 2 V +1 09/30/24, 09:12 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/66844

  4. Benjamin Franzke voted on patch set 2 CR +2 V +2 09/30/24, 09:44

  5. Benjamin Franzke merged patch set 3 09/30/24, 09:44