diff --git a/src/Adapter/Guzzle.php b/src/Adapter/Guzzle.php index 2cc76361..71e7dd75 100644 --- a/src/Adapter/Guzzle.php +++ b/src/Adapter/Guzzle.php @@ -70,6 +70,9 @@ public function delete(string $uri, array $data = [], array $headers = []): Resp 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 d876deb4..8283e0fc 100644 --- a/tests/Adapter/ResponseExceptionTest.php +++ b/tests/Adapter/ResponseExceptionTest.php @@ -6,6 +6,9 @@ use GuzzleHttp\Psr7\Request; use GuzzleHttp\Psr7\Response; +/** + * @SuppressWarnings(PHPMD.StaticAccess) + */ class ResponseExceptionTest extends TestCase { public function testFromRequestExceptionNoResponse()