[PhpunitBridge] Fix not unserialized logs after DeprecationErrorHandler refactoring
(when using runInSeparateProcess)
This commit is contained in:
parent
8aa02358d6
commit
f522729527
@ -133,6 +133,7 @@ class DeprecationErrorHandler
|
||||
if ($deprecation->originatesFromAnObject()) {
|
||||
$class = $deprecation->originatingClass();
|
||||
$method = $deprecation->originatingMethod();
|
||||
$msg = $deprecation->getMessage();
|
||||
|
||||
if (0 !== error_reporting()) {
|
||||
$group = 'unsilenced';
|
||||
|
@ -133,6 +133,11 @@ class Deprecation
|
||||
return $this->originMethod;
|
||||
}
|
||||
|
||||
public function getMessage(): string
|
||||
{
|
||||
return $this->message;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $utilPrefix
|
||||
*
|
||||
|
Reference in New Issue
Block a user