From d10e07b86b4643052bf8977fe93d795f48a1e20b Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 3 Aug 2026 11:17:32 +0000 Subject: [PATCH 1/2] fix(deps): update dependency guzzlehttp/uri-template to v2 | datasource | package | from | to | | ---------- | ----------------------- | ------ | ----- | | packagist | guzzlehttp/uri-template | 1.0.10 | 2.0.0 | --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 756b44d..bc10de8 100644 --- a/composer.json +++ b/composer.json @@ -25,7 +25,7 @@ "require": { "php": "^8.4", "guzzlehttp/guzzle": "^8.0.1", - "guzzlehttp/uri-template": "^1.0.10" + "guzzlehttp/uri-template": "^2.0.0" }, "require-dev": { "phpunit/phpunit": "^13.2.5", From d8bb78bd327aedbf89bfb24838ce04600bbf8f3f Mon Sep 17 00:00:00 2001 From: Adrien ERAUD Date: Mon, 3 Aug 2026 12:20:55 +0100 Subject: [PATCH 2/2] Fix --- src/Http/HapiClient.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Http/HapiClient.php b/src/Http/HapiClient.php index be9fb40..c0cf0f0 100644 --- a/src/Http/HapiClient.php +++ b/src/Http/HapiClient.php @@ -219,7 +219,7 @@ private function createHttpRequest(RequestInterface $request) // Handle templated URLs if ($urlVariables = $request->getUrlVariables()) { - $url = (new UriTemplate())->expand($url, $urlVariables); + $url = UriTemplate::expand($url, $urlVariables); } // Headers