Passed
Push — main ( 55273f...7ed502 )
by Rafael
46:12
created
htdocs/core/modules/societe/mod_codecompta_panicum.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -84,7 +84,7 @@  discard block
 block discarded – undo
84 84
         return '';
85 85
     }
86 86
 
87
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
87
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
88 88
     /**
89 89
      *  Set accountancy account code for a third party into this->code
90 90
      *
@@ -95,7 +95,7 @@  discard block
 block discarded – undo
95 95
      */
96 96
     public function get_code($db, $societe, $type = '')
97 97
     {
98
-		// phpcs:enable
98
+        // phpcs:enable
99 99
         $this->code = '';
100 100
 
101 101
         if (is_object($societe)) {
Please login to merge, or discard this patch.
htdocs/core/modules/societe/mod_codeclient_elephant.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -223,7 +223,7 @@  discard block
 block discarded – undo
223 223
     }
224 224
 
225 225
 
226
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
226
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
227 227
     /**
228 228
      *   Check if mask/numbering use prefix
229 229
      *
@@ -231,7 +231,7 @@  discard block
 block discarded – undo
231 231
      */
232 232
     public function verif_prefixIsUsed()
233 233
     {
234
-		// phpcs:enable
234
+        // phpcs:enable
235 235
         global $conf;
236 236
 
237 237
         $mask = getDolGlobalString('COMPANY_ELEPHANT_MASK_CUSTOMER');
@@ -306,7 +306,7 @@  discard block
 block discarded – undo
306 306
     }
307 307
 
308 308
 
309
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
309
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
310 310
     /**
311 311
      *      Indicate if the code is available or not (by another third party)
312 312
      *
@@ -318,7 +318,7 @@  discard block
 block discarded – undo
318 318
      */
319 319
     public function verif_dispo($db, $code, $soc, $type = 0)
320 320
     {
321
-		// phpcs:enable
321
+        // phpcs:enable
322 322
         $sql = "SELECT rowid FROM " . MAIN_DB_PREFIX . "societe";
323 323
         if ($type == 1) {
324 324
             $sql .= " WHERE code_fournisseur = '" . $db->escape($code) . "'";
Please login to merge, or discard this patch.
htdocs/core/modules/expedition/doc/pdf_merou.modules.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -108,7 +108,7 @@  discard block
 block discarded – undo
108 108
     }
109 109
 
110 110
 
111
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
111
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
112 112
     /**
113 113
      *  Function to build pdf onto disk
114 114
      *
@@ -122,7 +122,7 @@  discard block
 block discarded – undo
122 122
      */
123 123
     public function write_file(&$object, $outputlangs, $srctemplatepath = '', $hidedetails = 0, $hidedesc = 0, $hideref = 0)
124 124
     {
125
-		// phpcs:enable
125
+        // phpcs:enable
126 126
         global $user, $conf, $langs, $mysoc, $hookmanager;
127 127
 
128 128
         $object->fetch_thirdparty();
@@ -399,7 +399,7 @@  discard block
 block discarded – undo
399 399
         }
400 400
     }
401 401
 
402
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
402
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
403 403
     /**
404 404
      *   Show table for lines
405 405
      *
@@ -440,7 +440,7 @@  discard block
 block discarded – undo
440 440
         $pdf->Rect(10, $tab_top, 190, $tab_height);
441 441
     }
442 442
 
443
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
443
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
444 444
     /**
445 445
      *      Show footer of page. Need this->emetteur object
446 446
      *
@@ -469,7 +469,7 @@  discard block
 block discarded – undo
469 469
         //}
470 470
     }
471 471
 
472
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
472
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
473 473
     /**
474 474
      *  Show top header of page.
475 475
      *
Please login to merge, or discard this patch.
htdocs/core/modules/expedition/doc/pdf_espadon.modules.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -112,7 +112,7 @@  discard block
 block discarded – undo
112 112
         $this->tabTitleHeight = 5; // default height
113 113
     }
114 114
 
115
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
115
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
116 116
     /**
117 117
      *  Function to build pdf onto disk
118 118
      *
@@ -126,7 +126,7 @@  discard block
 block discarded – undo
126 126
      */
127 127
     public function write_file($object, $outputlangs, $srctemplatepath = '', $hidedetails = 0, $hidedesc = 0, $hideref = 0)
128 128
     {
129
-		// phpcs:enable
129
+        // phpcs:enable
130 130
         global $user, $conf, $langs, $hookmanager;
131 131
 
132 132
         $object->fetch_thirdparty();
@@ -769,8 +769,8 @@  discard block
 block discarded – undo
769 769
         }
770 770
     }
771 771
 
772
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
773
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
772
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
773
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
774 774
     /**
775 775
      *  Show total to pay
776 776
      *
@@ -783,7 +783,7 @@  discard block
 block discarded – undo
783 783
      */
784 784
     protected function _tableau_tot(&$pdf, $object, $deja_regle, $posy, $outputlangs)
785 785
     {
786
-		// phpcs:enable
786
+        // phpcs:enable
787 787
         global $conf, $mysoc;
788 788
 
789 789
         $sign = 1;
@@ -876,7 +876,7 @@  discard block
 block discarded – undo
876 876
         return ($tab2_top + ($tab2_hl * $index));
877 877
     }
878 878
 
