Support php-http/guzzle6-adapter 2.0
>>> [!note] Migrated issue <!-- Drupal.org comment --> <!-- Migrated from issue #3282269. --> Reported by: [codebymikey](https://www.drupal.org/user/3573206) Related to !10 >>> <h3 id="summary-problem-motivation">Problem/Motivation</h3> <p>The module has requirement for php-http/guzzle6-adapter (^1.0).<br> However, there are certain installations which have 2.0 installed, and it'd be beneficial to support the latest version (^2.0).<br> The only significant change between v1 and v2 is "Client and Promise are both final".</p> <p>Given the module doesn't extend any of those classes, there should theoretically be no issues.</p> <p>See <a href="https://github.com/php-http/guzzle6-adapter/blob/master/CHANGELOG.md#200---2018-11-14" rel="nofollow">guzzle6-adapter change log</a></p> <p>From looking at the codebase, I'm not sure if the dependency is required either.</p> <h4 id="summary-steps-reproduce">Steps to reproduce</h4> <p>N/A</p> <h3 id="summary-proposed-resolution">Proposed resolution</h3> <p>Provide support for both v1.0 and v2.0, or remove the dependency if it's not actually used.</p> <h3 id="summary-remaining-tasks">Remaining tasks</h3> <p>Provide issue fork, and release.</p> <h3 id="summary-ui-changes">User interface changes</h3> <p>N/A.</p> <h3 id="summary-api-changes">API changes</h3> <p>N/A</p>
issue