Passed
Push — master ( e6c475...db71b9 )
by Darío
04:47
created
public/index.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,7 @@
 block discarded – undo
6 6
 date_default_timezone_set("America/Bogota");
7 7
 
8 8
 // Memory limit
9
-ini_set("memory_limit","256M");
9
+ini_set("memory_limit", "256M");
10 10
 
11 11
 // Run application
12 12
 require_once("vendor/autoload.php");
Please login to merge, or discard this patch.
module/Auth/source/Controller/LogIn.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -86,7 +86,7 @@  discard block
 block discarded – undo
86 86
             $http = new Http();
87 87
             $http->writeStatus($http::HTTP_METHOD_NOT_ALLOWED);
88 88
 
89
-            die('Error ' . $http::HTTP_METHOD_NOT_ALLOWED .' (' . $http->getStatusText($http::HTTP_METHOD_NOT_ALLOWED) . ')!!');
89
+            die('Error ' . $http::HTTP_METHOD_NOT_ALLOWED . ' (' . $http->getStatusText($http::HTTP_METHOD_NOT_ALLOWED) . ')!!');
90 90
         }
91 91
 
92 92
         $this->checkSession();
@@ -116,7 +116,7 @@  discard block
 block discarded – undo
116 116
                 $http = new Http();
117 117
                 $http->writeStatus($http::HTTP_METHOD_NOT_ALLOWED);
118 118
 
119
-                die('Error ' . $http::HTTP_METHOD_NOT_ALLOWED .' (' . $http->getStatusText($http::HTTP_METHOD_NOT_ALLOWED) . ')!!');
119
+                die('Error ' . $http::HTTP_METHOD_NOT_ALLOWED . ' (' . $http->getStatusText($http::HTTP_METHOD_NOT_ALLOWED) . ')!!');
120 120
             }
121 121
 
122 122
             # STANDARD VALIDATIONS [check needed arguments]
@@ -128,7 +128,7 @@  discard block
 block discarded – undo
128 128
                     $http = new Http();
129 129
                     $http->writeStatus($http::HTTP_BAD_REQUEST);
130 130
 
131
-                    die('Error ' . $http::HTTP_BAD_REQUEST .' (' . $http->getStatusText($http::HTTP_BAD_REQUEST) . ')!!');
131
+                    die('Error ' . $http::HTTP_BAD_REQUEST . ' (' . $http->getStatusText($http::HTTP_BAD_REQUEST) . ')!!');
132 132
                 }
133 133
             });
134 134
 
@@ -268,7 +268,7 @@  discard block
 block discarded – undo
268 268
             foreach ($errors as $errno => $error)
269 269
             {
270 270
                 $errorInformation .=
271
-                    "<strong style='color: #a94442'>".
271
+                    "<strong style='color: #a94442'>" .
272 272
                         $method
273 273
                             . "</strong>: <span style='color: #e24f4c'>{$error}</span> \n<br />";
274 274
             }
Please login to merge, or discard this patch.
module/Auth/source/Controller/SingUp.php 1 patch
Spacing   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -87,7 +87,7 @@  discard block
 block discarded – undo
87 87
             $http = new Http();
88 88
             $http->writeStatus($http::HTTP_METHOD_NOT_ALLOWED);
89 89
 
90
-            die('Error ' . $http::HTTP_METHOD_NOT_ALLOWED .' (' . $http->getStatusText($http::HTTP_METHOD_NOT_ALLOWED) . ')!!');
90
+            die('Error ' . $http::HTTP_METHOD_NOT_ALLOWED . ' (' . $http->getStatusText($http::HTTP_METHOD_NOT_ALLOWED) . ')!!');
91 91
         }
92 92
 
93 93
         $this->checkSession();
@@ -106,8 +106,8 @@  discard block
 block discarded – undo
106 106
         $data = [];
107 107
 
108 108
         # environment settings
109
-        $post = $this->getPost();           # catch $_POST
110
-        $this->setTerminal(true);           # set terminal
109
+        $post = $this->getPost(); # catch $_POST
110
+        $this->setTerminal(true); # set terminal
111 111
 
