From 146ac3d89eb604c973280ad251c13f5b63e753ba Mon Sep 17 00:00:00 2001 From: Daniil Gentili Date: Wed, 28 Sep 2016 02:45:06 +0200 Subject: [PATCH] Disable debugging --- lib/danog/PHP/StructException.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/danog/PHP/StructException.php b/lib/danog/PHP/StructException.php index e295615..8780025 100644 --- a/lib/danog/PHP/StructException.php +++ b/lib/danog/PHP/StructException.php @@ -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);