Skip to content

Commit 13f237c

Browse files
authored
Add PHP 8.3 to test matrix (#245)
* Add PHP 8.3 to test matrix * Update psalm for 8.3 to work * Update psalm suppressions * Fix php-cs-fixer issue
1 parent 793f49c commit 13f237c

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@
2525
"php-http/mock-client": "*",
2626
"phpstan/phpstan": "^1.1",
2727
"phpstan/phpstan-phpunit": "^1.0",
28-
"psalm/plugin-phpunit": "^0.16",
28+
"psalm/plugin-phpunit": "^0.18.4",
2929
"open-telemetry/sdk": "^1.0",
3030
"phpunit/phpunit": "^9.5",
31-
"vimeo/psalm": "^4.0",
31+
"vimeo/psalm": "^5.0",
3232
"symfony/http-client": "^5.4||^6.0",
3333
"symfony/messenger": "^5.4||^6.0",
3434
"open-telemetry/opentelemetry-propagation-traceresponse": "*",

src/RequestPropagationGetter.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,12 @@ public static function instance(): self
2020
return $instance ??= new self();
2121
}
2222

23-
/** @psalm-suppress InvalidReturnType */
23+
/** @psalm-suppress MoreSpecificReturnType */
2424
public function keys($carrier): array
2525
{
2626
assert($carrier instanceof Request);
2727

28-
/** @psalm-suppress InvalidReturnStatement */
28+
/** @psalm-suppress LessSpecificReturnStatement */
2929
return $carrier->headers->keys();
3030
}
3131

0 commit comments

Comments
 (0)