112 112
         # TRY-CATCH-BLOCK
113 113
         try {
@@ -118,7 +118,7 @@  discard block
 block discarded – undo
118 118
                 $http = new Http();
119 119
                 $http->writeStatus($http::HTTP_METHOD_NOT_ALLOWED);
120 120
 
121
-                die('Error ' . $http::HTTP_METHOD_NOT_ALLOWED .' (' . $http->getStatusText($http::HTTP_METHOD_NOT_ALLOWED) . ')!!');
121
+                die('Error ' . $http::HTTP_METHOD_NOT_ALLOWED . ' (' . $http->getStatusText($http::HTTP_METHOD_NOT_ALLOWED) . ')!!');
122 122
             }
123 123
 
124 124
             # STANDARD VALIDATIONS [check needed arguments]
@@ -130,7 +130,7 @@  discard block
 block discarded – undo
130 130
                     $http = new Http();
131 131
                     $http->writeStatus($http::HTTP_BAD_REQUEST);
132 132
 
133
-                    die('Error ' . $http::HTTP_BAD_REQUEST .' (' . $http->getStatusText($http::HTTP_BAD_REQUEST) . ')!!');
133
+                    die('Error ' . $http::HTTP_BAD_REQUEST . ' (' . $http->getStatusText($http::HTTP_BAD_REQUEST) . ')!!');
134 134
                 }
135 135
             });
136 136
 
@@ -241,7 +241,7 @@  discard block
 block discarded – undo
241 241
 
242 242
                 $headers  = 'MIME-Version: 1.0' . "\r\n";
243 243
                 $headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";
244
-                $headers .= 'From: '. $from ."\r\n". 'X-Mailer: PHP/' . phpversion();
244
+                $headers .= 'From: ' . $from . "\r\n" . 'X-Mailer: PHP/' . phpversion();
245 245
 
246 246
                 if (!@mail(
247 247
                     $post["email"], "Email checking!",
@@ -321,7 +321,7 @@  discard block
 block discarded – undo
321 321
                 $http = new Http();
322 322
                 $http->writeStatus($http::HTTP_METHOD_NOT_ALLOWED);
323 323
 
324
-                die('Error ' . $http::HTTP_METHOD_NOT_ALLOWED .' (' . $http->getStatusText($http::HTTP_METHOD_NOT_ALLOWED) . ')!!');
324
+                die('Error ' . $http::HTTP_METHOD_NOT_ALLOWED . ' (' . $http->getStatusText($http::HTTP_METHOD_NOT_ALLOWED) . ')!!');
325 325
             }
326 326
 
327 327
             # STANDARD VALIDATIONS [check needed arguments]
@@ -333,7 +333,7 @@  discard block
 block discarded – undo
333 333
                     $http = new Http();
334 334
                     $http->writeStatus($http::HTTP_BAD_REQUEST);
335 335
 
336
-                    die('Error ' . $http::HTTP_BAD_REQUEST .' (' . $http->getStatusText($http::HTTP_BAD_REQUEST) . ')!!');
336
+                    die('Error ' . $http::HTTP_BAD_REQUEST . ' (' . $http->getStatusText($http::HTTP_BAD_REQUEST) . ')!!');
337 337
                 }
338 338
             });
339 339
 
@@ -411,7 +411,7 @@  discard block
 block discarded – undo
411 411
             foreach ($errors as $errno => $error)
412 412
             {
413 413
                 $errorInformation .=
414
-                    "<strong style='color: #a94442'>".
414
+                    "<strong style='color: #a94442'>" .
415 415
                         $method
416 416
                             . "</strong>: <span style='color: #e24f4c'>{$error}</span> \n<br />";
417 417
             }
Please login to merge, or discard this patch.
module/Auth/source/Controller/LogOut.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
             $http = new Http();
21 21
             $http->writeStatus($http::HTTP_METHOD_NOT_ALLOWED);
22 22
 
