Passed
Push — EXTRACT_CLASSES ( 0382f2...c25e41 )
by Rafael
52:18
created
public/htdocs/loan/class/loan.class.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -411,7 +411,7 @@  discard block
 block discarded – undo
411 411
         }
412 412
     }
413 413
 
414
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
414
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
415 415
     /**
416 416
      *  Tag loan as payment started
417 417
      *
@@ -422,7 +422,7 @@  discard block
 block discarded – undo
422 422
      */
423 423
     public function set_started($user)
424 424
     {
425
-		// phpcs:enable
425
+        // phpcs:enable
426 426
         dol_syslog(get_class($this) . "::set_started is deprecated, use setStarted instead", LOG_NOTICE);
427 427
         return $this->setStarted($user);
428 428
     }
@@ -485,7 +485,7 @@  discard block
 block discarded – undo
485 485
         return $this->LibStatut($this->paid, $mode, $alreadypaid);
486 486
     }
487 487
 
488
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
488
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
489 489
     /**
490 490
      *  Return label for given status
491 491
      *
@@ -496,7 +496,7 @@  discard block
 block discarded – undo
496 496
      */
497 497
     public function LibStatut($status, $mode = 0, $alreadypaid = -1)
498 498
     {
499
-		// phpcs:enable
499
+        // phpcs:enable
500 500
         global $langs;
501 501
 
502 502
         // Load translation files required by the page
Please login to merge, or discard this patch.
public/htdocs/compta/paiement/cheque/class/remisecheque.class.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -472,7 +472,7 @@  discard block
 block discarded – undo
472 472
     }
473 473
 
474 474
 
475
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
475
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
476 476
     /**
477 477
      *      Load indicators for dashboard (this->nbtodo and this->nbtodolate)
478 478
      *
@@ -482,7 +482,7 @@  discard block
 block discarded – undo
482 482
      */
483 483
     public function load_board($user, $type = 'CHQ')
484 484
     {
485
-		// phpcs:enable
485
+        // phpcs:enable
486 486
         global $conf, $langs;
487 487
 
488 488
         if ($user->socid) {
@@ -810,7 +810,7 @@  discard block
 block discarded – undo
810 810
         }
811 811
     }
812 812
 
813
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
813
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
814 814
     /**
815 815
      *      Set the creation date
816 816
      *
@@ -820,7 +820,7 @@  discard block
 block discarded – undo
820 820
      */
821 821
     public function set_date($user, $date)
822 822
     {
823
-		// phpcs:enable
823
+        // phpcs:enable
824 824
         if ($user->hasRight('banque', 'cheque')) {
825 825
             $sql = "UPDATE " . MAIN_DB_PREFIX . "bordereau_cheque";
826 826
             $sql .= " SET date_bordereau = " . ($date ? "'" . $this->db->idate($date) . "'" : 'null');
@@ -840,7 +840,7 @@  discard block
 block discarded – undo
840 840
         }
841 841
     }
842 842
 
843
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
843
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
844 844
     /**
845 845
      *      Set the ref of bordereau
846 846
      *
@@ -850,7 +850,7 @@  discard block
 block discarded – undo
850 850
      */
851 851
     public function set_number($user, $ref)
