Review main Merged

78779[TASK] Allow doctrine/instantiator ^1.5 || ^2.0

Christian Kuhn CR +2 V +2 Easy +3 −3 updated 04/21/23, 07:51

Commit message

v11 has "^1.4". For v12, we first removed it entirely,
and brought doctrine/instantiator back as "^2.0"
in #100207.

The "^2.0" restriction is a bit harsh, not all
other libraries caught up on this relatively
young new major.

To play well with others, we change
doctrine/instantiator to "^1.5 || ^2.0", the changes
betwen 1.5 and 2.0 [1] are mainly type
sugar that is not critical to us. The ^1.5 minor
restriction shouldn't be an issue for "sane" other
libraries which tend to go with something like "^1.0",
or "^1.3", or similar.

> composer req doctrine/instantiator:"^1.5 || ^2.0"
> composer req --no-update doctrine/instantiator:"^1.5 || ^2.0" -d typo3/sysext/extbase

[1] https://github.com/doctrine/instantiator/compare/1.5.0...2.0.0

Review

  • Code review CR +2

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V +2

    Imported before Forger kept the single votes, the next import adds them.

Issues 2

Files 3