23
-            die('Error ' . $http::HTTP_METHOD_NOT_ALLOWED .' (' . $http->getStatusText($http::HTTP_METHOD_NOT_ALLOWED) . ')!!');
23
+            die('Error ' . $http::HTTP_METHOD_NOT_ALLOWED . ' (' . $http->getStatusText($http::HTTP_METHOD_NOT_ALLOWED) . ')!!');
24 24
         }
25 25
 
26 26
         $config = include 'module/Auth/config/user.config.php';
Please login to merge, or discard this patch.
module/Connections/source/Controller/Tools.php 1 patch
Spacing   +25 added lines, -25 removed lines patch added patch discarded remove patch
@@ -183,8 +183,8 @@  discard block
 block discarded – undo
183 183
         $data = [];
184 184
 
185 185
         # environment settings
186
-        $post = $this->getPost();           # catch $_POST
187
-        $this->setTerminal(true);           # set terminal
186
+        $post = $this->getPost(); # catch $_POST
187
+        $this->setTerminal(true); # set terminal
188 188
 
189 189
         # TRY-CATCH-BLOCK
190 190
         try {
@@ -195,7 +195,7 @@  discard block
 block discarded – undo
195 195
                 $http = new Http();
196 196
                 $http->writeStatus($http::HTTP_METHOD_NOT_ALLOWED);
197 197
 
198
-                die('Error ' . $http::HTTP_METHOD_NOT_ALLOWED .' (' . $http->getStatusText($http::HTTP_METHOD_NOT_ALLOWED) . ')!!');
198
+                die('Error ' . $http::HTTP_METHOD_NOT_ALLOWED . ' (' . $http->getStatusText($http::HTTP_METHOD_NOT_ALLOWED) . ')!!');
199 199
             }
200 200
 
201 201
             $idenfiers = $this->getIdentifiersEntity()->select([]);
@@ -212,7 +212,7 @@  discard block
 block discarded – undo
212 212
                         $http = new Http();
213 213
                         $http->writeStatus($http::HTTP_BAD_REQUEST);
214 214
 
215
-                        die('Error ' . $http::HTTP_BAD_REQUEST .' (' . $http->getStatusText($http::HTTP_BAD_REQUEST) . ')!!');
215
+                        die('Error ' . $http::HTTP_BAD_REQUEST . ' (' . $http->getStatusText($http::HTTP_BAD_REQUEST) . ')!!');
216 216
                     }
217 217
                 });
218 218
 
@@ -242,7 +242,7 @@  discard block
 block discarded – undo
242 242
                         $http = new Http();
243 243
                         $http->writeStatus($http::HTTP_BAD_REQUEST);
244 244
 
245
-                        die('Error ' . $http::HTTP_BAD_REQUEST .' (' . $http->getStatusText($http::HTTP_BAD_REQUEST) . ')!!');
245
+                        die('Error ' . $http::HTTP_BAD_REQUEST . ' (' . $http->getStatusText($http::HTTP_BAD_REQUEST) . ')!!');
246 246
                     }
247 247
                 });
248 248
 
@@ -361,14 +361,14 @@  discard block
 block discarded – undo
361 361
             $http = new Http();
362 362
             $http->writeStatus($http::HTTP_METHOD_NOT_ALLOWED);
363 363
 
364
-            die('Error ' . $http::HTTP_METHOD_NOT_ALLOWED .' (' . $http->getStatusText($http::HTTP_METHOD_NOT_ALLOWED) . ')!!');
364
+            die('Error ' . $http::HTTP_METHOD_NOT_ALLOWED . ' (' . $http->getStatusText($http::HTTP_METHOD_NOT_ALLOWED) . ')!!');
365 365
         }
366 366
 
367 367
         # data to send
368 368
         $data = [];
369 369
 
370
-        $this->setTerminal(true);           # set terminal
371
-        $post = $this->getPost();           # catch $_POST
370
+        $this->setTerminal(true); # set terminal
371
+        $post = $this->getPost(); # catch $_POST
372 372
 
373 373
         $data["id"]   = $post["id"];
374 374
         $data["conn"] = $post["conn"];
@@ -390,8 +390,8 @@  discard block
 block discarded – undo
390 390
         $data = [];
391 391
 
392 392
         # environment settings
