Passed
Push — main ( 55273f...7ed502 )
by Rafael
46:12
created
htdocs/core/modules/export/export_tsv.modules.php 1 patch
Indentation   +14 added lines, -14 removed lines patch added patch discarded remove patch
@@ -151,7 +151,7 @@  discard block
 block discarded – undo
151 151
     }
152 152
 
153 153
 
154
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
154
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
155 155
     /**
156 156
      *   Open output file
157 157
      *
@@ -161,7 +161,7 @@  discard block
 block discarded – undo
161 161
      */
162 162
     public function open_file($file, $outputlangs)
163 163
     {
164
-		// phpcs:enable
164
+        // phpcs:enable
165 165
         global $langs;
166 166
 
167 167
         dol_syslog("ExportTsv::open_file file=" . $file);
@@ -179,7 +179,7 @@  discard block
 block discarded – undo
179 179
         return $ret;
180 180
     }
181 181
 
182
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
182
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
183 183
     /**
184 184
      *  Output header into file
185 185
      *
@@ -188,12 +188,12 @@  discard block
 block discarded – undo
188 188
      */
189 189
     public function write_header($outputlangs)
190 190
     {
191
-		// phpcs:enable
191
+        // phpcs:enable
192 192
         return 0;
193 193
     }
194 194
 
195 195
 
196
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
196
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
197 197
     /**
198 198
      *  Output title line into file
199 199
      *
@@ -205,7 +205,7 @@  discard block
 block discarded – undo
205 205
      */
206 206
     public function write_title($array_export_fields_label, $array_selected_sorted, $outputlangs, $array_types)
207 207
     {
208
-		// phpcs:enable
208
+        // phpcs:enable
209 209
         $selectlabel = array();
210 210
         foreach ($array_selected_sorted as $code => $value) {
211 211
             $newvalue = $outputlangs->transnoentities($array_export_fields_label[$code]); // newvalue is now $outputlangs->charset_output encoded
@@ -226,7 +226,7 @@  discard block
 block discarded – undo
226 226
     }
227 227
 
228 228
 
229
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
229
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
230 230
     /**
231 231
      *  Output record line into file
232 232
      *
@@ -238,7 +238,7 @@  discard block
 block discarded – undo
238 238
      */
239 239
     public function write_record($array_selected_sorted, $objp, $outputlangs, $array_types)
240 240
     {
241
-		// phpcs:enable
241
+        // phpcs:enable
242 242
         global $conf;
243 243
 
244 244
         $this->col = 0;
@@ -284,7 +284,7 @@  discard block
 block discarded – undo
284 284
         return 0;
285 285
     }
286 286
 
287
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
287
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
288 288
     /**
289 289
      *  Output footer into file
290 290
      *
@@ -293,11 +293,11 @@  discard block
 block discarded – undo
293 293
      */
294 294
     public function write_footer($outputlangs)
295 295
     {
296
-		// phpcs:enable
296
+        // phpcs:enable
297 297
         return 0;
298 298
     }
299 299
 
300
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
300
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
301 301
     /**
302 302
      *  Close file handle
303 303
      *
@@ -305,12 +305,12 @@  discard block
 block discarded – undo
305 305
      */
306 306
     public function close_file()
307 307
     {
308
-		// phpcs:enable
308
+        // phpcs:enable
309 309
         fclose($this->handle);
310 310
         return 0;
311 311
     }
312 312
 
313
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
313
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
314 314
     /**
315 315
      * Clean a cell to respect rules of TSV file cells
316 316
      *
@@ -320,7 +320,7 @@  discard block
 block discarded – undo
320 320
      */
321 321
     public function tsv_clean($newvalue, $charset)
322 322
     {
323
-		// phpcs:enable
323
+        // phpcs:enable
324 324
         // Rule Dolibarr: No HTML
325 325
         $newvalue = dol_string_nohtmltag($newvalue, 1, $charset);
326 326
 
Please login to merge, or discard this patch.
htdocs/core/modules/modStock.class.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -450,7 +450,7 @@  discard block
 block discarded – undo
450 450
         $this->import_convertvalue_array[$r] = array(
451 451
             'ps.fk_product' => array('rule' => 'fetchidfromref', 'classfile' => '/product/class/product.class.php', 'class' => 'Product', 'method' => 'fetch', 'element' => 'product'),
452 452
             'ps.fk_entrepot' => array('rule' => 'fetchidfromref', 'classfile' => '/product/stock/class/entrepot.class.php', 'class' => 'Entrepot', 'method' => 'fetch', 'element' => 'ref')
453
-          );
453
+            );
454 454
         $this->import_examplevalues_array[$r] = array(
455 455
             'ps.fk_product' => "id or ref of product", 'ps.fk_entrepot' => "id or ref of warehouse", 'ps.reel' => "10"
456 456
         );
@@ -500,10 +500,10 @@  discard block
 block discarded – undo
500 500
         $sql = array();
501 501
 
502 502
         $sql = array(
503
-             "DELETE FROM " . MAIN_DB_PREFIX . "document_model WHERE nom = '" . $this->db->escape($this->const[1][2]) . "' AND type = 'stock' AND entity = " . ((int) $conf->entity),
504
-             "INSERT INTO " . MAIN_DB_PREFIX . "document_model (nom, type, entity) VALUES('" . $this->db->escape($this->const[1][2]) . "','stock'," . ((int) $conf->entity) . ")",
505
-             "DELETE FROM " . MAIN_DB_PREFIX . "document_model WHERE nom = '" . $this->db->escape($this->const[2][2]) . "' AND type = 'mouvement' AND entity = " . ((int) $conf->entity),
506
-             "INSERT INTO " . MAIN_DB_PREFIX . "document_model (nom, type, entity) VALUES('" . $this->db->escape($this->const[2][2]) . "','mouvement'," . ((int) $conf->entity) . ")",
503
+                "DELETE FROM " . MAIN_DB_PREFIX . "document_model WHERE nom = '" . $this->db->escape($this->const[1][2]) . "' AND type = 'stock' AND entity = " . ((int) $conf->entity),
504
+                "INSERT INTO " . MAIN_DB_PREFIX . "document_model (nom, type, entity) VALUES('" . $this->db->escape($this->const[1][2]) . "','stock'," . ((int) $conf->entity) . ")",
505
+                "DELETE FROM " . MAIN_DB_PREFIX . "document_model WHERE nom = '" . $this->db->escape($this->const[2][2]) . "' AND type = 'mouvement' AND entity = " . ((int) $conf->entity),
506
+                "INSERT INTO " . MAIN_DB_PREFIX . "document_model (nom, type, entity) VALUES('" . $this->db->escape($this->const[2][2]) . "','mouvement'," . ((int) $conf->entity) . ")",
507 507
         );
508 508
 
509 509
         return $this->_init($sql, $options);
Please login to merge, or discard this patch.
htdocs/core/modules/stocktransfer/doc/pdf_eagle_proforma.modules.php 1 patch
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -133,7 +133,7 @@  discard block
 block discarded – undo
133 133
         $this->atleastonediscount = 0;
134 134
     }
