mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-21 08:17:34 +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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user