393
-        $post = $this->getPost();           # catch $_POST
394
-        $this->setTerminal(true);           # set terminal
393
+        $post = $this->getPost(); # catch $_POST
394
+        $this->setTerminal(true); # set terminal
395 395
 
396 396
         # TRY-CATCH-BLOCK
397 397
         try {
@@ -402,7 +402,7 @@  discard block
 block discarded – undo
402 402
                 $http = new Http();
403 403
                 $http->writeStatus($http::HTTP_METHOD_NOT_ALLOWED);
404 404
 
405
-                die('Error ' . $http::HTTP_METHOD_NOT_ALLOWED .' (' . $http->getStatusText($http::HTTP_METHOD_NOT_ALLOWED) . ')!!');
405
+                die('Error ' . $http::HTTP_METHOD_NOT_ALLOWED . ' (' . $http->getStatusText($http::HTTP_METHOD_NOT_ALLOWED) . ')!!');
406 406
             }
407 407
 
408 408
             # STANDARD VALIDATIONS [check needed arguments]
@@ -414,7 +414,7 @@  discard block
 block discarded – undo
414 414
                     $http = new Http();
415 415
                     $http->writeStatus($http::HTTP_BAD_REQUEST);
416 416
 
417
-                    die('Error ' . $http::HTTP_BAD_REQUEST .' (' . $http->getStatusText($http::HTTP_BAD_REQUEST) . ')!!');
417
+                    die('Error ' . $http::HTTP_BAD_REQUEST . ' (' . $http->getStatusText($http::HTTP_BAD_REQUEST) . ')!!');
418 418
                 }
419 419
             });
420 420
 
@@ -544,7 +544,7 @@  discard block
 block discarded – undo
544 544
                         $http = new Http();
545 545
                         $http->writeStatus($http::HTTP_BAD_REQUEST);
546 546
 
547
-                        die('Error ' . $http::HTTP_BAD_REQUEST .' (' . $http->getStatusText($http::HTTP_BAD_REQUEST) . ')!!');
547
+                        die('Error ' . $http::HTTP_BAD_REQUEST . ' (' . $http->getStatusText($http::HTTP_BAD_REQUEST) . ')!!');
548 548
                     }
549 549
 
550 550
                     $row_start = $post["row_start"] + $step;
@@ -694,11 +694,11 @@  discard block
 block discarded – undo
694 694
 
695 695
                         if (gettype($value) == 'object')
696 696
                         {
697
-                            if  (get_class($value) == 'OCI-Lob')
697
+                            if (get_class($value) == 'OCI-Lob')
698 698
                             {
699 699
                                 if (($val = @$value->load()) === false)
700 700
                                 {
701
-                                    $val = null;   # only for default, this value is not used
701
+                                    $val = null; # only for default, this value is not used
702 702
                                     $column_errors[] = $column;
703 703
                                 }
704 704
 
@@ -778,8 +778,8 @@  discard block
 block discarded – undo
778 778
         $data = [];
779 779
 
780 780
         # environment settings
781
-        $post = $this->getPost();           # catch $_POST
782
-        $this->setTerminal(true);           # set terminal
781
+        $post = $this->getPost(); # catch $_POST
782
+        $this->setTerminal(true); # set terminal
783 783
 
784 784
         # TRY-CATCH-BLOCK
785 785
         try {
@@ -790,7 +790,7 @@  discard block
 block discarded – undo
790 790
                 $http = new Http();
791 791
                 $http->writeStatus($http::HTTP_METHOD_NOT_ALLOWED);
792 792
 
793
-                die('Error ' . $http::HTTP_METHOD_NOT_ALLOWED .' (' . $http->getStatusText($http::HTTP_METHOD_NOT_ALLOWED) . ')!!');
793
+                die('Error ' . $http::HTTP_METHOD_NOT_ALLOWED . ' (' . $http->getStatusText($http::HTTP_METHOD_NOT_ALLOWED) . ')!!');
794 794
             }
795 795
 
796 796
             # STANDARD VALIDATIONS [check needed arguments]
@@ -802,7 +802,7 @@  discard block
 block discarded – undo
802 802
                     $http = new Http();
803 803
                     $http->writeStatus($http::HTTP_BAD_REQUEST);
804 804
 
805
-                    die('Error ' . $http::HTTP_BAD_REQUEST .' (' . $http->getStatusText($http::HTTP_BAD_REQUEST) . ')!!');
805
+                    die('Error ' . $http::HTTP_BAD_REQUEST . ' (' . $http->getStatusText($http::HTTP_BAD_REQUEST) . ')!!');
806 806
                 }
807 807
             });
