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 26
26
"php" : " ^7.2|^8" ,
27
27
"php-http/discovery" : " ^1.14" ,
28
28
"php-http/mock-client" : " ^1.1" ,
29
- "guzzlehttp/psr7" : " ^1" ,
29
+ "guzzlehttp/psr7" : " ^1.7|^2 " ,
30
30
"mockery/mockery" : " ^1.3" ,
31
31
"phpunit/phpunit" : " ^8.5.14|^9|^10|^11"
32
32
},
Original file line number Diff line number Diff line change @@ -89,10 +89,10 @@ public function getMockHttpResponse($path)
89
89
90
90
// if mock file doesn't exist, check parent directory
91
91
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 ));
93
93
}
94
94
95
- return \GuzzleHttp \Psr7 \parse_response (file_get_contents ($ dir .'/Mock/ ' .$ path ));
95
+ return \GuzzleHttp \Psr7 \Message:: parseResponse (file_get_contents ($ dir .'/Mock/ ' .$ path ));
96
96
}
97
97
98
98
/**
You can’t perform that action at this time.
0 commit comments