Test Failed
Push — main ( c8394f...8477f1 )
by Rafael
66:21
created
public/htdocs/core/modules/commande/modules_commande.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -59,7 +59,7 @@  discard block
 block discarded – undo
59 59
     public $atleastonediscount = 0;
60 60
 
61 61
 
62
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
62
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
63 63
     /**
64 64
      *  Return list of active generation modules
65 65
      *
@@ -69,7 +69,7 @@  discard block
 block discarded – undo
69 69
      */
70 70
     public static function liste_modeles($db, $maxfilenamelength = 0)
71 71
     {
72
-		// phpcs:enable
72
+        // phpcs:enable
73 73
         $type = 'order';
74 74
         $list = array();
75 75
 
Please login to merge, or discard this patch.
public/htdocs/core/modules/supplier_payment/modules_supplier_payment.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@  discard block
 block discarded – undo
26 26
  */
27 27
 abstract class ModelePDFSuppliersPayments extends CommonDocGenerator
28 28
 {
29
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
29
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
30 30
     /**
31 31
      *  Return list of active generation models
32 32
      *
@@ -36,7 +36,7 @@  discard block
 block discarded – undo
36 36
      */
37 37
     public static function liste_modeles($db, $maxfilenamelength = 0)
38 38
     {
39
-		// phpcs:enable
39
+        // phpcs:enable
40 40
         $type = 'supplier_payment';
41 41
         $list = array();
42 42
 
Please login to merge, or discard this patch.
public/htdocs/core/modules/supplier_payment/doc/pdf_standard.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 = null, $srctemplatepath = '', $hidedetails = 0, $hidedesc = 0, $hideref = 0)
160 160
     {
161
-		// phpcs:enable
161
+        // phpcs:enable
162 162
         global $user, $langs, $conf, $mysoc, $hookmanager;
163 163
 
164 164
         if (!is_object($outputlangs)) {
@@ -481,8 +481,8 @@  discard block
 block discarded – undo
481 481
         }
482 482
     }
483 483
 
484
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
485
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
484
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
485
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
486 486
     /**
487 487
      *  Show total to pay
488 488
      *
@@ -494,7 +494,7 @@  discard block
 block discarded – undo
494 494
      */
495 495
     protected function _tableau_cheque(&$pdf, $object, $posy, $outputlangs)
496 496
     {
497
-		// phpcs:enable
497
+        // phpcs:enable
498 498
         global $conf, $mysoc;
499 499
 
500 500
         $default_font_size = pdf_getPDFFontSize($outputlangs);
@@ -544,7 +544,7 @@  discard block
 block discarded – undo
544 544
         return $posy;
545 545
     }
546 546
 
547
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
547
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
548 548
     /**
549 549
      *   Show table for lines
550 550
      *
@@ -591,7 +591,7 @@  discard block
 block discarded – undo
591 591
         //$this->printRect($pdf,$this->marge_gauche, $tab_top, $this->page_largeur-$this->marge_gauche-$this->marge_droite, $tab_height, $hidetop, $hidebottom);    // Rect takes a length in 3rd parameter and 4th parameter
592 592
     }
593 593
 
594
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
594
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
595 595
     /**
596 596
      *  Show top header of page.
597 597
      *
@@ -807,7 +807,7 @@  discard block
 block discarded – undo
807 807
         return 0;
808 808
     }
809 809
 
810
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
810
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
811 811
     /**
812 812
      *      Show footer of page. Need this->emetteur object
813 813
      *
Please login to merge, or discard this patch.
public/htdocs/core/modules/barcode/mod_barcode_thirdparty_standard.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -273,7 +273,7 @@  discard block
 block discarded – undo
273 273
     }
274 274
 
275 275
 
276
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
276
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
277 277
     /**
278 278
      *  Return if a code is used (by other element)
279 279
      *
@@ -284,7 +284,7 @@  discard block
 block discarded – undo
284 284
      */
285 285
     public function verif_dispo($db, $code, $thirdparty)
286 286
     {
287
-		// phpcs:enable
287
+        // phpcs:enable
288 288
         $sql = "SELECT barcode FROM " . MAIN_DB_PREFIX . "societe";
289 289
         $sql .= " WHERE barcode = '" . $db->escape($code) . "'";
290 290
         if ($thirdparty->id > 0) {
@@ -303,7 +303,7 @@  discard block
 block discarded – undo
303 303
         }
304 304
     }
305 305
 
306
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
306
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
307 307
     /**
308 308
      *  Return if a barcode value match syntax
309 309
      *
@@ -313,7 +313,7 @@  discard block
 block discarded – undo
313 313
      */
314 314
     public function verif_syntax($codefortest, $typefortest)
315 315
     {
316
-		// phpcs:enable
316
+        // phpcs:enable
317 317
         global $conf;
318 318
 
319 319
         $result = 0;
Please login to merge, or discard this patch.
public/htdocs/core/modules/barcode/mod_barcode_product_standard.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -269,7 +269,7 @@  discard block
 block discarded – undo
269 269
     }
270 270
 
271 271
 
272
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
272
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
273 273
     /**
274 274
      *  Return if a code is used (by other element)
275 275
      *
@@ -280,7 +280,7 @@  discard block
 block discarded – undo
280 280
      */
281 281
     public function verif_dispo($db, $code, $product)
282 282
     {
283
-		// phpcs:enable
283
+        // phpcs:enable
284 284
         $sql = "SELECT barcode FROM " . MAIN_DB_PREFIX . "product";
285 285
         $sql .= " WHERE barcode = '" . $db->escape($code) . "'";
286 286
         $sql .= " AND entity IN (" . getEntity('product') . ")";
@@ -301,7 +301,7 @@  discard block
 block discarded – undo
301 301
         }
302 302
     }
303 303
 
304
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
304
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
305 305
     /**
306 306
      *  Return if a barcode value match syntax
307 307
      *
@@ -311,7 +311,7 @@  discard block
 block discarded – undo
311 311
      */
312 312
     public function verif_syntax($codefortest, $typefortest)
313 313
     {
314
-		// phpcs:enable
314
+        // phpcs:enable
315 315
         global $conf;
316 316
 
317 317
         $result = 0;
Please login to merge, or discard this patch.
public/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.
public/htdocs/core/modules/stocktransfer/doc/pdf_eagle.modules.php 1 patch
Indentation   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -165,7 +165,7 @@  discard block
 block discarded – undo
165 165
         }*/
166 166
     }
