Skip to content

Commit

Permalink
apply php-cs-fixer 3.64 changes
Browse files Browse the repository at this point in the history
  • Loading branch information
phil-davis committed Sep 6, 2024
1 parent 90bc6a3 commit 49f5c1c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"sabre/uri" : "^2.3 || ^3.0"
},
"require-dev" : {
"friendsofphp/php-cs-fixer": "^3.56",
"friendsofphp/php-cs-fixer": "^3.64",
"phpstan/phpstan": "^1.11",
"phpstan/phpstan-phpunit": "^1.4",
"phpstan/phpstan-strict-rules": "^1.6",
Expand Down
4 changes: 2 additions & 2 deletions lib/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -474,7 +474,7 @@ protected function parseCurlResponse(array $headerLines, string $body, $curlHand
list(
$curlInfo,
$curlErrNo,
$curlErrMsg
$curlErrMsg,
) = $this->curlStuff($curlHandle);

if (0 !== $curlErrNo) {
Expand Down Expand Up @@ -531,7 +531,7 @@ protected function parseCurlResult(string $response, $curlHandle): array
list(
$curlInfo,
$curlErrNo,
$curlErrMsg
$curlErrMsg,
) = $this->curlStuff($curlHandle);

if (0 !== $curlErrNo) {
Expand Down
2 changes: 1 addition & 1 deletion lib/Response.php
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ public function setStatus($status): void
} else {
list(
$statusCode,
$statusText
$statusText,
) = explode(' ', $status, 2);
}
$statusCode = (int) $statusCode;
Expand Down

0 comments on commit 49f5c1c

Please sign in to comment.