From 41d027000e9bdfcd8bc2f6e09686225982c68bbd Mon Sep 17 00:00:00 2001 From: "Alexander A. Klimov" Date: Wed, 21 Jan 2026 13:31:29 +0100 Subject: [PATCH 1/2] composer require 'react/promise:^3.3' --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 984c5b6..1f7603d 100644 --- a/composer.json +++ b/composer.json @@ -15,7 +15,7 @@ "psr/log": "^1", "ramsey/uuid": "^4.2.3", "react/event-loop": "^1.4", - "react/promise": "^2.10", + "react/promise": "^3.3", "simshaun/recurr": "^5", "ipl/stdlib": ">=0.12.0" }, From ea71fc606268741d3f77ca737296ea7a8776e8a1 Mon Sep 17 00:00:00 2001 From: "Alexander A. Klimov" Date: Wed, 21 Jan 2026 16:46:18 +0100 Subject: [PATCH 2/2] Re-add React\Promise\*PromiseInterface for their existing users as aliases for their base interface, PromiseInterface. Now our code works with the latest React\Promise and has time to switch to PromiseInterface. --- composer.json | 2 +- src/compat.php | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 src/compat.php diff --git a/composer.json b/composer.json index 1f7603d..95cbe20 100644 --- a/composer.json +++ b/composer.json @@ -26,7 +26,7 @@ "ext-ev": "Improves performance, efficiency and avoids system limitations. Highly recommended! (See https://www.php.net/manual/en/intro.ev.php for details)" }, "autoload": { - "files": ["src/register_cron_aliases.php"], + "files": ["src/compat.php", "src/register_cron_aliases.php"], "psr-4": { "ipl\\Scheduler\\": "src" } diff --git a/src/compat.php b/src/compat.php new file mode 100644 index 0000000..538bce0 --- /dev/null +++ b/src/compat.php @@ -0,0 +1,8 @@ +