808 808
 
@@ -1085,11 +1085,11 @@  discard block
 block discarded – undo
1085 1085
 
1086 1086
                                 if (gettype($value) == 'object')
1087 1087
                                 {
1088
-                                    if  (get_class($value) == 'OCI-Lob')
1088
+                                    if (get_class($value) == 'OCI-Lob')
1089 1089
                                     {
1090 1090
                                         if (($val = @$value->load()) === false)
1091 1091
                                         {
1092
-                                            $val = null;   # only for default, this value is not used
1092
+                                            $val = null; # only for default, this value is not used
1093 1093
                                             $column_errors[] = $column;
1094 1094
                                         }
1095 1095
 
@@ -1111,7 +1111,7 @@  discard block
 block discarded – undo
1111 1111
 
1112 1112
                             foreach ($column_names as $column_name)
1113 1113
                             {
1114
-                                $table .= "\t\t\t<td>". $row[$column_name] ."</td>\r\n";
1114
+                                $table .= "\t\t\t<td>" . $row[$column_name] . "</td>\r\n";
1115 1115
                             }
1116 1116
 
1117 1117
                             $table .= "\t\t</tr>\r\n";
@@ -1153,11 +1153,11 @@  discard block
 block discarded – undo
1153 1153
 
1154 1154
                                 if (gettype($value) == 'object')
1155 1155
                                 {
1156
-                                    if  (get_class($value) == 'OCI-Lob')
1156
+                                    if (get_class($value) == 'OCI-Lob')
1157 1157
                                     {
1158 1158
                                         if (($val = @$value->load()) === false)
1159 1159
                                         {
1160
-                                            $val = null;   # only for default, this value is not used
1160
+                                            $val = null; # only for default, this value is not used
1161 1161
                                             $column_errors[] = $column;
1162 1162
                                         }
1163 1163
 
@@ -1258,7 +1258,7 @@  discard block
 block discarded – undo
1258 1258
             foreach ($errors as $errno => $error)
1259 1259
             {
1260 1260
                 $errorInformation .=
1261
-                    "<strong style='color: #a94442'>".
1261
+                    "<strong style='color: #a94442'>" .
1262 1262
                         $method
1263 1263
                             . "</strong>: <span style='color: #e24f4c'>{$error}</span> \n<br />";
1264 1264
             }
Please login to merge, or discard this patch.
module/Connections/Module.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -87,14 +87,14 @@
 block discarded – undo
87 87
             case '_COOKIE':
88 88
 
89 89
 		        if (!array_key_exists($key, $_COOKIE) || empty($_COOKIE[$key]))
90
-		            header("location: " . $c->basePath ."/public/". "Auth");
90
+		            header("location: " . $c->basePath . "/public/" . "Auth");
91 91
 
92 92
                 break;
93 93
 
94 94
             case '_SESSION':
95 95
 
96 96
 		        if (!array_key_exists($key, $_SESSION) || empty($_SESSION[$key]))
97
-		            header("location: " . $c->basePath ."/public/". "Auth");
97
+		            header("location: " . $c->basePath . "/public/" . "Auth");
98 98
 
99 99
                 break;
100 100
         }
Please login to merge, or discard this patch.
module/Catcher/source/Controller/Index.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -81,7 +81,7 @@
 block discarded – undo
81 81
         {
82 82
             $new = array();
83 83
 
84
-            foreach($obj as $key => $val)
84
+            foreach ($obj as $key => $val)
85 85
             {
86 86
                 $new[$key] = $this->object_to_array($val);
87 87
             }
Please login to merge, or discard this patch.
module/Workarea/source/Controller/Connections.php 1 patch
Spacing   +17 added lines, -17 removed lines patch added patch discarded remove patch
@@ -156,7 +156,7 @@  discard block
 block discarded – undo
156 156
         $data = array();
157 157
 
158 158
         # environment settings
159
-        $this->setTerminal(true);           # set terminal
159
+        $this->setTerminal(true); # set terminal
160 160
 
161 161
         # TRY-CATCH-BLOCK
162 162
         try {
@@ -167,7 +167,7 @@  discard block
 block discarded – undo
167 167
                 $http = new Http();
168 168
                 $http->writeStatus($http::HTTP_METHOD_NOT_ALLOWED);
169 169
 
170
-                die('Error ' . $http::HTTP_METHOD_NOT_ALLOWED .' (' . $http->getStatusText($http::HTTP_METHOD_NOT_ALLOWED) . ')!!');
170
+                die('Error ' . $http::HTTP_METHOD_NOT_ALLOWED . ' (' . $http->getStatusText($http::HTTP_METHOD_NOT_ALLOWED) . ')!!');
171 171
             }
172 172
 
173 173
             $data["connections"] = $this->getUserConnectionEntity()->select([
@@ -227,8 +227,8 @@  discard block
 block discarded – undo
227 227
         $data = array();
228 228
 
229 229
         # environment settings
230
-        $post = $this->getPost();           # catch $_POST
231
-        $this->setTerminal(true);           # set terminal
230
+        $post = $this->getPost(); # catch $_POST
231
+        $this->setTerminal(true); # set terminal
232 232
 
233 233
         # TRY-CATCH-BLOCK
234 234
         try {
@@ -239,7 +239,7 @@  discard block
 block discarded – undo
239 239
                 $http = new Http();
240 240
                 $http->writeStatus($http::HTTP_METHOD_NOT_ALLOWED);
241 241
 
242
-                die('Error ' . $http::HTTP_METHOD_NOT_ALLOWED .' (' . $http->getStatusText($http::HTTP_METHOD_NOT_ALLOWED) . ')!!');
242
+                die('Error ' . $http::HTTP_METHOD_NOT_ALLOWED . ' (' . $http->getStatusText($http::HTTP_METHOD_NOT_ALLOWED) . ')!!');
243 243
             }
244 244
 
245 245
             # STANDARD VALIDATIONS [check needed arguments]
@@ -251,7 +251,7 @@  discard block
 block discarded – undo
251 251
                     $http = new Http();
252 252
                     $http->writeStatus($http::HTTP_BAD_REQUEST);
253 253
 
254
-                    die('Error ' . $http::HTTP_BAD_REQUEST .' (' . $http->getStatusText($http::HTTP_BAD_REQUEST) . ')!!');
254
+                    die('Error ' . $http::HTTP_BAD_REQUEST . ' (' . $http->getStatusText($http::HTTP_BAD_REQUEST) . ')!!');
255 255
                 }
256 256
             });
257 257
 
@@ -359,8 +359,8 @@  discard block
 block discarded – undo
359 359
         $data = array();
360 360
 
361 361
         # environment settings
362
-        $post = $this->getPost();           # catch $_POST
363
-        $this->setTerminal(true);           # set terminal
362
+        $post = $this->getPost(); # catch $_POST
363
+        $this->setTerminal(true); # set terminal
364 364
 
365 365
         # TRY-CATCH-BLOCK
366 366
         try {
@@ -399,7 +399,7 @@  discard block
 block discarded – undo
399 399
                         $http = new Http();
400 400
                         $http->writeStatus($http::HTTP_BAD_REQUEST);
401 401
 
402
-                        die('Error ' . $http::HTTP_BAD_REQUEST .' (' . $http->getStatusText($http::HTTP_BAD_REQUEST) . ')!!');
402
+                        die('Error ' . $http::HTTP_BAD_REQUEST . ' (' . $http->getStatusText($http::HTTP_BAD_REQUEST) . ')!!');
403 403
                     }
404 404
                 });
405 405
 
@@ -492,7 +492,7 @@  discard block
 block discarded – undo
492 492
                 $http = new Http();
493 493
                 $http->writeStatus($http::HTTP_METHOD_NOT_ALLOWED);
494 494
 
495
-                die('Error ' . $http::HTTP_METHOD_NOT_ALLOWED .' (' . $http->getStatusText($http::HTTP_METHOD_NOT_ALLOWED) . ')!!');
495
+                die('Error ' . $http::HTTP_METHOD_NOT_ALLOWED . ' (' . $http->getStatusText($http::HTTP_METHOD_NOT_ALLOWED) . ')!!');
496 496
             }
