From 17b4251310bdbfb98658598742c9a3f376021aa6 Mon Sep 17 00:00:00 2001 From: Gerrit Drost Date: Mon, 1 Jun 2015 18:24:07 +0200 Subject: [PATCH] Issue #14815 Removed @deprecated tags and moved their descriptions to the method description as a note. --- src/Symfony/Component/Validator/ExecutionContextInterface.php | 2 ++ src/Symfony/Component/Yaml/Yaml.php | 2 ++ 2 files changed, 4 insertions(+) diff --git a/src/Symfony/Component/Validator/ExecutionContextInterface.php b/src/Symfony/Component/Validator/ExecutionContextInterface.php index ebef4bdf84..a52d8f1c11 100644 --- a/src/Symfony/Component/Validator/ExecutionContextInterface.php +++ b/src/Symfony/Component/Validator/ExecutionContextInterface.php @@ -91,6 +91,8 @@ interface ExecutionContextInterface /** * Adds a violation at the current node of the validation graph. * + * Note: the parameters $invalidValue, $plural and $code are deprecated since version 2.5 and will be removed in 3.0. + * * @param string $message The error message * @param array $params The parameters substituted in the error message * @param mixed $invalidValue The invalid, validated value diff --git a/src/Symfony/Component/Yaml/Yaml.php b/src/Symfony/Component/Yaml/Yaml.php index 419226a2dd..e7d68e60f0 100644 --- a/src/Symfony/Component/Yaml/Yaml.php +++ b/src/Symfony/Component/Yaml/Yaml.php @@ -38,6 +38,8 @@ class Yaml * you must validate the input before calling this method. Passing a file * as an input is a deprecated feature and will be removed in 3.0. * + * Note: the ability to pass file names to the Yaml::parse method is deprecated since version 2.2 and will be removed in 3.0. Pass the YAML contents of the file instead. + * * @param string $input Path to a YAML file or a string containing YAML * @param bool $exceptionOnInvalidType True if an exception must be thrown on invalid types false otherwise * @param bool $objectSupport True if object support is enabled, false otherwise