Closed (fixed)
Project:
Geocoder
Version:
8.x-4.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
24 Apr 2023 at 11:16 UTC
Updated:
9 Jun 2025 at 10:13 UTC
Jump to comment: Most recent, Most recent file
https://git.drupalcode.org/project/geocoder/-/blob/8.x-4.x/src/Configura...
Parameter $http_adapter has typehint with deprecated interface Http\Client\HttpClient: since version 2.4, use Psr\Http\Client\ClientInterface instead; see https://www.php-fig.org/psr/psr-18/
| Comment | File | Size | Author |
|---|---|---|---|
| #14 | Screenshot 2023-04-27 at 12.01.13 PM.png | 76.02 KB | rajeshreeputra |
| #14 | Screenshot 2023-04-27 at 12.01.29 PM.png | 54.4 KB | rajeshreeputra |
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
akshaydalvi212 commentedI will work on this issue.
Comment #4
akshaydalvi212 commentedI had replace the depreciated code for HTTPClient and also solve some coding issues with the branch.
kindly review the MR.
Comment #6
itamair commentedComment #10
itamair commentedThanks a lot. This was committed into the 8.x-4.x-dev branch, is going to be part of next Geocoder release
Comment #12
rajeshreeputraWith this changes now unable to install site with Drupal 10.0.7 and geocoder 4.6.
Error: Cannot instantiate interface Psr\Http\Client\ClientInterface in Drupal\Component\DependencyInjection\Container->createService() (line 259 of /Applications/MAMP/htdocs/acquia_cms/docroot/core/lib/Drupal/Component/DependencyInjection/Container.php).created another issue: 3356777
Comment #13
rajeshreeputraComment #14
rajeshreeputraPlease see attached screenshots
Comment #15
itamair commentedNice catch @Rajeshreeputra ... super thanks for this. Reopening this then.
Comment #20
ankitv18 commentedComment #21
itamair commentedI was too quick (and confident) with the initial fixes / contributions to this issue (that also affected the 3.x branch).
Please provide a full QA and Testing of what is being done here, so that I could perform mine one, being confident this properly marked as RTBC ...
This has become a super adopted module, so that any critical regression introduced would reflect in a big mess, coming from everywhere.
Comment #22
rajeshreeputraTo avoid these type of issue in future lets add testcase coverage in separate ticket.
Comment #24
itamair commented