Test Failed
Push — 1.0.0-dev ( 740ad8...b2bddd )
by nguereza
02:44
created
core/classes/Log.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -214,7 +214,7 @@
 block discarded – undo
214 214
         protected function getLogDebugBacktraceInfo() {
215 215
             $dtrace = debug_backtrace(DEBUG_BACKTRACE_IGNORE_ARGS);
216 216
             $i = 0;
217
-            while ($dtrace[$i]['file'] == __FILE__ ) {
217
+            while ($dtrace[$i]['file'] == __FILE__) {
218 218
                 $i++;
219 219
             } 
220 220
             $fileInfo = $dtrace[$i];
Please login to merge, or discard this patch.
core/libraries/Upload.php 1 patch
Indentation   +48 added lines, -48 removed lines patch added patch discarded remove patch
@@ -277,10 +277,10 @@  discard block
 block discarded – undo
277 277
             return $this;
278 278
         }
279 279
 
280
-         /**
281
-         *    Get the uploade file array
282
-         *    @return    array
283
-         */
280
+            /**
281
+             *    Get the uploade file array
282
+             *    @return    array
283
+             */
284 284
         public function getUploadedFileData() {
285 285
             return $this->uploadedFileData;
286 286
         }
@@ -320,10 +320,10 @@  discard block
 block discarded – undo
320 320
             return $this;
321 321
         }
322 322
 
323
-         /**
324
-         *    Get the filename
325
-         *    @return    string
326
-         */
323
+            /**
324
+             *    Get the filename
325
+             *    @return    string
326
+             */
327 327
         public function getFilename() {
328 328
             return $this->filename;
329 329
         }
@@ -352,23 +352,23 @@  discard block
 block discarded – undo
352 352
             return $this;
353 353
         }
354 354
 
355
-         /**
356
-         *    Get the max file size
357
-         *    @return    double|int
358
-         */
355
+            /**
356
+             *    Get the max file size
357
+             *    @return    double|int
358
+             */
359 359
         public function getMaxFileSize() {
360 360
             return $this->maxFileSize;
361 361
         }
362 362
 
363
-         /**
364
-         *    Append a mime type to allowed mime types
365
-         *
366
-         *    @since     1.0
367
-         *    @version   1.0.1
368
-         *    @param     string      $mime
369
-         *    @return    object
370
-         *    @method    boolean     setAllowMimeType
371
-         */
363
+            /**
364
+             *    Append a mime type to allowed mime types
365
+             *
366
+             *    @since     1.0
367
+             *    @version   1.0.1
368
+             *    @param     string      $mime
369
+             *    @return    object
370
+             *    @method    boolean     setAllowMimeType
371
+             */
372 372
         public function setAllowMimeType($mime) {
373 373
             $this->allowedMimeTypes[] = strtolower($mime);
374 374
             $this->file['allowed_mime_types'][] = strtolower($mime); 
@@ -485,10 +485,10 @@  discard block
 block discarded – undo
485 485
             return $this;
486 486
         }
487 487
 
488
-         /**
489
-         *    Get the upload function name like "copy", "move_uploaded_file"
490
-         *    @return    string
491
-         */
488
+            /**
489
+             *    Get the upload function name like "copy", "move_uploaded_file"
490
+             *    @return    string
491
+             */
492 492
         public function getUploadFunction() {
493 493
             return $this->uploadFunction;
494 494
         }
@@ -506,10 +506,10 @@  discard block
 block discarded – undo
506 506
             return $this;
507 507
         }
508 508
 
509
-         /**
510
-         *    Get the allow overwriting
511
-         *    @return    boolean
512
-         */
509
+            /**
510
+             *    Get the allow overwriting
511
+             *    @return    boolean
512
+             */
513 513
         public function isAllowOverwriting() {
514 514
             return $this->overwriteFile ;
515 515
         }
@@ -614,14 +614,14 @@  discard block
 block discarded – undo
614 614
             return $this->error;
615 615
         }
616 616
 
617
-         /**
618
-         *    Retrive status of upload
619
-         *
620
-         *    @since     1.0
621
-         *    @version   1.0
622
-         *    @return    boolean
623
-         *    @method    boolean    getStatus
624
-         */
617
+            /**
618
+             *    Retrive status of upload
619
+             *
620
+             *    @since     1.0
621
+             *    @version   1.0
622
+             *    @return    boolean
623
+             *    @method    boolean    getStatus
624
+             */
625 625
         public function getStatus() {
626 626
             return $this->file['status'];
627 627
         }
@@ -654,11 +654,11 @@  discard block
 block discarded – undo
654 654
                                 && is_file($file);
655 655
         }
656 656
 
657
-         /**
658
-         * Set the filename if is empty using the uploaded data information
659
-         *
660
-         * @return object the current instance
661
-         */
657
+            /**
658
+             * Set the filename if is empty using the uploaded data information
659
+             *
660
+             * @return object the current instance
661
+             */
662 662
         protected function setFilenameUsingUploadedData() {
663 663
             // set original filename if not have a new name
664 664
             if (empty($this->filename)) {
@@ -745,12 +745,12 @@  discard block
 block discarded – undo
745 745
             return true;
746 746
         }
747 747
 
748
-         /**
749
-         *    Check the file overwritting
750
-         *    @since     1.0
751
-         *    @version   1.0
752
-         *    @return    boolean
753
-         */
748
+            /**
749
+             *    Check the file overwritting
750
+             *    @since     1.0
751
+             *    @version   1.0
752
+             *    @return    boolean
753
+             */
754 754
         protected function checkFileOverwritting() {
755 755
             if ($this->fileExists($this->destinationDirectory . $this->filename)) {
756 756
                 return $this->overwriteFile;
Please login to merge, or discard this patch.