From 807c1503665c90e42633ee62df1925e1ce2f006a Mon Sep 17 00:00:00 2001 From: Fabian Meyer Date: Sat, 1 Oct 2022 01:55:11 +0200 Subject: [PATCH] Use reactphp/async instead of clue/reactphp-block --- composer.json | 2 +- tests/BaseTestCase.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index f3a9485..009c34c 100644 --- a/composer.json +++ b/composer.json @@ -13,7 +13,7 @@ "react/socket": "^1.12" }, "require-dev": { - "clue/block-react": "^1.5", + "react/async": "^4 || ^3 || ^2", "phpunit/phpunit": "^9.3 || ^5.7 || ^4.8.35" }, "autoload": { diff --git a/tests/BaseTestCase.php b/tests/BaseTestCase.php index cbf72eb..1815061 100644 --- a/tests/BaseTestCase.php +++ b/tests/BaseTestCase.php @@ -37,7 +37,7 @@ protected function createConnection(LoopInterface $loop) $factory = new Factory($loop); $promise = $factory->createConnection($this->getConnectionString()); - return \Clue\React\Block\await($promise, $loop, 10.0); + return \React\Async\await($promise); } protected function getDataTable()