dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Use ::class to resolve class names in includes files
[lhc/web/wiklou.git]
/
includes
/
exception
/
MWExceptionHandler.php
diff --git
a/includes/exception/MWExceptionHandler.php
b/includes/exception/MWExceptionHandler.php
index
d863a2b
..
205ec77
100644
(file)
--- a/
includes/exception/MWExceptionHandler.php
+++ b/
includes/exception/MWExceptionHandler.php
@@
-300,7
+300,7
@@
TXT;
$logger = LoggerFactory::getInstance( 'fatal' );
$logger->error( $msg, [
'fatal_exception' => [
- 'class' =>
'ErrorException'
,
+ 'class' =>
ErrorException::class
,
'message' => "PHP Fatal Error: {$message}",
'code' => $level,
'file' => $file,