10000 Issue #14815 · symfony/symfony@17b4251 · GitHub
[go: up one dir, main page]

Skip to content

Commit 17b4251

Browse files
Gerrit Drostfabpot
Gerrit Drost
authored andcommitted
Issue #14815
Removed @deprecated tags and moved their descriptions to the method description as a note.
1 parent 2fa3585 commit 17b4251

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

src/Symfony/Component/Validator/ExecutionContextInterface.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,8 @@ interface ExecutionContextInterface
9191
/**
9292
* Adds a violation at the current node of the validation graph.
9393
*
94+
* Note: the parameters $invalidValue, $plural and $code are deprecated since version 2.5 and will be removed in 3.0.
95+
*
9496
* @param string $message The error message
9597
* @param array $params The parameters substituted in the error message
9698
* @param mixed $invalidValue The invalid, validated value

src/Symfony/Component/Yaml/Yaml.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@ class Yaml
3838
* you must validate the input before calling this method. Passing a file
3939
* as an input is a deprecated feature and will be removed in 3.0.
4040
*
41+
* 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.
42+
*
4143
* @param string $input Path to a YAML file or a string containing YAML
4244
* @param bool $exceptionOnInvalidType True if an exception must be thrown on invalid types false otherwise
4345
* @param bool $objectSupport True if object support is enabled, false otherwise

0 commit comments

Comments
 (0)
0