Passed
Push — 1.0.0-dev ( e3bc99...72449d )
by nguereza
03:01
created
core/classes/Response.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -345,7 +345,7 @@  discard block
 block discarded – undo
345 345
          */
346 346
         public function sendError(array $data = array()) {
347 347
             $path = CORE_VIEWS_PATH . 'errors.php';
348
-            if(file_exists($path)){
348
+            if (file_exists($path)) {
349 349
                 //compress the output if is available
350 350
                 $compressOutputHandler = $this->getCompressOutputHandler();
351 351
                 ob_start($compressOutputHandler);
@@ -357,7 +357,7 @@  discard block
 block discarded – undo
357 357
                 echo $content;
358 358
             }
359 359
             //@codeCoverageIgnoreStart
360
-            else{
360
+            else {
361 361
                 //can't use show_error() at this time because 
362 362
                 //some dependencies not yet loaded
363 363
                 set_http_status_header(503);
@@ -386,7 +386,7 @@  discard block
 block discarded – undo
386 386
          * 
387 387
          * @return string|null          the full file path
388 388
          */
389
-        protected function getDefaultFilePathForView($file){
389
+        protected function getDefaultFilePathForView($file) {
390 390
             $searchDir = array(APPS_VIEWS_PATH, CORE_VIEWS_PATH);
391 391
             $fullFilePath = null;
392 392
             foreach ($searchDir as $dir) {
Please login to merge, or discard this patch.