Lines Matching refs:ParseException
14 use Symfony\Component\Yaml\Exception\ParseException; alias
50 * @throws ParseException If the file could not be read or the YAML is not valid
55 throw new ParseException(sprintf('File "%s" does not exist.', $filename));
59 throw new ParseException(sprintf('File "%s" cannot be read.', $filename));
79 * @throws ParseException If the YAML is not valid
84 …throw new ParseException('The YAML value does not appear to be valid UTF-8.', -1, null, $this->fil…
155 …throw new ParseException('A YAML file cannot contain tabs as indentation.', $this->getRealCurrentL…
163 …throw new ParseException('You cannot define a sequence item when in a mapping.', $this->getRealCur…
174 …throw new ParseException('Complex mappings are not supported.', $this->getRealCurrentLineNb() + 1,…
222 …throw new ParseException('You cannot define a mapping item when in a sequence.', $this->currentLin…
228 } catch (ParseException $e) {
236 …throw new ParseException((is_numeric($key) ? 'Numeric' : 'Non-string').' keys are not supported. Q…
251 …throw new ParseException(sprintf('Circular reference [%s] detected for reference "%s".', implode('…
254 …throw new ParseException(sprintf('Reference "%s" does not exist.', $refName), $this->getRealCurren…
264 …throw new ParseException('YAML merge keys used with a scalar value instead of an array.', $this->g…
281 …throw new ParseException('YAML merge keys used with a scalar value instead of an array.', $this->g…
294 …throw new ParseException('Merge items must be arrays.', $this->getRealCurrentLineNb() + 1, $parsed…
327 …throw new ParseException(sprintf('Duplicate key "%s" detected.', $key), $this->getRealCurrentLineN…
350 …throw new ParseException(sprintf('Duplicate key "%s" detected.', $key), $realCurrentLineNbKey + 1,…
360 …throw new ParseException(sprintf('Duplicate key "%s" detected.', $key), $this->getRealCurrentLineN…
369 …throw new ParseException('Unable to parse.', $this->getRealCurrentLineNb() + 1, $this->currentLine…
374 } catch (ParseException $e) {
382 …throw new ParseException('Unable to parse.', $this->getRealCurrentLineNb() + 1, $this->currentLine…
390 …throw new ParseException('Unable to parse.', $this->getRealCurrentLineNb() + 1, $this->currentLine…
395 } catch (ParseException $e) {
403 …throw new ParseException('Unable to parse.', $this->getRealCurrentLineNb() + 1, $this->currentLine…
411 …throw new ParseException('Unable to parse.', $this->getRealCurrentLineNb() + 1, $this->currentLine…
416 } catch (ParseException $e) {
425 …throw new ParseException('Multiple documents are not supported.', $this->currentLineNb + 1, $this-…
429 …throw new ParseException('Complex mappings are not supported.', $this->getRealCurrentLineNb() + 1,…
436 } catch (ParseException $e) {
459 …throw new ParseException('Unable to parse.', $this->getRealCurrentLineNb() + 1, $this->currentLine…
463 …throw new ParseException('Mapping values are not allowed in multi-line blocks.', $this->getRealCur…
492 } catch (ParseException $e) {
497 …throw new ParseException('Unable to parse.', $this->getRealCurrentLineNb() + 1, $this->currentLine…
578 * @throws ParseException When indentation problem are detected
614 …throw new ParseException('Indentation problem.', $this->getRealCurrentLineNb() + 1, $this->current…
670 …throw new ParseException('Indentation problem.', $this->getRealCurrentLineNb() + 1, $this->current…
719 * @throws ParseException When reference does not exist
732 …throw new ParseException(sprintf('Circular reference [%s] detected for reference "%s".', implode('…
735 …throw new ParseException(sprintf('Reference "%s" does not exist.', $value), $this->currentLineNb +…
775 …throw new ParseException(sprintf('Unexpected characters near "%s".', substr($this->currentLine, $c…
811 …throw new ParseException('A colon cannot be used in an unquoted mapping value.', $this->getRealCur…
816 } catch (ParseException $e) {
1076 * @throws ParseException on a PCRE internal error
1105 throw new ParseException($error);
1140 …throw new ParseException(sprintf('The built-in tag "!%s" is not implemented.', $tag), $this->getRe…
1147 …throw new ParseException(sprintf('Tags support is not enabled. You must use the flag "Yaml::PARSE_…
1211 throw new ParseException('Malformed inline YAML string.');
1220 throw new ParseException('Malformed unquoted YAML string.');
1282 throw new ParseException('Malformed inline YAML string.');