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

Skip to content

Commit d076d90

Browse files
committed
minor #32944 [Yaml] Removed unused $nullAsTilde property (pierredup)
This PR was squashed before being merged into the 4.4 branch (closes #32944). Discussion ---------- [Yaml] Removed unused $nullAsTilde property | Q | A | ------------- | --- | Branch? | 4.4 | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | N/A | License | MIT | Doc PR | N/A #32669 added a new private property `$nullAsTilde`, but that property was never used, so this PR removes the unused property Commits ------- fbef854 [Yaml] Removed unused $nullAsTilde property
2 parents f64d3fc + fbef854 commit d076d90

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/Symfony/Component/Yaml/Inline.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ class Inline
3333
private static $objectSupport = false;
3434
private static $objectForMap = false;
3535
private static $constantSupport = false;
36-
private static $nullAsTilde = false;
3736

3837
/**
3938
* @param int $flags
@@ -46,7 +45,6 @@ public static function initialize($flags, $parsedLineNumber = null, $parsedFilen
4645
self::$objectSupport = (bool) (Yaml::PARSE_OBJECT & $flags);
4746
self::$objectForMap = (bool) (Yaml::PARSE_OBJECT_FOR_MAP & $flags);
4847
self::$constantSupport = (bool) (Yaml::PARSE_CONSTANT & $flags);
49-
self::$nullAsTilde = (bool) (Yaml::DUMP_NULL_AS_TILDE & $flags);
5048
self::$parsedFilename = $parsedFilename;
5149

5250
if (null !== $parsedLineNumber) {

0 commit comments

Comments
 (0)