879
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
879
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
880 880
     /**
881 881
      *   Show table for lines
882 882
      *
@@ -929,7 +929,7 @@  discard block
 block discarded – undo
929 929
         }
930 930
     }
931 931
 
932
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
932
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
933 933
     /**
934 934
      *  Show top header of page.
935 935
      *
@@ -1194,7 +1194,7 @@  discard block
 block discarded – undo
1194 1194
         return $top_shift;
1195 1195
     }
1196 1196
 
1197
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
1197
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
1198 1198
     /**
1199 1199
      *      Show footer of page. Need this->emetteur object
1200 1200
      *
Please login to merge, or discard this patch.
htdocs/core/modules/expedition/doc/pdf_rouget.modules.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -144,7 +144,7 @@  discard block
 block discarded – undo
144 144
         }
145 145
     }
146 146
 
147
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
147
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
148 148
     /**
149 149
      *  Function to build pdf onto disk
150 150
      *
@@ -158,7 +158,7 @@  discard block
 block discarded – undo
158 158
      */
159 159
     public function write_file($object, $outputlangs, $srctemplatepath = '', $hidedetails = 0, $hidedesc = 0, $hideref = 0)
160 160
     {
161
-		// phpcs:enable
161
+        // phpcs:enable
162 162
         global $user, $conf, $langs, $hookmanager;
163 163
 
164 164
         $object->fetch_thirdparty();
@@ -642,8 +642,8 @@  discard block
 block discarded – undo
642 642
         }
643 643
     }
644 644
 
645
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
646
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
645
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
646
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
647 647
     /**
648 648
      *  Show total to pay
649 649
      *
@@ -656,7 +656,7 @@  discard block
 block discarded – undo
656 656
      */
657 657
     protected function _tableau_tot(&$pdf, $object, $deja_regle, $posy, $outputlangs)
658 658
     {
659
-		// phpcs:enable
659
+        // phpcs:enable
660 660
         global $conf, $mysoc;
661 661
 
662 662
         $sign = 1;
@@ -757,7 +757,7 @@  discard block
 block discarded – undo
757 757
         return ($tab2_top + ($tab2_hl * $index));
758 758
     }
759 759
 
760
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
760
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
761 761
     /**
762 762
      *   Show table for lines
763 763
      *
@@ -838,7 +838,7 @@  discard block
 block discarded – undo
838 838
         }
839 839
     }
840 840
 
841
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
841
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
842 842
     /**
843 843
      *  Show top header of page.
844 844
      *
@@ -1105,7 +1105,7 @@  discard block
 block discarded – undo
1105 1105
         return $top_shift;
1106 1106
     }
1107 1107
 
1108
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
1108
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
1109 1109
     /**
1110 1110
      *  Show footer of page. Need this->emetteur object
1111 1111
      *
Please login to merge, or discard this patch.
htdocs/core/modules/expedition/modules_expedition.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@  discard block
 block discarded – undo
40 40
  */
41 41
 abstract class ModelePdfExpedition extends CommonDocGenerator
42 42
 {
43
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
43
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
44 44
     /**
45 45
      *  Return list of active generation models
46 46
      *
@@ -50,7 +50,7 @@  discard block
 block discarded – undo
50 50
      */
51 51
     public static function liste_modeles($db, $maxfilenamelength = 0)
52 52
     {
53
-		// phpcs:enable
53
+        // phpcs:enable
54 54
         $type = 'shipping';
55 55
         $list = array();
56 56
 
Please login to merge, or discard this patch.
htdocs/core/modules/hrm/modules_evaluation.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 ModelePDFEvaluation 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
         $type = 'evaluation';
54 54
         $list = array();
55 55
 
Please login to merge, or discard this patch.
htdocs/core/modules/hrm/doc/pdf_standard.modules.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -130,7 +130,7 @@  discard block
 block discarded – undo
130 130
         }
131 131
     }
132 132
 
133
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
133
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
134 134
     /**
135 135
      *  Function to build pdf onto disk
136 136
      *
@@ -144,7 +144,7 @@  discard block
 block discarded – undo
144 144
      */
145 145
     public function write_file($object, $outputlangs, $srctemplatepath = '', $hidedetails = 0, $hidedesc = 0, $hideref = 0)
146 146
     {
147
-		// phpcs:enable
147
+        // phpcs:enable
148 148
         global $user, $langs, $conf, $mysoc, $db, $hookmanager, $nblines;
149 149
 
150 150
         if (!is_object($outputlangs)) {
@@ -515,7 +515,7 @@  discard block
 block discarded – undo
515 515
         $pdf->writeHTMLCell($this->posxskill - $this->posxpiece - 0.8, 3, $this->posxpiece - 1, $curY, $linenumber + 1, 0, 1, 0, 0, 'C');
516 516
     }
517 517
 
518
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
518
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
519 519
     /**
520 520
      *  Show top header of page.
521 521
      *
@@ -631,7 +631,7 @@  discard block
 block discarded – undo
631 631
         return 0;
632 632
     }
633 633
 
634
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
634
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
635 635
     /**
636 636
      *   Show table for lines
637 637
      *
@@ -707,7 +707,7 @@  discard block
 block discarded – undo
707 707
 
708 708
 
709 709
 
710
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
710
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
711 711
     /**
712 712
      *  Show footer of page. Need this->emetteur object
713 713
      *
Please login to merge, or discard this patch.
htdocs/core/modules/hrm/mod_evaluation_advanced.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
  * \brief      File containing class for advanced numbering model of Evaluation
28 28
  */
29 29
 
30
- require_once DOL_DOCUMENT_ROOT . '/core/modules/hrm/modules_evaluation.php';
30
+    require_once DOL_DOCUMENT_ROOT . '/core/modules/hrm/modules_evaluation.php';
31 31
 
32 32
 
33 33
 /**
Please login to merge, or discard this patch.