Completed
Push — master ( 50d24f...812ecb )
by judicael
03:47
created
bundles/lib/Cache/File.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -74,7 +74,7 @@  discard block
 block discarded – undo
74 74
      * @param  int $iTimeout expiration of cache
75 75
      * @return mixed
76 76
      */
77
-    public function get(string $sName, int &$iFlags = null, int $iTimeout = 0)
77
+    public function get(string $sName, int&$iFlags = null, int $iTimeout = 0)
78 78
     {
79 79
         if ($iTimeout > 0 && file_exists($this->_sFolder.$this->_getSubDirectory($sName).md5($sName).'.fil.cac')
80 80
             && time() - filemtime($this->_sFolder.$this->_getSubDirectory($sName).md5($sName).'.fil.cac') > $iTimeout) {
@@ -84,7 +84,7 @@  discard block
 block discarded – undo
84 84
 
85 85
         if (file_exists($this->_sFolder.$this->_getSubDirectory($sName).md5($sName).'.fil.cac')) {
86 86
 
87
-            return unserialize(file_get_contents($this->_sFolder . $this->_getSubDirectory($sName) . md5($sName) . '.fil.cac'));
87
+            return unserialize(file_get_contents($this->_sFolder.$this->_getSubDirectory($sName).md5($sName).'.fil.cac'));
88 88
         } else {
89 89
 
90 90
             return false;
Please login to merge, or discard this patch.
bundles/lib/Cache/Redis.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -62,7 +62,7 @@
 block discarded – undo
62 62
      * @param  int $iTimeout expiration of cache
63 63
      * @return mixed
64 64
      */
65
-    public function get(string $sName, int &$iFlags = null, int $iTimeout = 0)
65
+    public function get(string $sName, int&$iFlags = null, int $iTimeout = 0)
66 66
     {
67 67
         return parent::get($sName);
68 68
     }
Please login to merge, or discard this patch.
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.