File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 2626 "php" : " ^7.2|^8" ,
2727 "php-http/discovery" : " ^1.14" ,
2828 "php-http/mock-client" : " ^1.1" ,
29- "guzzlehttp/psr7" : " ^1" ,
29+ "guzzlehttp/psr7" : " ^1.7|^2 " ,
3030 "mockery/mockery" : " ^1.3" ,
3131 "phpunit/phpunit" : " ^8.5.14|^9|^10|^11"
3232 },
Original file line number Diff line number Diff line change @@ -89,10 +89,10 @@ public function getMockHttpResponse($path)
8989
9090 // if mock file doesn't exist, check parent directory
9191 if (!file_exists ($ dir .'/Mock/ ' .$ path ) && file_exists ($ dir .'/../Mock/ ' .$ path )) {
92- return \GuzzleHttp \Psr7 \parse_response (file_get_contents ($ dir .'/../Mock/ ' .$ path ));
92+ return \GuzzleHttp \Psr7 \Message:: parseResponse (file_get_contents ($ dir .'/../Mock/ ' .$ path ));
9393 }
9494
95- return \GuzzleHttp \Psr7 \parse_response (file_get_contents ($ dir .'/Mock/ ' .$ path ));
95+ return \GuzzleHttp \Psr7 \Message:: parseResponse (file_get_contents ($ dir .'/Mock/ ' .$ path ));
9696 }
9797
9898 /**
You can’t perform that action at this time.
0 commit comments