Removed @deprecated tags and moved their descriptions to the method description as a note.
This commit is contained in:
Gerrit Drost 2015-06-01 18:24:07 +02:00 committed by Fabien Potencier
parent 2fa3585d08
commit 17b4251310
2 changed files with 4 additions and 0 deletions

View File

@ -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

View File

@ -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