8000 fix · symfony/symfony@5556fa5 · GitHub
[go: up one dir, main page]

Skip to content

Commit 5556fa5

Browse files
committed
fix
1 parent d4cdb00 commit 5556fa5

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/Symfony/Component/Serializer/Normalizer/AbstractNormalizer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ protected function getConstructor(array &$data, $class, array &$context, \Reflec
274274
*/
275275
protected function instantiateObject(array &$data, $class, array &$context, \ReflectionClass $reflectionClass, $allowedAttributes)
276276
{
277-
@trigger_error(sprintf('"%s()" has been deprecated sin Symfony 3.1 and will be removed in version 4.0. Use "%s::instantiateComplexObject()" instead.', __METHOD__, __CLASS__));
277+
@trigger_error(sprintf('"%s()" has been deprecated since Symfony 3.1 and will be removed in version 4.0. Use "%s::instantiateComplexObject()" instead.', __METHOD__, __CLASS__), E_USER_DEPRECATED);
278278

279279
return $this->instantiateComplexObject($data, $class, $context, $reflectionClass, $allowedAttributes);
280280
}

src/Symfony/Component/Serializer/composer.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,7 @@
1616
}
1717
],
1818
"require": {
19-
"php": ">=5.5.9",
20-
"symfony/property-access": "^3.1"
19+
"php": ">=5.5.9"
2120
},
2221
"require-dev": {
2322
"symfony/yaml": "~2.8|~3.0",

0 commit comments

Comments
 (0)
0