Skip to content

Commit

Permalink
[BUGFIX] Ensure composer update --prefer-lowest installs the lowest p…
Browse files Browse the repository at this point in the history
…ossible packages

Since the change of platform.php in the composer.json to 7.2.5 according
to Symfony 5.x composer does not install the lowest dependencies for
sure. This patch enforces the change of the platform before running
composer update --prefer-lowest

Resolves: #92251
Releases: master, 10.4, 9.5
Change-Id: I6b0fce76a2995c39215caf04d355154c87cfe3fe
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/65722
Tested-by: TYPO3com <noreply@typo3.com>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
  • Loading branch information
gilbertsoft authored and maddy2101 committed Sep 15, 2020
1 parent bf575ca commit c914ef0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Build/bamboo/src/main/java/core/AbstractCoreSpec.java
Expand Up @@ -1764,6 +1764,7 @@ Task getTaskComposerUpdateMin(String requirementIdentifier) {
this.getScriptTaskBashInlineBody() +
this.getScriptTaskComposer(requirementIdentifier) +
"composer install -n\n" +
"composer config platform.php 7.2.0\n" +
"composer update --prefer-lowest --no-progress -n\n" +
"composer dumpautoload"
)
Expand Down

0 comments on commit c914ef0

Please sign in to comment.