1
0
mirror of https://github.com/danog/PHPStruct.git synced 2024-11-29 20:09:04 +01:00

Disable debugging

This commit is contained in:
Daniil Gentili 2016-09-28 02:45:06 +02:00 committed by GitHub
parent da588a75fd
commit 146ac3d89e

View File

@ -18,9 +18,10 @@ class StructException extends \Exception
public function __construct($message, $code = 0, Exception $previous = null)
{
// some code
/*
if (isset($GLOBALS['doingphptests']) && $GLOBALS['doingphptests']) {
var_dump($message);
}
}*/
// make sure everything is assigned properly
parent::__construct($message, $code, $previous);