Server: Fixed parse errors getting reported to CA

this changed to throwing errors as of PHP 7
This commit is contained in:
Dylan K. Taylor 2018-08-02 14:40:36 +01:00
parent e8c7ae595d
commit 5546c88f88

View File

@ -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;
}