diff --git a/composer.json b/composer.json index 984c5b6..95cbe20 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" }, @@ -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 @@ +