Skip to content

Commit 0d78083

Browse files
Merge branch '5.4' into 6.0
* 5.4: cs fix [Messenger] Fix Doctrine transport on MySQL [Filesystem] Remove needless `mb_*` calls [Translator] Fix translator overlapse [Yaml] Improve test coverage in DumperTest and ParserTest Extract dispatching console signal handling and include subscribers [Mailer] Fix error message in case of an STMP error [HttpClient] Fix shared connections not being freed on PHP < 8 [HttpFoundation] Fix invalid ID not regenerated with native PHP file sessions [HttpClient] Fix memory leak when using StreamWrapper minor: fix test [Serializer] Fix error message remove the ChatterInterface alias when the chatter service is removed Bump Symfony version to 5.4.12 Update VERSION for 5.4.11 Update CHANGELOG for 5.4.11 Bump Symfony version to 4.4.45 Update VERSION for 4.4.44 Update CONTRIBUTORS for 4.4.44 Update CHANGELOG for 4.4.44
2 parents 4642040 + 2ed044e commit 0d78083

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Normalizer/AbstractNormalizer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -387,7 +387,7 @@ protected function instantiateObject(array &$data, string $class, array &$contex
387387
}
388388

389389
$exception = NotNormalizableValueException::createForUnexpectedDataType(
390-
sprintf('Failed to create object because the object miss the "%s" property.', $constructorParameter->name),
390+
sprintf('Failed to create object because the class misses the "%s" property.', $constructorParameter->name),
391391
$data,
392392
['unknown'],
393393
$context['deserialization_path'] ?? null,

Tests/SerializerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -998,7 +998,7 @@ public function testCollectDenormalizationErrors(?ClassMetadataFactory $classMet
998998
],
999999
'path' => 'php74FullWithConstructor',
10001000
'useMessageForUser' => true,
1001-
'message' => 'Failed to create object because the object miss the "constructorArgument" property.',
1001+
'message' => 'Failed to create object because the class misses the "constructorArgument" property.',
10021002
],
10031003
$classMetadataFactory ?
10041004
[

0 commit comments

Comments
 (0)