File tree Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -37,11 +37,11 @@ jobs:
3737            symfony-deprecations-helper : " weak" 
3838
3939          #  Test with httplug 1.x clients
40-           - dependencies : " php-http/buzz-adapter:^1.0 php-http/guzzle6-adapter:^1.1.1 php-http/react-adapter:^0.2.1 php-http/socket-client:^1.0 " 
40+           - dependencies : " php-http/buzz-adapter:^1.0 php-http/guzzle6-adapter:^1.1.1 php-http/react-adapter:^0.2.1" 
4141            php-version : " 7.3" 
4242            symfony-deprecations-helper : " weak" 
4343          #  Test with httplug 2.x clients
44-           - dependencies : " php-http/guzzle7-adapter php-http/curl-client:^2.0.0 php-http/vcr-plugin:^1.0@dev" 
44+           - dependencies : " php-http/guzzle7-adapter php-http/curl-client:^2.0.0 php-http/vcr-plugin:^1.0@dev php-http/socket-client:^2.0 " 
4545            php-version : " 7.3" 
4646            symfony-deprecations-helper : " weak" 
4747
Original file line number Diff line number Diff line change 4343    },
4444    "conflict" : {
4545        "php-http/guzzle6-adapter" : " <1.1"  ,
46-         "php-http/curl-client" : " <2.0" 
46+         "php-http/curl-client" : " <2.0"  ,
47+         "php-http/socket-client" : " <2.0" 
4748    },
4849    "require-dev" : {
4950        "guzzlehttp/psr7" : " ^1.7"  ,
Original file line number Diff line number Diff line change @@ -31,6 +31,6 @@ public function createClient(array $config = [])
3131            throw  new  \LogicException ('To use the Socket client you need to install the "php-http/socket-client" package. ' );
3232        }
3333
34-         return  new  Client ($ this -> messageFactory ,  $ config );
34+         return  new  Client ($ config );
3535    }
3636}
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments