You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
thrownewMissingConstructorArgumentsException(sprintf('Cannot create an instance of "%s" from serialized data because its constructor requires the following parameters to be present : "$%s".', $class, implode('", "$', $missingConstructorArguments)), 0, null, $missingConstructorArguments);
422
428
}
@@ -489,8 +495,6 @@ protected function denormalizeParameter(\ReflectionClass $class, \ReflectionPara
Copy file name to clipboardExpand all lines: src/Symfony/Component/Serializer/Tests/SerializerTest.php
-9
Original file line number
Diff line number
Diff line change
@@ -1024,15 +1024,6 @@ public function testCollectDenormalizationErrors(?ClassMetadataFactory $classMet
1024
1024
'useMessageForUser' => true,
1025
1025
'message' => 'Failed to create object because the class misses the "constructorArgument" property.',
1026
1026
],
1027
-
[
1028
-
'currentType' => 'string',
1029
-
'expectedTypes' => [
1030
-
'float',
1031
-
],
1032
-
'path' => 'php74FullWithTypedConstructor',
1033
-
'useMessageForUser' => false,
1034
-
'message' => 'The type of the "something" attribute for class "Symfony\Component\Serializer\Tests\Fixtures\Php74FullWithTypedConstructor" must be one of "float" ("string" given).',
0 commit comments