From 571a9a90b579f36e7e444f8f77e1376672545c8e Mon Sep 17 00:00:00 2001 From: Seamus Lee Date: Sun, 7 Aug 2022 11:27:45 +1000 Subject: [PATCH] Downgrade Symfony Service Contracts to 2.2.0 to fix php fatal error in wordpress --- composer.json | 1 + composer.lock | 89 ++++++--------------------------------------------- 2 files changed, 10 insertions(+), 80 deletions(-) diff --git a/composer.json b/composer.json index a35af088ad..7e4f00fc05 100644 --- a/composer.json +++ b/composer.json @@ -62,6 +62,7 @@ "symfony/filesystem": "~4.4", "symfony/process": "~4.4", "symfony/var-dumper": "~3.0 || ~4.4 || ~5.1", + "symfony/service-contracts": "~2.2.0", "psr/log": "~1.0 || ~2.0 || ~3.0", "symfony/finder": "~4.4", "tecnickcom/tcpdf" : "6.4.*", diff --git a/composer.lock b/composer.lock index 729db78d6b..5a3e612bf6 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": "8981b1591f0efc0eea2f42da02760495", + "content-hash": "e139a3221d89fa0c5aee6f4d033de904", "packages": [ { "name": "adrienrn/php-mimetyper", @@ -3741,73 +3741,6 @@ ], "time": "2022-06-22T15:01:38+00:00" }, - { - "name": "symfony/deprecation-contracts", - "version": "v2.5.2", - "source": { - "type": "git", - "url": "https://github.com/symfony/deprecation-contracts.git", - "reference": "e8b495ea28c1d97b5e0c121748d6f9b53d075c66" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/e8b495ea28c1d97b5e0c121748d6f9b53d075c66", - "reference": "e8b495ea28c1d97b5e0c121748d6f9b53d075c66", - "shasum": "" - }, - "require": { - "php": ">=7.1" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-main": "2.5-dev" - }, - "thanks": { - "name": "symfony/contracts", - "url": "https://github.com/symfony/contracts" - } - }, - "autoload": { - "files": [ - "function.php" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "A generic function and convention to trigger deprecation notices", - "homepage": "https://symfony.com", - "support": { - "source": "https://github.com/symfony/deprecation-contracts/tree/v2.5.2" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2022-01-02T09:53:40+00:00" - }, { "name": "symfony/event-dispatcher", "version": "v4.4.42", @@ -5048,25 +4981,21 @@ }, { "name": "symfony/service-contracts", - "version": "v2.5.2", + "version": "v2.2.0", "source": { "type": "git", "url": "https://github.com/symfony/service-contracts.git", - "reference": "4b426aac47d6427cc1a1d0f7e2ac724627f5966c" + "reference": "d15da7ba4957ffb8f1747218be9e1a121fd298a1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/service-contracts/zipball/4b426aac47d6427cc1a1d0f7e2ac724627f5966c", - "reference": "4b426aac47d6427cc1a1d0f7e2ac724627f5966c", + "url": "https://api.github.com/repos/symfony/service-contracts/zipball/d15da7ba4957ffb8f1747218be9e1a121fd298a1", + "reference": "d15da7ba4957ffb8f1747218be9e1a121fd298a1", "shasum": "" }, "require": { "php": ">=7.2.5", - "psr/container": "^1.1", - "symfony/deprecation-contracts": "^2.1|^3" - }, - "conflict": { - "ext-psr": "<1.1|>=2" + "psr/container": "^1.0" }, "suggest": { "symfony/service-implementation": "" @@ -5074,7 +5003,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "2.5-dev" + "dev-master": "2.2-dev" }, "thanks": { "name": "symfony/contracts", @@ -5111,7 +5040,7 @@ "standards" ], "support": { - "source": "https://github.com/symfony/service-contracts/tree/v2.5.2" + "source": "https://github.com/symfony/service-contracts/tree/master" }, "funding": [ { @@ -5127,7 +5056,7 @@ "type": "tidelift" } ], - "time": "2022-05-30T19:17:29+00:00" + "time": "2020-09-07T11:33:47+00:00" }, { "name": "symfony/var-dumper", -- 2.25.1