You are here

private static function Inline::getDeprecationMessage in Lockr 7.3

3 calls to Inline::getDeprecationMessage()
Inline::evaluateScalar in vendor/symfony/yaml/Inline.php
Evaluates scalars and replaces magic values.
Inline::parseMapping in vendor/symfony/yaml/Inline.php
Parses a YAML mapping.
Inline::parseScalar in vendor/symfony/yaml/Inline.php
Parses a YAML scalar.

File

vendor/symfony/yaml/Inline.php, line 889

Class

Inline
Inline implements a YAML parser/dumper for the YAML inline syntax.

Namespace

Symfony\Component\Yaml

Code

private static function getDeprecationMessage($message) {
  $message = rtrim($message, '.');
  if (null !== self::$parsedFilename) {
    $message .= ' in ' . self::$parsedFilename;
  }
  if (-1 !== self::$parsedLineNumber) {
    $message .= ' on line ' . (self::$parsedLineNumber + 1);
  }
  return $message . '.';
}