mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-07-09 11:31:49 +00:00
Server: Fixed parse errors getting reported to CA
this changed to throwing errors as of PHP 7
This commit is contained in:
parent
e8c7ae595d
commit
5546c88f88
@ -2205,7 +2205,7 @@ class Server{
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if($dump->getData()["error"]["type"] === "E_PARSE" or $dump->getData()["error"]["type"] === "E_COMPILE_ERROR"){
|
if($dump->getData()["error"]["type"] === \ParseError::class){
|
||||||
$report = false;
|
$report = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user