8000 [Serializer] JsonEncoder: remove deprecated method · symfony/symfony@87d5589 · GitHub
[go: up one dir, main page]

Skip to content

Commit 87d5589

Browse files
committed
[Serializer] JsonEncoder: remove deprecated method
1 parent fc2eff8 commit 87d5589

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

src/Symfony/Component/Serializer/Encoder/JsonEncoder.php

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -67,18 +67,4 @@ public function supportsDecoding($format)
6767
{
6868
return self::FORMAT === $format;
6969
}
70-
71-
/**
72-
* Resolves json_last_error message.
73-
*
74-
* @return string
75-
*
76-
* @deprecated since 2.8, to be removed in 3.0. Use json_last_error_msg() instead.
77-
*/
78-
public static function getLastErrorMessage()
79-
{
80-
@trigger_error('The '.__METHOD__.' method is deprecated since version 2.8 and will be removed in 3.0. Use json_last_error_msg() instead.', E_USER_DEPRECATED);
81-
82-
return json_last_error_msg();
83-
}
8470
}

0 commit comments

Comments
 (0)
0