This changeset backports #317 from 3.x to 1.x to improve PHP 8.4+ support by avoiding implicitly nullable types as discussed in https://github.com/reactphp/promise/pull/260. The same idea applies, but v1 requires manual type checks to support legacy PHP versions as the nullable type syntax requires PHP 7.1+ otherwise.
This changeset backports #317 from
3.x
to1.x
to improve PHP 8.4+ support by avoiding implicitly nullable types as discussed in https://github.com/reactphp/promise/pull/260. The same idea applies, but v1 requires manual type checks to support legacy PHP versions as the nullable type syntax requires PHP 7.1+ otherwise.Builds on top of #317, #310 and #260, https://github.com/reactphp/promise/pull/260, https://github.com/reactphp/dns/pull/224, https://github.com/reactphp/stream/pull/179, https://github.com/reactphp/async/pull/87 and https://github.com/reactphp/promise-timer/pull/70