-
Notifications
You must be signed in to change notification settings - Fork 53
2.x to become the new master #134
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
* Adjust client signatures * Lock lower bounds for test dependencies * Use leanphp/phpspec-code-coverage as a maintained fork
Remove deprecated plugin option 'debug_plugins'
Complete removal of debug_plugins
[2.0] Add PHP-CS-Ffixer
* Add types where possible * Add spec to autoload-dev * Fix signatures * Use ::class anywhere * Add `: Promise` return type to Plugin::handleRequest
Make RedirectPlugin final
We add interfaces for final classes so that they can be mocked in testing. We chose to use the Interface suffix here to avoid name clashes, rather than renaming the existing PHP classes. The interfaces are only relevant for unit testing, we do not expect people to provide their own implementations. HttpClientPoolItem is purely internal and we therefore don't want an interface for it. It is marked with @Final and explained to not be meant to extend.
mark classes as final and methods and properties as private
Remove php-cs-fixer from dependencies
Test on PHP 7.3
Typecheck for PSR-18 ClientInterface instead of Httplug Client interface. Our interface extends the PSR-18 ClientInterface and therefore is still accepted. No changes for the async client as there is no PSR for that (yet)
fix cs violation introduced when merging master to 2.x
Functional test to ensure no issue with plugins in sync nor async requests
I suggest merging this to master now. I've created a 1.x branch |
agreed. i'll try to solve the merge conflicts. |
Update from master
add missing type declarations
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.
lets merge this, i'd say!
Thank you for fixing the merge conflicts. |
What about dropping PHP 7.0? |
I just suggest to merge to master. Not to tag 2.0. About PHP 7.0: #148 |
This is a PR to show that we have a 2.x branch.
It should be merged after we release 1.9.