diff --git a/src/HttpResourceObject.php b/src/HttpResourceObject.php index ca0832b9..7631262f 100644 --- a/src/HttpResourceObject.php +++ b/src/HttpResourceObject.php @@ -102,6 +102,7 @@ public function __toString(): string return $this->response->getContent(); } + /** @SuppressWarnings(PHPMD.CamelCaseMethodName) */ public function _invokeRequest(InvokerInterface $invoker, AbstractRequest $request): ResourceObject { unset($invoker); diff --git a/src/InvokeRequestInterface.php b/src/InvokeRequestInterface.php index c26f2f34..80c2866c 100644 --- a/src/InvokeRequestInterface.php +++ b/src/InvokeRequestInterface.php @@ -10,6 +10,7 @@ interface InvokeRequestInterface * Invokes a request using the given invoker and request objects. * * @return ResourceObject The resulting resource object returned from the request invocation. + * @SuppressWarnings(PHPMD.CamelCaseMethodName) */ public function _invokeRequest(InvokerInterface $invoker, AbstractRequest $request): ResourceObject; } diff --git a/src/ResourceObject.php b/src/ResourceObject.php index 340f4f49..0bd925e5 100644 --- a/src/ResourceObject.php +++ b/src/ResourceObject.php @@ -264,6 +264,7 @@ public function __clone() /** * {@inheritDoc} + * @SuppressWarnings(PHPMD.CamelCaseMethodName) */ public function _invokeRequest(InvokerInterface $invoker, AbstractRequest $request): ResourceObject {