Passed
Push — master ( 1d699e...0f9ddd )
by Thierry
04:26 queued 02:06
created
src/Response/AbstractResponse.php 1 patch
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,8 @@
 block discarded – undo
21 21
      * @return void
22 22
      */
23 23
     public function appendResponse($mCommands, bool $bBefore = false)
24
-    {}
24
+    {
25
+}
25 26
 
26 27
     /**
27 28
      * Add a command to display a debug message to the user
Please login to merge, or discard this patch.
src/Request/Upload/UploadManager.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -99,7 +99,7 @@
 block discarded – undo
99 99
         {
100 100
             return bin2hex(random_bytes(7));
101 101
         }
102
-        catch(Exception $e){}
102
+        catch(Exception $e) {}
103 103
         // Generate the name
104 104
         $sChars = '0123456789abcdefghijklmnopqrstuvwxyz0123456789abcdefghijklmnopqrstuvwxyz';
105 105
         return substr(str_shuffle($sChars), 0, 14);
Please login to merge, or discard this patch.
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -99,7 +99,9 @@
 block discarded – undo
99 99
         {
100 100
             return bin2hex(random_bytes(7));
101 101
         }
102
-        catch(Exception $e){}
102
+        catch(Exception $e)
103
+        {
104
+}
103 105
         // Generate the name
104 106
         $sChars = '0123456789abcdefghijklmnopqrstuvwxyz0123456789abcdefghijklmnopqrstuvwxyz';
105 107
         return substr(str_shuffle($sChars), 0, 14);
Please login to merge, or discard this patch.
src/Response/Response.php 1 patch
Spacing   +2 added lines, -3 removed lines patch added patch discarded remove patch
@@ -159,7 +159,7 @@  discard block
 block discarded – undo
159 159
      */
160 160
     public function bag(string $sName): DataBagContext
161 161
     {
162
-        return $this->plugin('bags')->bag($sName);;
162
+        return $this->plugin('bags')->bag($sName); ;
163 163
     }
164 164
 
165 165
     /**
@@ -266,8 +266,7 @@  discard block
 block discarded – undo
266 266
         }
267 267
 
268 268
         $this->aCommands = ($bBefore) ?
269
-            array_merge($aCommands, $this->aCommands) :
270
-            array_merge($this->aCommands, $aCommands);
269
+            array_merge($aCommands, $this->aCommands) : array_merge($this->aCommands, $aCommands);
271 270
     }
272 271
 
273 272
     /**
Please login to merge, or discard this patch.
src/Config/ConfigManager.php 2 patches
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -91,7 +91,9 @@
 block discarded – undo
91 91
         {
92 92
             $this->xConfig = new Config($this->aConfig);
93 93
         }
94
-        catch(DataDepth $e){} // This exception cannot actually be raised.
94
+        catch(DataDepth $e)
95
+        {
96
+} // This exception cannot actually be raised.
95 97
     }
96 98
 
97 99
     /**
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@  discard block
 block discarded – undo
45 45
     /**
46 46
      * @var array The default config options
47 47
      */
48
-    protected $aConfig =  [
48
+    protected $aConfig = [
49 49
         'core' => [
50 50
             'version'               => Jaxon::VERSION,
51 51
             'language'              => 'en',
@@ -115,7 +115,7 @@  discard block
 block discarded – undo
115 115
         {
116 116
             $this->xConfig = new Config($this->aConfig);
117 117
         }
118
-        catch(DataDepth $e){} // This exception cannot actually be raised.
118
+        catch(DataDepth $e) {} // This exception cannot actually be raised.
119 119
     }
120 120
 
121 121
     /**
Please login to merge, or discard this patch.
src/Response/Plugin/DataBag/DataBagPlugin.php 1 patch
Spacing   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -30,8 +30,7 @@
 block discarded – undo
30 30
         $aBody = $xRequest->getParsedBody();
31 31
         $aParams = $xRequest->getQueryParams();
32 32
         $aData = is_array($aBody) ?
33
-            $this->readData($aBody['jxnbags'] ?? []) :
34
-            $this->readData($aParams['jxnbags'] ?? []);
33
+            $this->readData($aBody['jxnbags'] ?? []) : $this->readData($aParams['jxnbags'] ?? []);
35 34
         $this->xDataBag = new DataBag($aData);
36 35
     }
37 36
 
Please login to merge, or discard this patch.