Review main Merged

71083[BUGFIX] Restrict composer-runtime-api to 2.1

Helmut Hummel CR +2 V +2 Normal +43 −14 updated 09/16/21, 13:18

Commit message

With https://review.typo3.org/c/Packages/TYPO3.CMS/+/71075
usage of InstalledVersions class was introduced.
More specifically the install_path of the root package.

However install paths of packages are only available
in composer-runtime-api 2.1, therefore we need to
require this a minimum version.

As drive by change the usage of Composer runtime API
is encapsulated in the Environment class and
path normalisation is put there as well, to not require
normalisation for each package.

composer req composer-runtime-api:^2.1
composer req composer-runtime-api:^2.1 -d typo3/sysext/core/ --no-update

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 3

Files 6