[TASK] Set composer config platform.php 7.0.0 34/55034/3
authorChristian Kuhn <lolli@schwarzbu.ch>
Mon, 11 Dec 2017 16:59:49 +0000 (17:59 +0100)
committerChristian Kuhn <lolli@schwarzbu.ch>
Mon, 11 Dec 2017 20:04:42 +0000 (21:04 +0100)
commit49b63d93649bb1be7669dcdc9270ed235c265e18
tree57f2ab52fb5ce5e013d8045df9039913fd006e48
parentffc526d213855cd7adfc455a236d20fc6ba1069a
[TASK] Set composer config platform.php 7.0.0

Similar to what has been done in v7 already, v8 now
sets config.platform.php in composer.json.

See https://getcomposer.org/doc/06-config.md#platform
for more details.

Mind this setting (as all other 'config' section settings)
is only valid for the root composer.json file,
it has no meaning if core is used as dependency in a project
with its own composer.json file. For core however, this setting
is relevant since composer.json is also used as root file
during packaging of standalone core packages.

The setting now effectively prevents core from installing
dependencies that require higher PHP versions, even if the
locally installed PHP version is higher.

The value is set to 7.0.0: Symfony raised PHP requirements
from 7.0.0 to 7.0.8 between 3.3.6 and 3.3.7 versions, setting
7.0.0 as platform.php thus forces downgrade from 3.3.10 to 3.3.6
of symfony dependencies. Wether we raise to 7.0.8 ourselfs for
v8 may be decided with another patch if really needed. This
version downgrade from 3.3.10 to 3.3.6 should be ok since
the upgrade happened with #82834 which has not yet been released
in a stable v8 patch level release.

Composer commands used:

composer config platform.php 7.0.0
composer up symfony/*
composer update --lock

Change-Id: I367309d6c57a5582980101c95c170d64273ed89e
Resolves: #83289
Related: #83223
Related: #82834
Releases: 8.7
Reviewed-on: https://review.typo3.org/55034
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Helmut Hummel <typo3@helhum.io>
Tested-by: Helmut Hummel <typo3@helhum.io>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
composer.json
composer.lock