Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit f9db245

Browse files
committed
[Yaml] mark some classes as final
1 parent d00ac8a commit f9db245

File tree

5 files changed

+10
-0
lines changed

5 files changed

+10
-0
lines changed

UPGRADE-3.4.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,8 @@ Validator
197197
Yaml
198198
----
199199

200+
* the `Dumper`, `Parser`, and `Yaml` classes are marked as final
201+
200202
* using the `!php/object:` tag is deprecated and won't be supported in 4.0. Use
201203
the `!php/object` tag (without the colon) instead.
202204

src/Symfony/Component/Yaml/CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ CHANGELOG
44
3.4.0
55
-----
66

7+
* the `Dumper`, `Parser`, and `Yaml` classes are marked as final
8+
79
* Deprecated the `!php/object:` tag which will be replaced by the
810
`!php/object` tag (without the colon) in 4.0.
911

src/Symfony/Component/Yaml/Dumper.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@
1515
* Dumper dumps PHP variables to YAML strings.
1616
*
1717
* @author Fabien Potencier <[email protected]>
18+
*
19+
* @final since version 3.4
1820
*/
1921
class Dumper
2022
{

src/Symfony/Component/Yaml/Parser.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@
1818
* Parser parses YAML strings to convert them to PHP arrays.
1919
*
2020
* @author Fabien Potencier <[email protected]>
21+
*
22+
* @final since version 3.4
2123
*/
2224
class Parser
2325
{

src/Symfony/Component/Yaml/Yaml.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@
1717
* Yaml offers convenience methods to load and dump YAML.
1818
*
1919
* @author Fabien Potencier <[email protected]>
20+
*
21+
* @final since version 3.4
2022
*/
2123
class Yaml
2224
{

0 commit comments

Comments
 (0)