135 135
 
136
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
136
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
137 137
     /**
138 138
      *  Function to build pdf onto disk
139 139
      *
@@ -147,7 +147,7 @@  discard block
 block discarded – undo
147 147
      */
148 148
     public function write_file($object, $outputlangs, $srctemplatepath = '', $hidedetails = 0, $hidedesc = 0, $hideref = 0)
149 149
     {
150
-		// phpcs:enable
150
+        // phpcs:enable
151 151
         global $user, $langs, $conf, $mysoc, $db, $hookmanager, $nblines;
152 152
 
153 153
         if (!is_object($outputlangs)) {
@@ -1100,7 +1100,7 @@  discard block
 block discarded – undo
1100 1100
         return ($tab2_top + ($tab2_hl * $index));
1101 1101
     }
1102 1102
 
1103
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
1103
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
1104 1104
     /**
1105 1105
      *   Show table for lines
1106 1106
      *
@@ -1156,8 +1156,8 @@  discard block
 block discarded – undo
1156 1156
         }
1157 1157
     }
1158 1158
 
1159
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
1160
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
1159
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
1160
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
1161 1161
     /**
1162 1162
      *  Show top header of page.
1163 1163
      *
@@ -1170,7 +1170,7 @@  discard block
 block discarded – undo
1170 1170
      */
1171 1171
     protected function _pagehead(&$pdf, $object, $showaddress, $outputlangs, $titlekey = "StockTransferSheetProforma")
1172 1172
     {
1173
-		// phpcs:enable
1173
+        // phpcs:enable
1174 1174
         global $conf, $langs;
1175 1175
 
1176 1176
         // Load traductions files required by page
@@ -1449,8 +1449,8 @@  discard block
 block discarded – undo
1449 1449
         return $top_shift;
1450 1450
     }
1451 1451
 
1452
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
1453
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
1452
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
1453
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
1454 1454
     /**
1455 1455
      *      Show footer of page. Need this->emetteur object
1456 1456
      *
@@ -1462,7 +1462,7 @@  discard block
 block discarded – undo
1462 1462
      */
1463 1463
     protected function _pagefoot(&$pdf, $object, $outputlangs, $hidefreetext = 0)
1464 1464
     {
1465
-		// phpcs:enable
1465
+        // phpcs:enable
1466 1466
         $showdetails = getDolGlobalInt('MAIN_GENERATE_DOCUMENTS_SHOW_FOOT_DETAILS', 0);
1467 1467
         return pdf_pagefoot($pdf, $outputlangs, 'ORDER_FREE_TEXT', $this->emetteur, $this->marge_basse, $this->marge_gauche, $this->page_hauteur, $object, $showdetails, $hidefreetext);
1468 1468
     }
Please login to merge, or discard this patch.
htdocs/core/modules/stocktransfer/doc/pdf_eagle.modules.php 1 patch
Indentation   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -164,7 +164,7 @@  discard block
 block discarded – undo
164 164
         }*/
