[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()) {
|
if ($deprecation->originatesFromAnObject()) {
|
||||||
$class = $deprecation->originatingClass();
|
$class = $deprecation->originatingClass();
|
||||||
$method = $deprecation->originatingMethod();
|
$method = $deprecation->originatingMethod();
|
||||||
|
$msg = $deprecation->getMessage();
|
||||||
|
|
||||||
if (0 !== error_reporting()) {
|
if (0 !== error_reporting()) {
|
||||||
$group = 'unsilenced';
|
$group = 'unsilenced';
|
||||||
|
@ -133,6 +133,11 @@ class Deprecation
|
|||||||
return $this->originMethod;
|
return $this->originMethod;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function getMessage(): string
|
||||||
|
{
|
||||||
|
return $this->message;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param string $utilPrefix
|
* @param string $utilPrefix
|
||||||
*
|
*
|
||||||
|
Reference in New Issue
Block a user