-
-
Notifications
You must be signed in to change notification settings - Fork 13
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
Change Guzzle HTTP Adapter to PSR Adapter #254
Conversation
You should be able to use No promises though! |
@marczhermo Could you please have a look at your Docker container, to update the PHP version to 7.3+, and maybe/possibly PHP8 as a secondary build track? |
@@ -17,6 +17,8 @@ | |||
use Firesphere\SolrSearch\Traits\CoreServiceTrait; | |||
use GuzzleHttp\Client as GuzzleClient; | |||
use GuzzleHttp\HandlerStack; | |||
use Http\Discovery\HttpClientDiscovery; |
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.
Hi @Firesphere,
Can we add php-http/discovery:^1.14
to composer.json
?
I got this error below:
[Emergency] Uncaught Error: Class 'Http\Discovery\HttpClientDiscovery' not found
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.
Yes, Of course!
Hey Marco, I've added and updated this PR, it's now ready to go. Test failing is unrelated and work locally, I'll fix up the tests on master when I get to it. This adds:
|
require at least PHP7.3 Solr 9 compatibility Flatten hierarchy to avoid Solr thinking it's a child document Add required PSR adapters
010f66e
to
a9317d4
Compare
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.
Solr 9 🎉
Hi there and thank you for taking the time and effort to make a Pull Request
No, seriously, we are delighted you made time and effort to help us, even in the smallest way!
Please check the following