165 165
     }
166 166
 
167
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
167
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
168 168
     /**
169 169
      *  Function to build pdf onto disk
170 170
      *
@@ -178,7 +178,7 @@  discard block
 block discarded – undo
178 178
      */
179 179
     public function write_file($object, $outputlangs, $srctemplatepath = '', $hidedetails = 0, $hidedesc = 0, $hideref = 0)
180 180
     {
181
-		// phpcs:enable
181
+        // phpcs:enable
182 182
         global $db, $user, $conf, $langs, $hookmanager;
183 183
 
184 184
         $object->fetch_thirdparty();
@@ -707,8 +707,8 @@  discard block
 block discarded – undo
707 707
         }
708 708
     }
709 709
 
710
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
711
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
710
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
711
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
712 712
     /**
713 713
      *  Show total to pay
714 714
      *
@@ -721,7 +721,7 @@  discard block
 block discarded – undo
721 721
      */
722 722
     protected function _tableau_tot(&$pdf, $object, $deja_regle, $posy, $outputlangs)
723 723
     {
724
-		// phpcs:enable
724
+        // phpcs:enable
725 725
         global $conf, $mysoc;
726 726
 
727 727
         $sign = 1;
@@ -821,7 +821,7 @@  discard block
 block discarded – undo
821 821
         return ($tab2_top + ($tab2_hl * $index));
822 822
     }
823 823
 
824
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
824
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
825 825
     /**
826 826
      *   Show table for lines
827 827
      *
@@ -836,7 +836,7 @@  discard block
 block discarded – undo
836 836
      */
837 837
     protected function _tableau(&$pdf, $tab_top, $tab_height, $nexY, $outputlangs, $hidetop = 0, $hidebottom = 0)
838 838
     {
839
-		// phpcs:enable
839
+        // phpcs:enable
840 840
         global $conf;
841 841
 
842 842
         // Force to disable hidetop and hidebottom
@@ -941,7 +941,7 @@  discard block
 block discarded – undo
941 941
         return false;
942 942
     }
943 943
 
944
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
944
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
945 945
     /**
946 946
      *  Show top header of page.
947 947
      *
@@ -953,7 +953,7 @@  discard block
 block discarded – undo
953 953
      */
954 954
     protected function _pagehead(&$pdf, $object, $showaddress, $outputlangs)
955 955
     {
956
-		// phpcs:enable
956
+        // phpcs:enable
957 957
         global $conf, $langs;
958 958
 
959 959
         $langs->load("orders");
@@ -1220,7 +1220,7 @@  discard block
 block discarded – undo
1220 1220
         return 0;
1221 1221
     }
1222 1222
 
1223
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
1223
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
1224 1224
     /**
1225 1225
      *  Show footer of page. Need this->emetteur object
1226 1226
      *
@@ -1232,7 +1232,7 @@  discard block
 block discarded – undo
1232 1232
      */
1233 1233
     protected function _pagefoot(&$pdf, $object, $outputlangs, $hidefreetext = 0)
1234 1234
     {
1235
-		// phpcs:enable
1235
+        // phpcs:enable
1236 1236
         $showdetails = getDolGlobalInt('MAIN_GENERATE_DOCUMENTS_SHOW_FOOT_DETAILS', 0);
1237 1237
         return pdf_pagefoot($pdf, $outputlangs, 'SHIPPING_FREE_TEXT', $this->emetteur, $this->marge_basse, $this->marge_gauche, $this->page_hauteur, $object, $showdetails, $hidefreetext);
1238 1238
     }
