From b68538adccad32e5313a095192ef527f14098775 Mon Sep 17 00:00:00 2001 From: David Buchmann Date: Thu, 28 Mar 2024 09:20:37 +0100 Subject: [PATCH] better define workable comparator for some reason, simple-phpunit installs phpunit 9 with incompatible comparator 5. this is probably a dependency mistake in phpunit. rather than declare a global conflict that messes with other packages, we now require-dev the versions that work. --- composer.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index bd39db8..9d718bb 100644 --- a/composer.json +++ b/composer.json @@ -28,7 +28,8 @@ "php-http/httplug": "^1.0 || ^2.0", "php-http/message-factory": "^1.0", "phpspec/phpspec": "^5.1 || ^6.1 || ^7.3", - "symfony/phpunit-bridge": "^6.4.4 || ^7.0.1" + "symfony/phpunit-bridge": "^6.4.4 || ^7.0.1", + "sebastian/comparator": "^3.0.5 || ^4.0.8" }, "autoload": { "psr-4": { @@ -56,7 +57,6 @@ }, "conflict": { "nyholm/psr7": "<1.0", - "sebastian/comparator": ">=5.0", "zendframework/zend-diactoros": "*" }, "prefer-stable": true,