From fe9c9bfbba913035b88f45aac46340105c0c666d Mon Sep 17 00:00:00 2001 From: Cees-Jan Kiewiet Date: Mon, 16 Dec 2024 12:40:52 +0100 Subject: [PATCH] [0.2] Update Promise to PHP 8.4 supporting version The currently locked versions don't support PHP 8.4, this changeset forces them onto a version supporting PHP 8.4. --- composer.json | 2 +- composer.lock | 27 ++++++++++++--------------- 2 files changed, 13 insertions(+), 16 deletions(-) diff --git a/composer.json b/composer.json index 5ac0826..5c2c8a5 100644 --- a/composer.json +++ b/composer.json @@ -15,7 +15,7 @@ "require": { "php": ">=7.4.0", "react/event-loop": "^1.2", - "react/promise": "^3 || ^2.8", + "react/promise": "^3.2", "react/promise-stream": "^1.2", "react/stream": "^1.2" }, diff --git a/composer.lock b/composer.lock index 79cf1fc..f02dc1f 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": "971523f37f8b8675705bd9be0f1ea207", + "content-hash": "2aafecf19d1f57b41a9f34636c7c9780", "packages": [ { "name": "evenement/evenement", @@ -133,23 +133,24 @@ }, { "name": "react/promise", - "version": "v2.9.0", + "version": "v3.2.0", "source": { "type": "git", "url": "https://github.com/reactphp/promise.git", - "reference": "234f8fd1023c9158e2314fa9d7d0e6a83db42910" + "reference": "8a164643313c71354582dc850b42b33fa12a4b63" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/reactphp/promise/zipball/234f8fd1023c9158e2314fa9d7d0e6a83db42910", - "reference": "234f8fd1023c9158e2314fa9d7d0e6a83db42910", + "url": "https://api.github.com/repos/reactphp/promise/zipball/8a164643313c71354582dc850b42b33fa12a4b63", + "reference": "8a164643313c71354582dc850b42b33fa12a4b63", "shasum": "" }, "require": { - "php": ">=5.4.0" + "php": ">=7.1.0" }, "require-dev": { - "phpunit/phpunit": "^9.3 || ^5.7 || ^4.8.36" + "phpstan/phpstan": "1.10.39 || 1.4.10", + "phpunit/phpunit": "^9.6 || ^7.5" }, "type": "library", "autoload": { @@ -193,19 +194,15 @@ ], "support": { "issues": "https://github.com/reactphp/promise/issues", - "source": "https://github.com/reactphp/promise/tree/v2.9.0" + "source": "https://github.com/reactphp/promise/tree/v3.2.0" }, "funding": [ { - "url": "https://github.com/WyriHaximus", - "type": "github" - }, - { - "url": "https://github.com/clue", - "type": "github" + "url": "https://opencollective.com/reactphp", + "type": "open_collective" } ], - "time": "2022-02-11T10:27:51+00:00" + "time": "2024-05-24T10:39:05+00:00" }, { "name": "react/promise-stream",