From f3767ed106a035d466aefd7523ab69dacc2ac5e4 Mon Sep 17 00:00:00 2001 From: Ben Thomson Date: Wed, 30 Mar 2022 10:37:24 +0800 Subject: [PATCH] Lock dependencies to PHP 7.4.0 --- composer.json | 7 ++++++- composer.lock | 41 +++++++++++++++++++++++------------------ 2 files changed, 29 insertions(+), 19 deletions(-) diff --git a/composer.json b/composer.json index ec73a81..58f29d4 100644 --- a/composer.json +++ b/composer.json @@ -10,7 +10,7 @@ } ], "require": { - "php": ">=7.2", + "php": ">=7.4.0", "symfony/console": "^4.4.13", "symfony/process": "^4.4.13", "guzzlehttp/guzzle": "^7.0.1", @@ -30,11 +30,13 @@ "post-install-cmd": [ "composer bin box config minimum-stability dev", "composer bin box config prefer-stable true", + "composer bin box config platform.php 7.4.0", "composer bin box require --dev --no-progress humbug/box" ], "post-update-cmd": [ "composer bin box config minimum-stability dev", "composer bin box config prefer-stable true", + "composer bin box config platform.php 7.4.0", "composer bin box require --dev --no-progress humbug/box" ] }, @@ -43,6 +45,9 @@ "config": { "allow-plugins": { "bamarni/composer-bin-plugin": true + }, + "platform": { + "php": "7.4.0" } } } diff --git a/composer.lock b/composer.lock index 728d2b4..1ad25b7 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "c7a00a3f422c05e0b4553ebee346c620", + "content-hash": "63a250596e977a812219e7103714caf9", "packages": [ { "name": "clue/stream-filter", @@ -1054,20 +1054,20 @@ }, { "name": "psr/cache", - "version": "3.0.0", + "version": "1.0.1", "source": { "type": "git", "url": "https://github.com/php-fig/cache.git", - "reference": "aa5030cfa5405eccfdcb1083ce040c2cb8d253bf" + "reference": "d11b50ad223250cf17b86e38383413f5a6764bf8" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-fig/cache/zipball/aa5030cfa5405eccfdcb1083ce040c2cb8d253bf", - "reference": "aa5030cfa5405eccfdcb1083ce040c2cb8d253bf", + "url": "https://api.github.com/repos/php-fig/cache/zipball/d11b50ad223250cf17b86e38383413f5a6764bf8", + "reference": "d11b50ad223250cf17b86e38383413f5a6764bf8", "shasum": "" }, "require": { - "php": ">=8.0.0" + "php": ">=5.3.0" }, "type": "library", "extra": { @@ -1087,7 +1087,7 @@ "authors": [ { "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" + "homepage": "http://www.php-fig.org/" } ], "description": "Common interface for caching libraries", @@ -1097,9 +1097,9 @@ "psr-6" ], "support": { - "source": "https://github.com/php-fig/cache/tree/3.0.0" + "source": "https://github.com/php-fig/cache/tree/master" }, - "time": "2021-02-03T23:26:27+00:00" + "time": "2016-08-06T20:24:11+00:00" }, { "name": "psr/container", @@ -1512,21 +1512,23 @@ }, { "name": "symfony/options-resolver", - "version": "v6.0.3", + "version": "v5.4.3", "source": { "type": "git", "url": "https://github.com/symfony/options-resolver.git", - "reference": "51f7006670febe4cbcbae177cbffe93ff833250d" + "reference": "cc1147cb11af1b43f503ac18f31aa3bec213aba8" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/options-resolver/zipball/51f7006670febe4cbcbae177cbffe93ff833250d", - "reference": "51f7006670febe4cbcbae177cbffe93ff833250d", + "url": "https://api.github.com/repos/symfony/options-resolver/zipball/cc1147cb11af1b43f503ac18f31aa3bec213aba8", + "reference": "cc1147cb11af1b43f503ac18f31aa3bec213aba8", "shasum": "" }, "require": { - "php": ">=8.0.2", - "symfony/deprecation-contracts": "^2.1|^3" + "php": ">=7.2.5", + "symfony/deprecation-contracts": "^2.1|^3", + "symfony/polyfill-php73": "~1.0", + "symfony/polyfill-php80": "^1.16" }, "type": "library", "autoload": { @@ -1559,7 +1561,7 @@ "options" ], "support": { - "source": "https://github.com/symfony/options-resolver/tree/v6.0.3" + "source": "https://github.com/symfony/options-resolver/tree/v5.4.3" }, "funding": [ { @@ -1575,7 +1577,7 @@ "type": "tidelift" } ], - "time": "2022-01-02T09:55:41+00:00" + "time": "2022-01-02T09:53:40+00:00" }, { "name": "symfony/polyfill-mbstring", @@ -2077,8 +2079,11 @@ "prefer-stable": true, "prefer-lowest": false, "platform": { - "php": ">=7.2" + "php": ">=7.4.0" }, "platform-dev": [], + "platform-overrides": { + "php": "7.4.0" + }, "plugin-api-version": "2.2.0" }