Please login to merge, or discard this patch.
htdocs/core/modules/stocktransfer/modules_stocktransfer.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 ModelePDFStockTransfer 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 modules
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 = 'stocktransfer';
55 55
         $list = array();
56 56
 
Please login to merge, or discard this patch.
htdocs/core/modules/supplier_order/modules_commandefournisseur.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@  discard block
 block discarded – undo
57 57
     public $atleastoneratenotnull = 0;
58 58
     public $atleastonediscount = 0;
59 59
 
60
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
60
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
61 61
     /**
62 62
      *  Return list of active generation models
63 63
      *
@@ -67,7 +67,7 @@  discard block
 block discarded – undo
67 67
      */
68 68
     public static function liste_modeles($db, $maxfilenamelength = 0)
69 69
     {
70
-		// phpcs:enable
70
+        // phpcs:enable
71 71
         $type = 'order_supplier';
72 72
         $list = array();
73 73
 
Please login to merge, or discard this patch.
htdocs/core/modules/supplier_order/doc/pdf_muscadet.modules.php 1 patch
Indentation   +14 added lines, -14 removed lines patch added patch discarded remove patch
@@ -158,7 +158,7 @@  discard block
 block discarded – undo
158 158
     }
159 159
 
160 160
 
161
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
161
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
162 162
     /**
163 163
      *  Function to build pdf onto disk
164 164
      *
@@ -172,7 +172,7 @@  discard block
 block discarded – undo
172 172
      */
173 173
     public function write_file($object, $outputlangs = null, $srctemplatepath = '', $hidedetails = 0, $hidedesc = 0, $hideref = 0)
174 174
     {
175
-		// phpcs:enable
175
+        // phpcs:enable
176 176
         global $user, $langs, $conf, $hookmanager, $mysoc, $nblines;
177 177
 
178 178
         if (!is_object($outputlangs)) {
@@ -702,8 +702,8 @@  discard block
 block discarded – undo
702 702
         }
703 703
     }
704 704
 
705
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
706
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
705
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
706
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
707 707
     /**
708 708
      *  Show payments table
709 709
      *
@@ -715,12 +715,12 @@  discard block
 block discarded – undo
715 715
      */
716 716
     protected function _tableau_versements(&$pdf, $object, $posy, $outputlangs)
717 717
     {
718
-		// phpcs:enable
718
+        // phpcs:enable
719 719
         return 1;
720 720
     }
721 721
 
722
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
723
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
722
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
723
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
724 724
     /**
725 725
      *   Show miscellaneous information (payment mode, payment term, ...)
726 726
      *
@@ -732,7 +732,7 @@  discard block
 block discarded – undo
732 732
      */
733 733
     protected function _tableau_info(&$pdf, $object, $posy, $outputlangs)
734 734
     {
735
-		// phpcs:enable
735
+        // phpcs:enable
736 736
         global $conf, $mysoc;
737 737
         $default_font_size = pdf_getPDFFontSize($outputlangs);
738 738
 
@@ -783,8 +783,8 @@  discard block
 block discarded – undo
783 783
         return $posy;
784 784
     }
785 785
 
786
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
787
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
786
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
787
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
788 788
     /**
789 789
      *  Show total to pay
790 790
      *
@@ -797,7 +797,7 @@  discard block
 block discarded – undo
797 797
      */
798 798
     protected function _tableau_tot(&$pdf, $object, $deja_regle, $posy, $outputlangs)
799 799
     {
800
-		// phpcs:enable
800
+        // phpcs:enable
801 801
         global $conf, $mysoc;
802 802
 
803 803
         $default_font_size = pdf_getPDFFontSize($outputlangs);
@@ -988,7 +988,7 @@  discard block
 block discarded – undo
988 988
         return ($tab2_top + ($tab2_hl * $index));
989 989
     }
990 990
 
