Lines Matching refs:ParseException

14 use Symfony\Component\Yaml\Exception\ParseException;  alias
48 * @throws ParseException If the file could not be read or the YAML is not valid
53 throw new ParseException(sprintf('File "%s" does not exist.', $filename));
57 throw new ParseException(sprintf('File "%s" cannot be read.', $filename));
77 * @throws ParseException If the YAML is not valid
82 …throw new ParseException('The YAML value does not appear to be valid UTF-8.', -1, null, $this->fil…
159 …throw new ParseException('A YAML file cannot contain tabs as indentation.', $this->getRealCurrentL…
167 …throw new ParseException('You cannot define a sequence item when in a mapping', $this->getRealCurr…
178 …throw new ParseException('Complex mappings are not supported.', $this->getRealCurrentLineNb() + 1,…
213 …throw new ParseException('You cannot define a mapping item when in a sequence', $this->currentLine…
219 } catch (ParseException $e) {
227 …throw new ParseException(sprintf('%s keys are not supported. Quote your evaluable mapping keys ins…
242 …throw new ParseException(sprintf('Circular reference [%s, %s] detected for reference "%s".', implo…
245 …throw new ParseException(sprintf('Reference "%s" does not exist.', $refName), $this->getRealCurren…
255 …throw new ParseException('YAML merge keys used with a scalar value instead of an array.', $this->g…
272 …throw new ParseException('YAML merge keys used with a scalar value instead of an array.', $this->g…
285 …throw new ParseException('Merge items must be arrays.', $this->getRealCurrentLineNb() + 1, $parsed…
318 …throw new ParseException(sprintf('Duplicate key "%s" detected.', $key), $this->getRealCurrentLineN…
341 …throw new ParseException(sprintf('Duplicate key "%s" detected.', $key), $realCurrentLineNbKey + 1,…
351 …throw new ParseException(sprintf('Duplicate key "%s" detected.', $key), $this->getRealCurrentLineN…
361 …throw new ParseException('Multiple documents are not supported.', $this->currentLineNb + 1, $this-…
365 …throw new ParseException('Complex mappings are not supported.', $this->getRealCurrentLineNb() + 1,…
372 } catch (ParseException $e) {
391 …throw new ParseException('Unable to parse.', $this->getRealCurrentLineNb() + 1, $this->currentLine…
419 } catch (ParseException $e) {
424 …throw new ParseException('Unable to parse.', $this->getRealCurrentLineNb() + 1, $this->currentLine…
507 * @throws ParseException When indentation problem are detected
543 …throw new ParseException('Indentation problem.', $this->getRealCurrentLineNb() + 1, $this->current…
592 …throw new ParseException('Indentation problem.', $this->getRealCurrentLineNb() + 1, $this->current…
640 * @throws ParseException When reference does not exist
653 …throw new ParseException(sprintf('Circular reference [%s, %s] detected for reference "%s".', implo…
656 …throw new ParseException(sprintf('Reference "%s" does not exist.', $value), $this->currentLineNb +…
722 …throw new ParseException('A colon cannot be used in an unquoted mapping value.', $this->getRealCur…
726 } catch (ParseException $e) {
1002 * @throws ParseException on a PCRE internal error
1031 throw new ParseException($error);
1066 …throw new ParseException(sprintf('The built-in tag "!%s" is not implemented.', $tag), $this->getRe…
1073 …throw new ParseException(sprintf('Tags support is not enabled. You must use the flag "Yaml::PARSE_…