diff --git a/composer.json b/composer.json index 98b89956edd..3d09ca446ab 100644 --- a/composer.json +++ b/composer.json @@ -26,7 +26,7 @@ "ondrejmirtes/better-reflection": "6.21.0", "phpstan/php-8-stubs": "0.3.82", "phpstan/phpdoc-parser": "1.25.0", - "react/async": "^3", + "react/async": "^4", "react/child-process": "^0.6.4", "react/dns": "^1.10", "react/event-loop": "^1.2", diff --git a/composer.lock b/composer.lock index 7b027f80eb8..e0564681dab 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": "706757a900f56462c59454b6f4cb8436", + "content-hash": "fda45ab8c4022dab4d7b92bb19570e98", "packages": [ { "name": "clue/ndjson-react", @@ -2398,31 +2398,35 @@ }, { "name": "react/async", - "version": "v3.0.0", + "version": "v4.2.0", "source": { "type": "git", "url": "https://github.com/reactphp/async.git", - "reference": "3c3b812be77aec14bf8300b052ba589c9a5bc95b" + "reference": "7c3738e837b38c9513af44398b8c1b2b1be1fbbc" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/reactphp/async/zipball/3c3b812be77aec14bf8300b052ba589c9a5bc95b", - "reference": "3c3b812be77aec14bf8300b052ba589c9a5bc95b", + "url": "https://api.github.com/repos/reactphp/async/zipball/7c3738e837b38c9513af44398b8c1b2b1be1fbbc", + "reference": "7c3738e837b38c9513af44398b8c1b2b1be1fbbc", "shasum": "" }, "require": { - "php": ">=7.1", + "php": ">=8.1", "react/event-loop": "^1.2", "react/promise": "^3.0 || ^2.8 || ^1.2.1" }, "require-dev": { - "phpunit/phpunit": "^9.3 || ^7.5" + "phpstan/phpstan": "1.10.39", + "phpunit/phpunit": "^9.6" }, "type": "library", "autoload": { "files": [ "src/functions_include.php" - ] + ], + "psr-4": { + "React\\Async\\": "src/" + } }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -2450,26 +2454,22 @@ "homepage": "https://cboden.dev/" } ], - "description": "Async utilities for ReactPHP", + "description": "Async utilities and fibers for ReactPHP", "keywords": [ "async", "reactphp" ], "support": { "issues": "https://github.com/reactphp/async/issues", - "source": "https://github.com/reactphp/async/tree/v3.0.0" + "source": "https://github.com/reactphp/async/tree/v4.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-07-11T14:17:23+00:00" + "time": "2023-11-22T16:43:46+00:00" }, { "name": "react/cache",