thrownewParseException(sprintf('Unexpected end of line, expected one of "%s".',implode('',$delimiters)),self::$parsedLineNumber+1,$scalar,self::$parsedFilename);
thrownewParseException(sprintf('The reserved indicator "%s" cannot start a plain scalar; you need to quote the scalar.',$output[0]),self::$parsedLineNumber+1,$output,self::$parsedFilename);
thrownewParseException('Implicit casting of incompatible mapping keys to strings is not supported. Quote your evaluable mapping keys instead.',self::$parsedLineNumber+1,$mapping);
thrownewParseException('Colons must be followed by a space or an indication character (i.e. " ", ",", "[", "]", "{", "}").',self::$parsedLineNumber+1,$mapping);
thrownewParseException(sprintf('The constant "%s" is not defined.',$const),self::$parsedLineNumber+1,$scalar,self::$parsedFilename);
}
if(self::$exceptionOnInvalidType){
thrownewParseException(sprintf('The string "%s" could not be parsed as a constant. Did you forget to pass the "Yaml::PARSE_CONSTANT" flag to the parser?',$scalar),self::$parsedLineNumber+1,$scalar,self::$parsedFilename);
thrownewParseException(sprintf('The string "%s" could not be parsed as it uses an unsupported built-in tag.',$scalar),self::$parsedLineNumber,$scalar,self::$parsedFilename);
trigger_deprecation('symfony/yaml','5.1','Support for parsing numbers prefixed with 0 as octal numbers. They will be parsed as strings as of 6.0. Use "%s" to represent the octal number.','0o'.substr($scalar,1));
trigger_deprecation('symfony/yaml','5.1','Support for parsing numbers prefixed with 0 as octal numbers. They will be parsed as strings as of 6.0. Use "%s" to represent the octal number.','-0o'.substr($scalar,2));
// Some dates accepted by the regex are not valid dates.
thrownewParseException(\sprintf('The date "%s" could not be parsed as it is an invalid date.',$scalar),self::$parsedLineNumber+1,$scalar,self::$parsedFilename,$e);
thrownewParseException('Using the unquoted scalar value "!" is not supported. You must quote it.',self::$parsedLineNumber+1,$value,self::$parsedFilename);
thrownewParseException(sprintf('The built-in tag "!%s" is not implemented.',$tag),self::$parsedLineNumber+1,$value,self::$parsedFilename);
}
if(''!==$tag&&!isset($value[$i])){
thrownewParseException(sprintf('Missing value for tag "%s".',$tag),self::$parsedLineNumber+1,$value,self::$parsedFilename);
}
if(''===$tag||Yaml::PARSE_CUSTOM_TAGS&$flags){
return$tag;
}
thrownewParseException(sprintf('Tags support is not enabled. Enable the "Yaml::PARSE_CUSTOM_TAGS" flag to use "!%s".',$tag),self::$parsedLineNumber+1,$value,self::$parsedFilename);
thrownewParseException(sprintf('The normalized base64 encoded data (data without whitespace characters) length must be a multiple of four (%d bytes given).',\strlen($parsedBinaryData)),self::$parsedLineNumber+1,$scalar,self::$parsedFilename);