Completed
Push — master ( 016764...50d24f )
by judicael
04:08
created
bundles/lib/Debug.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -151,7 +151,7 @@  discard block
 block discarded – undo
151 151
 
152 152
     	error_reporting($iLevel);
153 153
 
154
-    	set_error_handler(function ($iErrNo, $sErrStr, $sErrFile, $iErrLine)
154
+    	set_error_handler(function($iErrNo, $sErrStr, $sErrFile, $iErrLine)
155 155
     	{    
156 156
 			$aContext = array('file' => $sErrFile, 'line' => $iErrLine);
157 157
 			
@@ -216,7 +216,7 @@  discard block
 block discarded – undo
216 216
   		self::_initLogFile();
217 217
   		self::$_bActivateException = true;
218 218
 
219
-  		set_exception_handler(function (\Exception $oException)
219
+  		set_exception_handler(function(\Exception $oException)
220 220
   		{
221 221
 			$aContext = array('file' => $oException->getFile(), 'line' => $oException->getLine());
222 222
 			self::getInstance()->critical($oException->getMessage(), $aContext);
@@ -412,7 +412,7 @@  discard block
 block discarded – undo
412 412
     	else {
413 413
 
414 414
     	    if (isset($_SERVER['HTTP_HOST']) && isset($_SERVER['REQUEST_URI'])) {
415
-                error_log(Bash::setColor('############### ' . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'] . ' ###############', 'cyan'));
415
+                error_log(Bash::setColor('############### '.$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI'].' ###############', 'cyan'));
416 416
             }
417 417
     	}
418 418
   	}
Please login to merge, or discard this patch.
bundles/lib/Bash.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -148,6 +148,6 @@
 block discarded – undo
148 148
 	 */
149 149
 	private static function _applyCode(string $sContent, string $sCode) : string
150 150
 	{
151
-		return "\033[" . $sCode . "m" . $sContent . "\033[0m\n";
151
+		return "\033[".$sCode."m".$sContent."\033[0m\n";
152 152
 	}
153 153
 }
Please login to merge, or discard this patch.