Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 6561d53

Browse files
Merge branch '7.4' into 8.0
* 7.4: Fix merge Revert "[PropertyAccess] Add InvalidTypeException thrown on type mismatch" [PropertyAccess] Add InvalidTypeException thrown on type mismatch [FrameworkBundle][TwigBridge] Bump symfony/mime requirement
2 parents b90bb7b + 987e435 commit 6561d53

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

Tests/Normalizer/ObjectNormalizerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -533,7 +533,7 @@ public function testTypeMismatchOnTypedPropertyIsCollectedAsDenormalizationError
533533
$this->assertInstanceOf(NotNormalizableValueException::class, $error);
534534
$this->assertSame('name', $error->getPath());
535535
$this->assertSame('array', $error->getCurrentType());
536-
$this->assertSame(['string'], $error->getExpectedTypes());
536+
$this->assertSame([class_exists(InvalidTypeException::class) ? 'string' : 'unknown'], $error->getExpectedTypes());
537537
}
538538
}
539539

composer.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
"symfony/http-kernel": "^7.4|^8.0",
3535
"symfony/messenger": "^7.4|^8.0",
3636
"symfony/mime": "^7.4|^8.0",
37-
"symfony/property-access": "^7.4|^8.0",
37+
"symfony/property-access": "^7.4.9|^8.0.9",
3838
"symfony/property-info": "^7.4|^8.0",
3939
"symfony/translation-contracts": "^2.5|^3",
4040
"symfony/type-info": "^7.4|^8.0",
@@ -47,6 +47,7 @@
4747
"conflict": {
4848
"phpdocumentor/reflection-docblock": "<5.2|>=7",
4949
"phpdocumentor/type-resolver": "<1.5.1",
50+
"symfony/property-access": "<7.4.9|>=8.0,<8.0.9",
5051
"symfony/property-info": "<7.4",
5152
"symfony/type-info": "<7.4"
5253
},

0 commit comments

Comments
 (0)