Skip to content

Commit 4030db9

Browse files
committed
restrict symfony/http-kernel version ^7.0
Signed-off-by: FilippeB <filippe.b@gmail.com>
1 parent 991602c commit 4030db9

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"phpro/api-problem": "^1.0",
1515
"symfony/dependency-injection": "^5.4 || ^6.0 || ^7.0",
1616
"symfony/event-dispatcher": "^5.4 || ^6.0 || ^7.0",
17-
"symfony/http-kernel": "^5.4 || ^6.0 || ^7.0"
17+
"symfony/http-kernel": "^7.0"
1818
},
1919
"require-dev": {
2020
"friendsofphp/php-cs-fixer": "^3.39",

test/Transformer/ChainTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ public function it_transforms_to_basic_exception_problem_when_no_transformer_mat
5555
$this->assertInstanceOf(ExceptionApiProblem::class, $transformer->transform(new Exception()));
5656
}
5757

58-
private function mockTransformer(bool $accepts, ApiProblemInterface $apiProblem = null): ExceptionTransformerInterface
58+
private function mockTransformer(bool $accepts, ?ApiProblemInterface $apiProblem = null): ExceptionTransformerInterface
5959
{
6060
/** @var ExceptionTransformerInterface|ObjectProphecy $transformer */
6161
$transformer = $this->prophesize(ExceptionTransformerInterface::class);

0 commit comments

Comments
 (0)