852 852
     {
853
-		// phpcs:enable
853
+        // phpcs:enable
854 854
         if ($user->hasRight('banque', 'cheque')) {
855 855
             $sql = "UPDATE " . MAIN_DB_PREFIX . "bordereau_cheque";
856 856
             $sql .= " SET ref = '" . $this->db->escape($ref) . "'";
@@ -966,7 +966,7 @@  discard block
 block discarded – undo
966 966
         return $this->LibStatut($this->statut, $mode);
967 967
     }
968 968
 
969
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
969
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
970 970
     /**
971 971
      *  Return the label of a given status
972 972
      *
@@ -976,7 +976,7 @@  discard block
 block discarded – undo
976 976
      */
977 977
     public function LibStatut($status, $mode = 0)
978 978
     {
979
-		// phpcs:enable
979
+        // phpcs:enable
980 980
         if (empty($this->labelStatus) || empty($this->labelStatusShort)) {
981 981
             global $langs;
982 982
             $langs->load('compta');
Please login to merge, or discard this patch.
public/htdocs/opensurvey/class/opensurveysondage.class.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -579,7 +579,7 @@  discard block
 block discarded – undo
579 579
         return $result;
580 580
     }
581 581
 
582
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
582
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
583 583
     /**
584 584
      * Return array of lines
585 585
      *
@@ -587,7 +587,7 @@  discard block
 block discarded – undo
587 587
      */
588 588
     public function fetch_lines()
589 589
     {
590
-		// phpcs:enable
590
+        // phpcs:enable
591 591
         $this->lines = array();
592 592
 
593 593
         $sql = "SELECT id_users, nom as name, reponses";
@@ -736,7 +736,7 @@  discard block
 block discarded – undo
736 736
         return $this->LibStatut($this->status, $mode);
737 737
     }
738 738
 
739
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
739
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
740 740
     /**
741 741
      *  Return label of status
742 742
      *
@@ -746,7 +746,7 @@  discard block
 block discarded – undo
746 746
      */
747 747
     public function LibStatut($status, $mode)
748 748
     {
749
-		// phpcs:enable
749
+        // phpcs:enable
750 750
         global $langs, $conf;
751 751
 
752 752
         if (empty($this->labelStatus) || empty($this->labelStatusShort)) {
Please login to merge, or discard this patch.
public/htdocs/multicurrency/class/api_multicurrencies.class.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -339,7 +339,7 @@  discard block
 block discarded – undo
339 339
         return $this->_cleanObjectDatas($multicurrency);
340 340
     }
341 341
 
342
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
342
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
343 343
     /**
344 344
      * Clean sensible object datas
345 345
      *
@@ -348,7 +348,7 @@  discard block
 block discarded – undo
348 348
      */
349 349
     protected function _cleanObjectDatas($object)
350 350
     {
351
-		// phpcs:enable
351
+        // phpcs:enable
352 352
         $object = parent::_cleanObjectDatas($object);
353 353
 
354 354
         // Clear all fields out of interest
@@ -365,7 +365,7 @@  discard block
 block discarded – undo
365 365
         return $object;
366 366
     }
367 367
 
368
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
368
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
369 369
     /**
370 370
      * Clean sensible MultiCurrencyRate object datas
371 371
      *
@@ -374,7 +374,7 @@  discard block
 block discarded – undo
374 374
      */
375 375
     protected function _cleanObjectDatasRate($object)
376 376
     {
377
-		// phpcs:enable
377
+        // phpcs:enable
378 378
         $object = parent::_cleanObjectDatas($object);
379 379
 
380 380
         // Clear all fields out of interest
Please login to merge, or discard this patch.
public/htdocs/partnership/core/modules/partnership/modules_partnership.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@  discard block
 block discarded – undo
39 39
  */
40 40
 abstract class ModelePDFPartnership extends CommonDocGenerator
41 41
 {
42
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
42
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
43 43
     /**
44 44
      *  Return list of active generation modules
45 45
      *
@@ -49,7 +49,7 @@  discard block
 block discarded – undo
49 49
      */
50 50
     public static function liste_modeles($db, $maxfilenamelength = 0)
51 51
     {
52
-		// phpcs:enable
52
+        // phpcs:enable
53 53
         global $conf;
54 54
 
55 55
         $type = 'partnership';
Please login to merge, or discard this patch.
public/htdocs/partnership/class/partnership.class.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1100,7 +1100,7 @@  discard block
 block discarded – undo
1100 1100
         return $this->LibStatut($this->status, $mode);
1101 1101
     }
1102 1102
 
1103
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
1103
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
1104 1104
     /**
1105 1105
      *  Return the status
1106 1106
      *
@@ -1110,7 +1110,7 @@  discard block
 block discarded – undo
1110 1110
      */
1111 1111
     public function LibStatut($status, $mode = 0)
1112 1112
     {
1113
-		// phpcs:enable
1113
+        // phpcs:enable
1114 1114
         if (empty($this->labelStatus) || empty($this->labelStatusShort)) {
1115 1115
             global $langs;
1116 1116
             //$langs->load("partnership");
Please login to merge, or discard this patch.
public/htdocs/partnership/class/api_partnerships.class.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -341,7 +341,7 @@  discard block
 block discarded – undo
341 341
     }
342 342
 
343 343
 
344
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
344
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
345 345
     /**
346 346
      * Clean sensible object datas
347 347
      *
@@ -350,7 +350,7 @@  discard block
 block discarded – undo
350 350
      */
351 351
     protected function _cleanObjectDatas($object)
352 352
     {
353
-		// phpcs:enable
353
+        // phpcs:enable
354 354
         $object = parent::_cleanObjectDatas($object);
355 355
 
356 356
         unset($object->rowid);
Please login to merge, or discard this patch.
public/htdocs/fichinter/class/fichinterrec.class.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -349,7 +349,7 @@  discard block
 block discarded – undo
349 349
     }
350 350
 
351 351
 
352
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
352
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
353 353
     /**
354 354
      *  Load all lines of template of intervention into this->lines
355 355
      *
@@ -358,7 +358,7 @@  discard block
 block discarded – undo
358 358
      */
359 359
     public function fetch_lines($sall = 0)
360 360
     {
361
-		// phpcs:enable
361
+        // phpcs:enable
362 362
         $this->lines = array();
363 363
 
364 364
         $sql = 'SELECT l.rowid, l.fk_product, l.product_type as product_type, l.label as custom_label, l.description,';
@@ -588,7 +588,7 @@  discard block
 block discarded – undo
588 588
     }
589 589
 
590 590
 
591
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
591
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
592 592
     /**
593 593
      *  Rend la fichinter automatique
594 594
      *
@@ -599,7 +599,7 @@  discard block
 block discarded – undo
599 599
      */
600 600
     public function set_auto($user, $freq, $courant)
601 601
     {
602
-		// phpcs:enable
602
+        // phpcs:enable
603 603
         if ($user->hasRight('fichinter', 'creer')) {
604 604
             $sql = "UPDATE " . MAIN_DB_PREFIX . "fichinter_rec ";
605 605
             $sql .= " SET frequency='" . $this->db->escape($freq) . "'";
Please login to merge, or discard this patch.
public/htdocs/fichinter/class/api_interventions.class.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -40,18 +40,18 @@  discard block
 block discarded – undo
40 40
      * @var array   $FIELDS     Mandatory fields, checked when create and update object
41 41
      */
42 42
     public static $FIELDS = array(
43
-      'socid',
44
-      'fk_project',
45
-      'description',
43
+        'socid',
44
+        'fk_project',
45
+        'description',
46 46
     );
47 47
 
48 48
     /**
49 49
      * @var array   $FIELDS     Mandatory fields, checked when create and update object
50 50
      */
51 51
     public static $FIELDSLINE = array(
52
-      'description',
53
-      'date',
54
-      'duree',
52
+        'description',
53
+        'date',
54
+        'duree',
55 55
     );
56 56
 
57 57
     /**
@@ -431,7 +431,7 @@  discard block
 block discarded – undo
431 431
     }
432 432
 
433 433
 
434
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
434
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
435 435
     /**
436 436
      * Clean sensible object datas
437 437
      *
@@ -440,7 +440,7 @@  discard block
 block discarded – undo
440 440
      */
441 441
     protected function _cleanObjectDatas($object)
442 442
     {
443
-		// phpcs:enable
443
+        // phpcs:enable
444 444
         $object = parent::_cleanObjectDatas($object);
445 445
 
446 446
         unset($object->labelStatus);
Please login to merge, or discard this patch.