We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9b08ab8 commit cd2c809Copy full SHA for cd2c809
components/yaml.rst
@@ -104,12 +104,6 @@ string and converts it to a PHP array:
104
105
$value = Yaml::parse(file_get_contents('/path/to/file.yml'));
106
107
-.. caution::
108
-
109
- Because it is currently possible to pass a filename to this method, you
110
- must validate the input first. Passing a filename is deprecated in
111
- Symfony 2.2, and was removed in Symfony 3.0.
112
113
If an error occurs during parsing, the parser throws a
114
:class:`Symfony\\Component\\Yaml\\Exception\\ParseException` exception
115
indicating the error type and the line in the original YAML string where the
0 commit comments