Skip to content

Commit 7729037

Browse files
authored
Merge pull request #340 from jolicode/feat/type-resolver-2
chore(deps): allow type resolver to 2.0
2 parents 1bad5df + 3d3764c commit 7729037

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
"symfony/property-info": "^7.4 || ^8.0",
2828
"symfony/property-access": "^7.4 || ^8.0",
2929
"symfony/type-info": "^7.4 || ^8.0",
30-
"phpdocumentor/type-resolver": "^1.12",
30+
"phpdocumentor/type-resolver": "^1.12 || ^2.0",
3131
"phpstan/phpdoc-parser": "^2.3"
3232
},
3333
"require-dev": {

tests/ObjectMapper/ObjectMapperTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -421,7 +421,7 @@ public function testMapInitializesLazyObject()
421421
$this->assertTrue($lazy->isLazyObjectInitialized());
422422
}
423423

424-
#[RequiresPhp('>=8.4')]
424+
#[RequiresPhp('>=8.4.0')]
425425
public function testMapInitializesNativePhp84LazyObject()
426426
{
427427
$initialized = false;
@@ -549,7 +549,7 @@ public function testTransformCollection()
549549
$this->assertEquals([new TransformCollectionD('a'), new TransformCollectionD('b')], $transformed->foo);
550550
}
551551

552-
#[RequiresPhp('>=8.4')]
552+
#[RequiresPhp('>=8.4.0')]
553553
public function testEmbedsAreLazyLoadedByDefault()
554554
{
555555
$this->markTestSkipped('Lazy Loading is not enable by default and works differently.');

0 commit comments

Comments
 (0)