From 6f34889bbb0aa39313b0e7f09cfcd4f0702582c6 Mon Sep 17 00:00:00 2001 From: David Buchmann Date: Thu, 17 Mar 2022 08:29:41 +0100 Subject: [PATCH 1/2] implement formatResponseForRequest --- src/Collector/Formatter.php | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/Collector/Formatter.php b/src/Collector/Formatter.php index f4759d36..8fca820d 100644 --- a/src/Collector/Formatter.php +++ b/src/Collector/Formatter.php @@ -65,6 +65,15 @@ public function formatRequest(RequestInterface $request) return $this->formatter->formatRequest($request); } + public function formatResponseForRequest(ResponseInterface $response, RequestInterface $request) + { + if (method_exists($this->formatter, 'formatResponseForRequest')) { + return $this->formatter->formatResponseForRequest($response, $request); + } + + return $this->formatter->formatResponse($response); + } + /** * {@inheritdoc} */ From ec92e1b5b536cc697be7e90dc24d6b74646fe757 Mon Sep 17 00:00:00 2001 From: David Buchmann Date: Thu, 17 Mar 2022 08:47:01 +0100 Subject: [PATCH 2/2] lowest version build with stable components --- .github/workflows/continuous-integration.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index 09a5c2f8..c2503db8 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -23,6 +23,7 @@ jobs: php-version: "7.3" dependency-versions: "lowest" symfony-deprecations-helper: "weak" + stability: "stable" # Test the latest stable release - dependencies: "php-http/guzzle7-adapter php-http/vcr-plugin:^1.0@dev"