diff --git a/vendor/Symfony/Component/Yaml/Dumper.php b/vendor/Symfony/Component/Yaml/Dumper.php index 8709f8b..00445c7 100644 --- a/vendor/Symfony/Component/Yaml/Dumper.php +++ b/vendor/Symfony/Component/Yaml/Dumper.php @@ -11,6 +11,8 @@ namespace Symfony\Component\Yaml; +use Symfony\Component\Yaml\Inline; + /** * Dumper dumps PHP variables to YAML strings. * diff --git a/vendor/Symfony/Component/Yaml/Exception/DumpException.php b/vendor/Symfony/Component/Yaml/Exception/DumpException.php index 9b3e6de..5b4700f 100644 --- a/vendor/Symfony/Component/Yaml/Exception/DumpException.php +++ b/vendor/Symfony/Component/Yaml/Exception/DumpException.php @@ -11,6 +11,8 @@ namespace Symfony\Component\Yaml\Exception; +use Symfony\Component\Yaml\Exception\RuntimeException; + /** * Exception class thrown when an error occurs during dumping. * diff --git a/vendor/Symfony/Component/Yaml/Exception/ParseException.php b/vendor/Symfony/Component/Yaml/Exception/ParseException.php index 938097b..120ebc8 100644 --- a/vendor/Symfony/Component/Yaml/Exception/ParseException.php +++ b/vendor/Symfony/Component/Yaml/Exception/ParseException.php @@ -11,6 +11,8 @@ namespace Symfony\Component\Yaml\Exception; +use Symfony\Component\Yaml\Exception\RuntimeException; + if (!defined('JSON_UNESCAPED_UNICODE')) { define('JSON_UNESCAPED_SLASHES', 64); define('JSON_UNESCAPED_UNICODE', 256); diff --git a/vendor/Symfony/Component/Yaml/Exception/RuntimeException.php b/vendor/Symfony/Component/Yaml/Exception/RuntimeException.php index 3573bf1..357d979 100644 --- a/vendor/Symfony/Component/Yaml/Exception/RuntimeException.php +++ b/vendor/Symfony/Component/Yaml/Exception/RuntimeException.php @@ -11,6 +11,8 @@ namespace Symfony\Component\Yaml\Exception; +use Symfony\Component\Yaml\Exception\ExceptionInterface; + /** * Exception class thrown when an error occurs during parsing. * diff --git a/vendor/Symfony/Component/Yaml/Inline.php b/vendor/Symfony/Component/Yaml/Inline.php index 45978a1..982afcc 100644 --- a/vendor/Symfony/Component/Yaml/Inline.php +++ b/vendor/Symfony/Component/Yaml/Inline.php @@ -10,6 +10,8 @@ namespace Symfony\Component\Yaml; +use Symfony\Component\Yaml\Escaper; +use Symfony\Component\Yaml\Unescaper; use Symfony\Component\Yaml\Exception\ParseException; use Symfony\Component\Yaml\Exception\DumpException; diff --git a/vendor/Symfony/Component/Yaml/Parser.php b/vendor/Symfony/Component/Yaml/Parser.php index d852cbf..5812a95 100644 --- a/vendor/Symfony/Component/Yaml/Parser.php +++ b/vendor/Symfony/Component/Yaml/Parser.php @@ -10,6 +10,7 @@ namespace Symfony\Component\Yaml; +use Symfony\Component\Yaml\Inline; use Symfony\Component\Yaml\Exception\ParseException; /** @@ -90,7 +91,7 @@ class Parser // array if (!isset($values['value']) || '' == trim($values['value'], ' ') || 0 === strpos(ltrim($values['value'], ' '), '#')) { $c = $this->getRealCurrentLineNb() + 1; - $parser = new Parser($c); + $parser = new self($c); $parser->refs =& $this->refs; $data[] = $parser->parse($this->getNextEmbedBlock(), $exceptionOnInvalidType, $objectSupport); } else { @@ -100,7 +101,7 @@ class Parser ) { // this is a compact notation element, add to next block and parse $c = $this->getRealCurrentLineNb(); - $parser = new Parser($c); + $parser = new self($c); $parser->refs =& $this->refs; $block = $values['value']; @@ -143,7 +144,7 @@ class Parser $value = $this->getNextEmbedBlock(); } $c = $this->getRealCurrentLineNb() + 1; - $parser = new Parser($c); + $parser = new self($c); $parser->refs =& $this->refs; $parsed = $parser->parse($value, $exceptionOnInvalidType, $objectSupport); @@ -180,7 +181,7 @@ class Parser $data[$key] = null; } else { $c = $this->getRealCurrentLineNb() + 1; - $parser = new Parser($c); + $parser = new self($c); $parser->refs =& $this->refs; $data[$key] = $parser->parse($this->getNextEmbedBlock(), $exceptionOnInvalidType, $objectSupport); } diff --git a/vendor/Symfony/Component/Yaml/Yaml.php b/vendor/Symfony/Component/Yaml/Yaml.php index c98f6ec..ccef5ae 100644 --- a/vendor/Symfony/Component/Yaml/Yaml.php +++ b/vendor/Symfony/Component/Yaml/Yaml.php @@ -11,6 +11,8 @@ namespace Symfony\Component\Yaml; +use Symfony\Component\Yaml\Parser; +use Symfony\Component\Yaml\Dumper; use Symfony\Component\Yaml\Exception\ParseException; /**