167 167
 
168
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
168
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
169 169
     /**
170 170
      *  Function to build pdf onto disk
171 171
      *
@@ -179,7 +179,7 @@  discard block
 block discarded – undo
179 179
      */
180 180
     public function write_file($object, $outputlangs, $srctemplatepath = '', $hidedetails = 0, $hidedesc = 0, $hideref = 0)
181 181
     {
182
-		// phpcs:enable
182
+        // phpcs:enable
183 183
         global $user, $conf, $langs, $hookmanager;
184 184
 
185 185
         $object->fetch_thirdparty();
@@ -762,8 +762,8 @@  discard block
 block discarded – undo
762 762
         }
763 763
     }
764 764
 
765
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
766
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
765
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
766
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
767 767
     /**
768 768
      *  Show total to pay
769 769
      *
@@ -776,7 +776,7 @@  discard block
 block discarded – undo
776 776
      */
777 777
     protected function _tableau_tot(&$pdf, $object, $deja_regle, $posy, $outputlangs)
778 778
     {
779
-		// phpcs:enable
779
+        // phpcs:enable
780 780
         $default_font_size = pdf_getPDFFontSize($outputlangs);
781 781
 
782 782
         $tab2_top = $posy;
@@ -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
      *
@@ -891,7 +891,7 @@  discard block
 block discarded – undo
891 891
      */
892 892
     protected function _tableau(&$pdf, $tab_top, $tab_height, $nexY, $outputlangs, $hidetop = 0, $hidebottom = 0)
893 893
     {
894
-		// phpcs:enable
894
+        // phpcs:enable
895 895
         global $conf;
896 896
 
897 897
         // Force to disable hidetop and hidebottom
@@ -997,7 +997,7 @@  discard block
 block discarded – undo
997 997
         return false;
998 998
     }
999 999
 
1000
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
1000
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
1001 1001
     /**
1002 1002
      *  Show top header of page.
1003 1003
      *
@@ -1009,7 +1009,7 @@  discard block
 block discarded – undo
1009 1009
      */
1010 1010
     protected function _pagehead(&$pdf, $object, $showaddress, $outputlangs)
1011 1011
     {
1012
-		// phpcs:enable
1012
+        // phpcs:enable
1013 1013
         global $conf, $langs;
1014 1014
 
1015 1015
         $langs->load("orders");
@@ -1260,7 +1260,7 @@  discard block
 block discarded – undo
1260 1260
         return $top_shift;
1261 1261
     }
1262 1262
 
1263
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
1263
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
1264 1264
     /**
1265 1265
      *  Show footer of page. Need this->emetteur object
1266 1266
      *
@@ -1272,7 +1272,7 @@  discard block
 block discarded – undo
1272 1272
      */
1273 1273
     protected function _pagefoot(&$pdf, $object, $outputlangs, $hidefreetext = 0)
1274 1274
     {
1275
-		// phpcs:enable
1275
+        // phpcs:enable
1276 1276
         $showdetails = getDolGlobalInt('MAIN_GENERATE_DOCUMENTS_SHOW_FOOT_DETAILS', 0);
1277 1277
         return pdf_pagefoot($pdf, $outputlangs, 'SHIPPING_FREE_TEXT', $this->emetteur, $this->marge_basse, $this->marge_gauche, $this->page_hauteur, $object, $showdetails, $hidefreetext);
1278 1278
     }
Please login to merge, or discard this patch.
public/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.
public/htdocs/core/modules/action/modules_action.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@  discard block
 block discarded – undo
34 34
      */
35 35
     public $error = '';
36 36
 
37
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
37
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
38 38
     /**
39 39
      *  Return list of active generation modules
40 40
      *
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
      */
45 45
     public static function liste_modeles($db, $maxfilenamelength = 0)
46 46
     {
47
-		// phpcs:enable
47
+        // phpcs:enable
48 48
         $type = 'action';
49 49
         $list = array();
50 50
 
Please login to merge, or discard this patch.