Completed
Push — master ( 439fa7...a65061 )
by Thierry
29s queued 12s
created
src/Response/UploadResponse.php 1 patch
Spacing   +2 added lines, -3 removed lines patch added patch discarded remove patch
@@ -72,11 +72,10 @@
 block discarded – undo
72 72
     public function getOutput()
73 73
     {
74 74
         $aResponse = ($this->sUploadedFile) ?
75
-            ['code' => 'success', 'upl' => $this->sUploadedFile] :
76
-            ['code' => 'error', 'msg' => $this->sErrorMessage];
75
+            ['code' => 'success', 'upl' => $this->sUploadedFile] : ['code' => 'error', 'msg' => $this->sErrorMessage];
77 76
 
78 77
         $sConsoleLog = '';
79
-        array_walk($this->aDebugMessages, function ($sMessage) use (&$sConsoleLog) {
78
+        array_walk($this->aDebugMessages, function($sMessage) use (&$sConsoleLog) {
80 79
             $sConsoleLog .= '
81 80
     console.log("' . addslashes($sMessage) . '");';
82 81
         });
Please login to merge, or discard this patch.
src/Plugin/Manager.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -121,7 +121,7 @@
 block discarded – undo
121 121
      */
122 122
     private function setPluginPriority(Plugin $xPlugin, $nPriority)
123 123
     {
124
-        while (isset($this->aPlugins[$nPriority]))
124
+        while(isset($this->aPlugins[$nPriority]))
125 125
         {
126 126
             $nPriority++;
127 127
         }
Please login to merge, or discard this patch.
src/Utils/View/Manager.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -149,7 +149,7 @@
 block discarded – undo
149 149
         jaxon()->di()->set('jaxon.app.view.base.' . $sId, $xClosure);
150 150
 
151 151
         // Return the initialized view renderer
152
-        jaxon()->di()->set('jaxon.app.view.' . $sId, function ($c) use ($sId) {
152
+        jaxon()->di()->set('jaxon.app.view.' . $sId, function($c) use ($sId) {
153 153
             // Get the defined renderer
154 154
             $renderer = $c['jaxon.app.view.base.' . $sId];
155 155
 
Please login to merge, or discard this patch.
src/Utils/Config/Config.php 1 patch
Spacing   +2 added lines, -3 removed lines patch added patch discarded remove patch
@@ -103,7 +103,7 @@  discard block
 block discarded – undo
103 103
     {
104 104
         // Find the config array in the input data
105 105
         $aKeys = explode('.', (string)$sKeys);
106
-        foreach ($aKeys as $sKey)
106
+        foreach($aKeys as $sKey)
107 107
         {
108 108
             if(($sKey))
109 109
             {
@@ -162,8 +162,7 @@  discard block
 block discarded – undo
162 162
             if(substr($sName, 0, $sPrefixLen) == $sPrefix)
163 163
             {
164 164
                 $iNextDotPos = strpos($sName, '.', $sPrefixLen);
165
-                $sOptionName = $iNextDotPos === false ? substr($sName, $sPrefixLen) :
166
-                    substr($sName, $sPrefixLen, $iNextDotPos - $sPrefixLen);
165
+                $sOptionName = $iNextDotPos === false ? substr($sName, $sPrefixLen) : substr($sName, $sPrefixLen, $iNextDotPos - $sPrefixLen);
167 166
                 $aOptions[$sOptionName] = $sPrefix . $sOptionName;
168 167
             }
169 168
         }
Please login to merge, or discard this patch.
src/App/Bootstrap.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -153,7 +153,7 @@
 block discarded – undo
153 153
         $this->triggerEvent('pre.setup');
154 154
 
155 155
         // Add the view renderer
156
-        $view->addRenderer('jaxon', function () {
156
+        $view->addRenderer('jaxon', function() {
157 157
             return new View\View();
158 158
         });
159 159
 
Please login to merge, or discard this patch.
src/App/App.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@
 block discarded – undo
44 44
         }
45 45
 
46 46
         // Set the session manager
47
-        jaxon()->di()->setSessionManager(function () {
47
+        jaxon()->di()->setSessionManager(function() {
48 48
             return new SessionManager();
49 49
         });
50 50
 
Please login to merge, or discard this patch.
src/Jaxon.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -154,7 +154,7 @@
 block discarded – undo
154 154
             'core.prefix.class'                 => 'Jaxon',
155 155
             // 'core.request.uri'               => '',
156 156
             'core.request.mode'                 => 'asynchronous',
157
-            'core.request.method'               => 'POST',    // W3C: Method is case sensitive
157
+            'core.request.method'               => 'POST', // W3C: Method is case sensitive
158 158
             'core.response.send'                => true,
159 159
             'core.response.merge.ap'            => true,
160 160
             'core.response.merge.js'            => true,
Please login to merge, or discard this patch.
src/Request/Handler.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -293,7 +293,7 @@
 block discarded – undo
293 293
         if(($this->getOption('core.process.clean')))
294 294
         {
295 295
             $er = error_reporting(0);
296
-            while (ob_get_level() > 0)
296
+            while(ob_get_level() > 0)
297 297
             {
298 298
                 ob_end_clean();
299 299
             }
Please login to merge, or discard this patch.