-
-
Notifications
You must be signed in to change notification settings - Fork 245
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
PSR-18 is already released, but not implemented on Http\Client #204
Comments
It's released but we'll let it settle for a while to see if there is large support for it, and if we can change without breaking BC. |
Okay so I've gathered:
So to upgrade:
|
I'm playing with PSR-15, PSR-17 and PSR-18 on a Xero API at the moment to understand how it all works, and it seems good so far. |
See #207 |
We could add deprecation notices?, so we don't have to bother supporting old packages when jumping to V4
I think it should. PSRs are proposed as an "standarized framework", so you don't need to learn the workings of different APIs on every project. I think we should point towards usage of PSR only interfaces in case of HTTP, but not breaking compatibility without a major version increment.
Nice 😄
Well... maybe it will be painful for some people and is not an smart movement if you don't pretend to increase the major version number in
Again, deprecation notices would be great. I think having an extensible client is sweet. |
The interface is the same, so it doesn't matter we support both packages. |
Actually, removing the typehint in the constructor isn't breaking (only in methods). So if we don't add the final, it should be fine. |
Plz check #208 |
Any progress here? Using these interfaces is kinda unsightly. |
Which interfaces? |
Omnipay's HttpClient uses a custom interface |
Any update on this? Can we use PSR-18 in omnipay or do we need to wait on the MR #207 ? |
Omnipay\Common\Http\Client
says that it will be changed to comply with PSR-18 when released. It's been released in last october. So it's just a reminder.I must clarify, I don't know if it's needed, just saw this on the sourcecode.
The text was updated successfully, but these errors were encountered: