diff --git a/src/Adapter/Guzzle.php b/src/Adapter/Guzzle.php index 2cc7636..71e7dd7 100644 --- a/src/Adapter/Guzzle.php +++ b/src/Adapter/Guzzle.php @@ -70,6 +70,9 @@ class Guzzle implements Adapter return $this->request('delete', $uri, $data, $headers); } + /** + * @SuppressWarnings(PHPMD.StaticAccess) + */ public function request(string $method, string $uri, array $data = [], array $headers = []) { if (!in_array($method, ['get', 'post', 'put', 'patch', 'delete'])) { diff --git a/tests/Adapter/ResponseExceptionTest.php b/tests/Adapter/ResponseExceptionTest.php index d876deb..8283e0f 100644 --- a/tests/Adapter/ResponseExceptionTest.php +++ b/tests/Adapter/ResponseExceptionTest.php @@ -6,6 +6,9 @@ use GuzzleHttp\Exception\RequestException; use GuzzleHttp\Psr7\Request; use GuzzleHttp\Psr7\Response; +/** + * @SuppressWarnings(PHPMD.StaticAccess) + */ class ResponseExceptionTest extends TestCase { public function testFromRequestExceptionNoResponse()