data-filter-channel="= $this->escape($log['channel']); ?>">
@@ -35,7 +35,7 @@
|
= $this->formatLogMessage($log['message'], $log['context']); ?>
- = json_encode($log['context'], JSON_PRETTY_PRINT | JSON_UNESCAPED_UNICODE | JSON_UNESCAPED_SLASHES); ?>
+ = json_encode($log['context'], \JSON_PRETTY_PRINT | \JSON_UNESCAPED_UNICODE | \JSON_UNESCAPED_SLASHES); ?>
|
diff --git a/src/Symfony/Component/ErrorHandler/Resources/views/trace.html.php b/src/Symfony/Component/ErrorHandler/Resources/views/trace.html.php
index 153f7d6f8e..6b4261f3f4 100644
--- a/src/Symfony/Component/ErrorHandler/Resources/views/trace.html.php
+++ b/src/Symfony/Component/ErrorHandler/Resources/views/trace.html.php
@@ -13,7 +13,7 @@
$lineNumber = $trace['line'] ?: 1;
$fileLink = $this->getFileLink($trace['file'], $lineNumber);
$filePath = strtr(strip_tags($this->formatFile($trace['file'], $lineNumber)), [' at line '.$lineNumber => '']);
- $filePathParts = explode(DIRECTORY_SEPARATOR, $filePath);
+ $filePathParts = explode(\DIRECTORY_SEPARATOR, $filePath);
?>