walmart-partner-api-sdk-php icon indicating copy to clipboard operation
walmart-partner-api-sdk-php copied to clipboard

guzzlehttp/guzzle Version too low

Open shuzhongrong opened this issue 3 years ago • 1 comments

How to make guzzlehttp / guzzle compatible with 6.5.5?

shuzhongrong avatar Dec 03 '21 03:12 shuzhongrong

you call install guzzlehttp5.3 and guzzlehttp6.7 ,

like this vendor/guzzlehttp53 vendor/guzzlehttp

第二步 2. fillup/walmart-partner-api-sdk-php

replace

use GuzzleHttp\ - > use GuzzleHttp53\

GuzzleHttp\ -> GuzzleHttp53\

第三部 2.

composer\autoload_psr4

add GuzzleHttp53

autoload_psr4

'GuzzleHttp53\\Subscriber\\Retry\\' => array($vendorDir . '/guzzlehttp53/retry-subscriber/src'),
'GuzzleHttp53\\Stream\\' => array($vendorDir . '/guzzlehttp53/streams/src'),
'GuzzleHttp53\\Ring\\' => array($vendorDir . '/guzzlehttp53/ringphp/src'),
'GuzzleHttp53\\Command\\Guzzle\\' => array($vendorDir . '/fillup/guzzle-services/src'),
'GuzzleHttp53\\Command\\' => array($vendorDir . '/guzzlehttp53/command/src'),
'GuzzleHttp53\\' => array($vendorDir . '/guzzlehttp53/guzzle/src'),

autoload_static

.......................

yanggg1133 avatar Nov 10 '22 08:11 yanggg1133