Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update code style #55

Merged
merged 5 commits into from
Dec 13, 2021
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .styleci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ disabled:
- concat_without_spaces
- phpdoc_no_package
- logical_not_operators_with_successor_space
- laravel_phpdoc_alignment
1 change: 1 addition & 0 deletions src/Client/YouTrackClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ class YouTrackClient implements
* Endpoint path prefix.
*
* @todo test it
*
* @var string
*/
private $endpointPathPrefix;
Expand Down
2 changes: 1 addition & 1 deletion src/HttpClient/GuzzleHttpClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public function request(string $method, string $uri, array $options = []): Respo
{
try {
return $this->httpClient->request($method, $uri, $this->buildOptions($options));
} catch (BadResponseException | RequestException $e) {
} catch (BadResponseException|RequestException $e) {
ilzrv marked this conversation as resolved.
Show resolved Hide resolved
$rawResponse = $e->getResponse();
if (!$rawResponse instanceof ResponseInterface) {
throw new HttpClientException($e->getMessage(), $e->getCode(), $e);
Expand Down
1 change: 1 addition & 0 deletions tests/Traits/HasFakeHttpResponses.php
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,7 @@ private function createFakeResponseDirectory(string $name): void
* Unset all provided headers from the HTTP Response.
*
* @todo Use Middleware http://docs.guzzlephp.org/en/latest/handlers-and-middleware.html#middleware
*
* @param \Psr\Http\Message\ResponseInterface $response
* @param array $headers
* @return \Psr\Http\Message\ResponseInterface
Expand Down