Task #83289

Set composer config platform.php

Added by Christian Kuhn 5 months ago. Updated 5 months ago.

Status:
Resolved
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2017-12-11
Due date:
% Done:

100%

TYPO3 Version:
8
PHP Version:
Tags:
Complexity:
Sprint Focus:

Related issues

Related to TYPO3 Core - Bug #83223: Consistently use version 2.8 of all dependent Symfony packages Resolved 2017-12-04
Related to TYPO3 Core - Bug #82834: Update Symfony packages to latest versions Resolved 2017-10-20

Associated revisions

Revision 49b63d93 (diff)
Added by Christian Kuhn 5 months ago

[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 <>
Reviewed-by: Benni Mack <>
Tested-by: Benni Mack <>
Reviewed-by: Wouter Wolters <>
Reviewed-by: Helmut Hummel <>
Tested-by: Helmut Hummel <>
Reviewed-by: Christian Kuhn <>
Tested-by: Christian Kuhn <>

Revision 47783531 (diff)
Added by Christian Kuhn 5 months ago

[TASK] Raise PHP requirement to 7.2.0

As decided by core team leader, PHP minimum version
requirement for core version 9.0 is 7.2.0.

The patch sets this in root composer.json, together
with config.platform.php, and adapts sysext/core/composer.json.

Resolves: #83290
Related: #83289
Releases: master
Change-Id: I813d0a2b69005c84ba5dedb45b3d4bd0388e43d8
Reviewed-on: https://review.typo3.org/55035
Tested-by: TYPO3com <>
Reviewed-by: Stefan Neufeind <>
Tested-by: Stefan Neufeind <>
Reviewed-by: Andreas Fernandez <>
Reviewed-by: Susanne Moog <>
Tested-by: Susanne Moog <>
Reviewed-by: Christian Kuhn <>
Tested-by: Christian Kuhn <>

History

#1 Updated by Christian Kuhn 5 months ago

  • Related to Bug #83223: Consistently use version 2.8 of all dependent Symfony packages added

#2 Updated by Christian Kuhn 5 months ago

  • Related to Bug #82834: Update Symfony packages to latest versions added

#3 Updated by Gerrit Code Review 5 months ago

  • Status changed from New to Under Review

Patch set 1 for branch TYPO3_8-7 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/55034

#4 Updated by Gerrit Code Review 5 months ago

Patch set 2 for branch TYPO3_8-7 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/55034

#5 Updated by Christian Kuhn 5 months ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100

Also available in: Atom PDF