497 497
         }
498 498
         catch (\Drone\Exception\Exception $e)
@@ -544,9 +544,9 @@  discard block
 block discarded – undo
544 544
         $data = array();
545 545
 
546 546
         # environment settings
547
-        $post = $this->getPost();           # catch $_POST
548
-        $get = $_GET;                       # catch $_GET
549
-        $this->setTerminal(true);           # set terminal
547
+        $post = $this->getPost(); # catch $_POST
548
+        $get = $_GET; # catch $_GET
549
+        $this->setTerminal(true); # set terminal
550 550
 
551 551
         # TRY-CATCH-BLOCK
552 552
         try {
@@ -562,7 +562,7 @@  discard block
 block discarded – undo
562 562
                         $http = new Http();
563 563
                         $http->writeStatus($http::HTTP_BAD_REQUEST);
564 564
 
565
-                        die('Error ' . $http::HTTP_BAD_REQUEST .' (' . $http->getStatusText($http::HTTP_BAD_REQUEST) . ')!!');
565
+                        die('Error ' . $http::HTTP_BAD_REQUEST . ' (' . $http->getStatusText($http::HTTP_BAD_REQUEST) . ')!!');
566 566
                     }
567 567
                 });
568 568
 
@@ -624,7 +624,7 @@  discard block
 block discarded – undo
