-
Notifications
You must be signed in to change notification settings - Fork 4
[WIP] Re-add React\Promise\ExtendedPromiseInterface for its existing users #90
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
- Add additional patch for still missing non canonical cast from (Shardj/zf1-future#509) - Remove patch to see if it is still required or not
- It is required for x509 module
- Cannot install `react/http` (used in notifications module) otherwise, because it requires psr/http-message:^1.0
- It is used in notifications module
The patch has been merged to master.
as an alias for its base interface, PromiseInterface. Now our code works with the latest React\Promise and has time to switch to PromiseInterface.
Al2Klimov
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Test
(new ReflectionClass(ExtendedPromiseInterface::class))->getFileName()
Before
Class "React\Promise\ExtendedPromiseInterface" does not exist
After
/nix/store/dh4p4c5mwad7ccivmfy2fhbd9hr12hr9-icingaweb2-thirdparty-0.13.1/vendor/react/promise/src/PromiseInterface.php
|
The catch is, I had to remove vendor/react/promise/, React\Promise v2, from icinga-php-library. On my machine, ipl wins against thirdparty during autoloading. |
7ef92cd to
911f231
Compare
9a12a41 to
9a0f8ba
Compare
|
Justification for closing this PR: Icinga/ipl-scheduler#61 (comment) |
as an alias for its base interface, PromiseInterface.
Now our code works with the latest React\Promise and has time to switch to PromiseInterface.
This PR is based on f4e7375 which is 1 commit behind #82's c5f5889. The latter downgrades React\Promise which is explicitly not desired for my solution here.
TODO