Skip to content
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

Replace abandoned packages: ringphp, streams and phpstan-shim #996

Merged
merged 4 commits into from
Feb 14, 2020
Merged

Replace abandoned packages: ringphp, streams and phpstan-shim #996

merged 4 commits into from
Feb 14, 2020

Conversation

ezimuel
Copy link
Contributor

@ezimuel ezimuel commented Feb 13, 2020

This PR fixes #992 and also replace phpstan-shim abandoned package in dev.

The solution proposed is to use a fork of guzzlehttp/ringphp and guzzlehttp/streams. This is a temporary solution to continue to support these libraries until elasticsearch-php 8.0.0. With this new major release, we will refactor all the HTTP transport layer removing the needs of ringphp and streams.

For phpstan-shim we replaced it with phpstan/phpstan using the procedure suggested here.
The new phpstan packages removes also the need to have separate configuration file for PHP 7.1. I removed it in .travis.yaml. Moreover thanks to the new phpstan, I fixed and inconsistency in return $result of Transport::resultOrFuture.

@ezimuel ezimuel changed the title Replace abandoned packages: ringphp, phpstan-shim Replace abandoned packages: ringphp, streams and phpstan-shim Feb 13, 2020
@ezimuel ezimuel requested a review from philkra February 13, 2020 13:02
Copy link
Contributor

@philkra philkra left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@ezimuel ezimuel merged commit 33aa0da into elastic:master Feb 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

guzzlehttp/ringphp and guzzlehttp/streams are abandoned
2 participants