624 624
                         $http = new Http();
625 625
                         $http->writeStatus($http::HTTP_BAD_REQUEST);
626 626
 
627
-                        die('Error ' . $http::HTTP_BAD_REQUEST .' (' . $http->getStatusText($http::HTTP_BAD_REQUEST) . ')!!');
627
+                        die('Error ' . $http::HTTP_BAD_REQUEST . ' (' . $http->getStatusText($http::HTTP_BAD_REQUEST) . ')!!');
628 628
                     }
629 629
                 });
630 630
 
@@ -729,7 +729,7 @@  discard block
 block discarded – undo
729 729
                 $http = new Http();
730 730
                 $http->writeStatus($http::HTTP_METHOD_NOT_ALLOWED);
731 731
 
732
-                die('Error ' . $http::HTTP_METHOD_NOT_ALLOWED .' (' . $http->getStatusText($http::HTTP_METHOD_NOT_ALLOWED) . ')!!');
732
+                die('Error ' . $http::HTTP_METHOD_NOT_ALLOWED . ' (' . $http->getStatusText($http::HTTP_METHOD_NOT_ALLOWED) . ')!!');
733 733
             }
734 734
         }
735 735
         catch (\Drone\Exception\Exception $e)
@@ -776,7 +776,7 @@  discard block
 block discarded – undo
776 776
             foreach ($errors as $errno => $error)
777 777
             {
778 778
                 $errorInformation .=
779
-                    "<strong style='color: #a94442'>".
779
+                    "<strong style='color: #a94442'>" .
780 780
                         $method
781 781
                             . "</strong>: <span style='color: #e24f4c'>{$error}</span> \n<br />";
782 782
             }
Please login to merge, or discard this patch.
config/application.config.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
24 24
     ],
25 25
     'environment' => [
26 26
         'base_path' => (dirname(dirname($_SERVER['PHP_SELF'])) == "/") ? "" : dirname(dirname($_SERVER['PHP_SELF'])),
27
-        'dev_mode'  => true,                       // set this to FALSE for production environments
27
+        'dev_mode'  => true, // set this to FALSE for production environments
28 28
         'locale' => 'en'
29 29
     ],
30 30
 ];
31 31
\ No newline at end of file
Please login to merge, or discard this patch.