Skip to content

Commit

Permalink
Merge pull request #1 from koriym/update-symfony-client
Browse files Browse the repository at this point in the history
Suppress warnings for camel case method names
  • Loading branch information
NaokiTsuchiya authored Apr 26, 2024
2 parents 494d857 + 132a96e commit cbb04d0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/HttpResourceObject.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
1 change: 1 addition & 0 deletions src/InvokeRequestInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Check failure on line 12 in src/InvokeRequestInterface.php

View workflow job for this annotation

GitHub Actions / cs / Coding Standards

Incorrect annotations group.
* @SuppressWarnings(PHPMD.CamelCaseMethodName)
*/
public function _invokeRequest(InvokerInterface $invoker, AbstractRequest $request): ResourceObject;
}
1 change: 1 addition & 0 deletions src/ResourceObject.php
Original file line number Diff line number Diff line change
Expand Up @@ -264,6 +264,7 @@ public function __clone()

/**
* {@inheritDoc}
* @SuppressWarnings(PHPMD.CamelCaseMethodName)

Check failure on line 267 in src/ResourceObject.php

View workflow job for this annotation

GitHub Actions / cs / Coding Standards

Expected 1 line between description and annotations, found 0.
*/
public function _invokeRequest(InvokerInterface $invoker, AbstractRequest $request): ResourceObject
{
Expand Down

0 comments on commit cbb04d0

Please sign in to comment.