Mercurial > hg > isophonics-drupal-site
comparison vendor/psy/psysh/src/Exception/FatalErrorException.php @ 17:129ea1e6d783
Update, including to Drupal core 8.6.10
author | Chris Cannam |
---|---|
date | Thu, 28 Feb 2019 13:21:36 +0000 |
parents | 5fb285c0d0e3 |
children |
comparison
equal
deleted
inserted
replaced
16:c2387f117808 | 17:129ea1e6d783 |
---|---|
34 if ($lineno === -1) { | 34 if ($lineno === -1) { |
35 $lineno = null; | 35 $lineno = null; |
36 } | 36 } |
37 | 37 |
38 $this->rawMessage = $message; | 38 $this->rawMessage = $message; |
39 $message = sprintf('PHP Fatal error: %s in %s on line %d', $message, $filename ?: "eval()'d code", $lineno); | 39 $message = \sprintf('PHP Fatal error: %s in %s on line %d', $message, $filename ?: "eval()'d code", $lineno); |
40 parent::__construct($message, $code, $severity, $filename, $lineno, $previous); | 40 parent::__construct($message, $code, $severity, $filename, $lineno, $previous); |
41 } | 41 } |
42 | 42 |
43 /** | 43 /** |
44 * Return a raw (unformatted) version of the error message. | 44 * Return a raw (unformatted) version of the error message. |