Skip to content

Commit

Permalink
Fix http_build_query() deprecated error (#292)
Browse files Browse the repository at this point in the history
  • Loading branch information
shishir-intelli authored Aug 22, 2023
1 parent 97c952b commit 7dd4297
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/Test/HttpClient/FileSystemResponseFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ protected function transformRequestToPath(RequestInterface $request): string
parse_str($request->getUri()->getQuery(), $raw_query_params);
$raw_query_params = preg_replace('/[\W]/', '', $raw_query_params);
ksort($raw_query_params);
$query_params = http_build_query($raw_query_params, null, '-');
$query_params = http_build_query($raw_query_params, '', '-');
$fileName .= $query_params;
}
$fileName .= '.json';
Expand Down

0 comments on commit 7dd4297

Please sign in to comment.