From 1de6a43901483ca13f627ab7d792545f05ccf0e7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20L=C3=BCck?= Date: Mon, 15 Nov 2021 15:02:29 +0100 Subject: [PATCH] Clean up minor leftover development references --- .github/workflows/ci.yml | 1 + composer.json | 8 -------- tests/SeriesTest.php | 4 ++-- 3 files changed, 3 insertions(+), 10 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 13eaf46..465821a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -17,6 +17,7 @@ jobs: - 7.3 - 7.2 - 7.1 + - 7.0 - 5.6 - 5.5 - 5.4 diff --git a/composer.json b/composer.json index f21b4c2..609b5f5 100644 --- a/composer.json +++ b/composer.json @@ -33,9 +33,6 @@ "require-dev": { "phpunit/phpunit": "^9.3 || ^5.7 || ^4.8.35" }, - "suggest": { - "react/event-loop": "You need an event loop for this to make sense." - }, "autoload": { "files": [ "src/functions_include.php" @@ -43,10 +40,5 @@ }, "autoload-dev": { "psr-4": { "React\\Tests\\Async\\": "tests/" } - }, - "extra": { - "branch-alias": { - "dev-master": "1.0-dev" - } } } diff --git a/tests/SeriesTest.php b/tests/SeriesTest.php index 2e168c2..f3fb81e 100644 --- a/tests/SeriesTest.php +++ b/tests/SeriesTest.php @@ -22,14 +22,14 @@ public function testSeriesWithTasks() $tasks = array( function () { return new Promise(function ($resolve) { - Loop::addTimer(0.05, function () use ($resolve) { + Loop::addTimer(0.051, function () use ($resolve) { $resolve('foo'); }); }); }, function () { return new Promise(function ($resolve) { - Loop::addTimer(0.05, function () use ($resolve) { + Loop::addTimer(0.051, function () use ($resolve) { $resolve('bar'); }); });