991
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
991
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
992 992
     /**
993 993
      *   Show table for lines
994 994
      *
@@ -1088,7 +1088,7 @@  discard block
 block discarded – undo
1088 1088
         }
1089 1089
     }
1090 1090
 
1091
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
1091
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
1092 1092
     /**
1093 1093
      *  Show top header of page.
1094 1094
      *
@@ -1357,7 +1357,7 @@  discard block
 block discarded – undo
1357 1357
         return $top_shift;
1358 1358
     }
1359 1359
 
1360
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
1360
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
1361 1361
     /**
1362 1362
      *  Show footer of page. Need this->emetteur object
1363 1363
      *
Please login to merge, or discard this patch.
htdocs/core/modules/supplier_order/doc/pdf_cornas.modules.php 1 patch
Indentation   +14 added lines, -14 removed lines patch added patch discarded remove patch
@@ -133,7 +133,7 @@  discard block
 block discarded – undo
133 133
     }
134 134
 
135 135
 
136
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
136
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
137 137
     /**
138 138
      *  Function to build pdf onto disk
139 139
      *
@@ -147,7 +147,7 @@  discard block
 block discarded – undo
147 147
      */
148 148
     public function write_file($object, $outputlangs = null, $srctemplatepath = '', $hidedetails = 0, $hidedesc = 0, $hideref = 0)
149 149
     {
150
-		// phpcs:enable
150
+        // phpcs:enable
151 151
         global $user, $langs, $conf, $hookmanager, $mysoc, $nblines;
152 152
 
153 153
         if (!is_object($outputlangs)) {
@@ -823,8 +823,8 @@  discard block
 block discarded – undo
823 823
         }
824 824
     }
825 825
 
826
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
827
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
826
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
827
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
828 828
     /**
829 829
      *  Show payments table
830 830
      *
@@ -836,12 +836,12 @@  discard block
 block discarded – undo
836 836
      */
837 837
     protected function _tableau_versements(&$pdf, $object, $posy, $outputlangs)
838 838
     {
839
-		// phpcs:enable
839
+        // phpcs:enable
840 840
         return 1;
841 841
     }
842 842
 
843
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
844
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
843
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
844
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
845 845
     /**
846 846
      *   Show miscellaneous information (payment mode, payment term, ...)
847 847
      *
@@ -853,7 +853,7 @@  discard block
 block discarded – undo
853 853
      */
854 854
     protected function _tableau_info(&$pdf, $object, $posy, $outputlangs)
855 855
     {
856
-		// phpcs:enable
856
+        // phpcs:enable
857 857
         global $conf, $mysoc;
858 858
         $default_font_size = pdf_getPDFFontSize($outputlangs);
859 859
 
@@ -905,8 +905,8 @@  discard block
 block discarded – undo
905 905
         return $posy;
906 906
     }
907 907
 
908
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
909
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
908
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
909
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
910 910
     /**
911 911
      *  Show total to pay
912 912
      *
@@ -919,7 +919,7 @@  discard block
 block discarded – undo
919 919
      */
920 920
     protected function _tableau_tot(&$pdf, $object, $deja_regle, $posy, $outputlangs)
921 921
     {
922
-		// phpcs:enable
922
+        // phpcs:enable
923 923
         global $conf, $mysoc, $hookmanager;
924 924
 
925 925
         $default_font_size = pdf_getPDFFontSize($outputlangs);
@@ -1118,7 +1118,7 @@  discard block
 block discarded – undo
1118 1118
         return ($tab2_top + ($tab2_hl * $index));
1119 1119
     }
1120 1120
 
1121
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
1121
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
1122 1122
     /**
1123 1123
      *   Show table for lines
1124 1124
      *
@@ -1173,7 +1173,7 @@  discard block
 block discarded – undo
1173 1173
         }
1174 1174
     }
1175 1175
 
1176
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
1176
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
1177 1177
     /**
1178 1178
      *  Show top header of page.
1179 1179
      *
@@ -1443,7 +1443,7 @@  discard block
 block discarded – undo
1443 1443
         return $top_shift;
1444 1444
     }
1445 1445
 
1446
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
1446
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
1447 1447
     /**
1448 1448
      *      Show footer of page. Need this->emetteur object
1449 1449
      *
Please login to merge, or discard this patch.
htdocs/emailcollector/class/emailcollectoraction.class.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -361,7 +361,7 @@  discard block
 block discarded – undo
361 361
         return $this->LibStatut($this->status, $mode);
362 362
     }
363 363
 
364
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
364
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
365 365
     /**
366 366
      *  Return the status
367 367
      *
@@ -371,7 +371,7 @@  discard block
 block discarded – undo
371 371
      */
372 372
     public function LibStatut($status, $mode = 0)
373 373
     {
374
-		// phpcs:enable
374
+        // phpcs:enable
375 375
         if (empty($this->labelStatus)) {
376 376
             global $langs;
377 377
             //$langs->load("emailcollector");
Please login to merge, or discard this patch.