Passed
Push — EXTRACT_CLASSES ( a2ff75...ae6b5c )
by Rafael
34:15
created
public/htdocs/core/modules/mrp/modules_mo.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 ModelePDFMo 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 = 'mrp';
55 55
         $list = array();
56 56
 
Please login to merge, or discard this patch.
public/htdocs/core/modules/bank/doc/pdf_ban.modules.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -97,7 +97,7 @@  discard block
 block discarded – undo
97 97
     }
98 98
 
99 99
 
100
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
100
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
101 101
     /**
102 102
      *  Fonction generant le projet sur le disque
103 103
      *
@@ -107,7 +107,7 @@  discard block
 block discarded – undo
107 107
      */
108 108
     public function write_file($object, $outputlangs)
109 109
     {
110
-		// phpcs:enable
110
+        // phpcs:enable
111 111
         global $conf, $hookmanager, $langs, $user;
112 112
 
113 113
         if (!is_object($outputlangs)) {
@@ -274,7 +274,7 @@  discard block
 block discarded – undo
274 274
     }
275 275
 
276 276
 
277
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
277
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
278 278
     /**
279 279
      *   Show table for lines
280 280
      *
@@ -289,13 +289,13 @@  discard block
 block discarded – undo
289 289
      */
290 290
     protected function _tableau(&$pdf, $tab_top, $tab_height, $nexY, $outputlangs, $hidetop = 0, $hidebottom = 0)
291 291
     {
292
-		// phpcs:enable
292
+        // phpcs:enable
293 293
         global $conf, $mysoc;
294 294
 
295 295
         $default_font_size = pdf_getPDFFontSize($outputlangs);
296 296
     }
297 297
 
298
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
298
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
299 299
     /**
300 300
      *  Show top header of page.
301 301
      *
@@ -308,7 +308,7 @@  discard block
 block discarded – undo
308 308
     protected function _pagehead(&$pdf, $object, $showaddress, $outputlangs)
309 309
     {
310 310
         global $langs, $conf, $mysoc;
311
-		// phpcs:enable
311
+        // phpcs:enable
312 312
 
313 313
         $default_font_size = pdf_getPDFFontSize($outputlangs);
314 314
 
@@ -382,7 +382,7 @@  discard block
 block discarded – undo
382 382
         return 0;
383 383
     }
384 384
 
385
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
385
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
386 386
     /**
387 387
      *      Show footer of page. Need this->emetteur object
388 388
      *
@@ -394,7 +394,7 @@  discard block
 block discarded – undo
394 394
      */
395 395
     protected function _pagefoot(&$pdf, $object, $outputlangs, $hidefreetext = 0)
396 396
     {
397
-		// phpcs:enable
397
+        // phpcs:enable
398 398
         global $conf;
399 399
 
400 400
         $showdetails = !getDolGlobalString('MAIN_GENERATE_DOCUMENTS_SHOW_FOOT_DETAILS') ? 0 : $conf->global->MAIN_GENERATE_DOCUMENTS_SHOW_FOOT_DETAILS;
Please login to merge, or discard this patch.
public/htdocs/core/modules/bank/doc/pdf_sepamandate.modules.php 1 patch
Indentation   +14 added lines, -14 removed lines patch added patch discarded remove patch
@@ -114,7 +114,7 @@  discard block
 block discarded – undo
114 114
         $this->heightforfooter = $this->marge_basse + 8;
115 115
     }
116 116
 
117
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
117
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
118 118
     /**
119 119
      *  Function to create pdf of company bank account sepa mandate
120 120
      *
@@ -129,7 +129,7 @@  discard block
 block discarded – undo
129 129
      */
130 130
     public function write_file($object, $outputlangs, $srctemplatepath = '', $hidedetails = 0, $hidedesc = 0, $hideref = 0, $moreparams = null)
131 131
     {
132
-		// phpcs:enable
132
+        // phpcs:enable
133 133
         global $conf, $hookmanager, $langs, $user, $mysoc;
134 134
 
135 135
         if (!$object instanceof CompanyBankAccount) {
@@ -476,7 +476,7 @@  discard block
 block discarded – undo
476 476
     }
477 477
 
478 478
 
479
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
479
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
480 480
     /**
481 481
      *   Show table for lines
482 482
      *
@@ -491,15 +491,15 @@  discard block
 block discarded – undo
491 491
      */
492 492
     protected function _tableau(&$pdf, $tab_top, $tab_height, $nexY, $outputlangs, $hidetop = 0, $hidebottom = 0)
493 493
     {
494
-		// phpcs:enable
494
+        // phpcs:enable
495 495
         global $conf, $mysoc;
496 496
 
497 497
         $default_font_size = pdf_getPDFFontSize($outputlangs);
498 498
     }
499 499
 
500 500
 
501
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
502
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
501
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
502
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
503 503
     /**
504 504
      *   Show miscellaneous information (payment mode, payment term, ...)
505 505
      *
@@ -511,7 +511,7 @@  discard block
 block discarded – undo
511 511
      */
512 512
     protected function _tableau_info(&$pdf, $object, $posy, $outputlangs)
513 513
     {
514
-		// phpcs:enable
514
+        // phpcs:enable
515 515
         global $conf, $mysoc;
516 516
 
517 517
         $default_font_size = pdf_getPDFFontSize($outputlangs);
@@ -535,8 +535,8 @@  discard block
 block discarded – undo
535 535
     }
536 536
 
537 537
 
538
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
539
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
538
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
539
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
540 540
     /**
541 541
      *  Show area for the customer to sign
542 542
      *
@@ -548,7 +548,7 @@  discard block
 block discarded – undo
548 548
      */
549 549
     protected function _signature_area(&$pdf, $object, $posy, $outputlangs)
550 550
     {
551
-		// phpcs:enable
551
+        // phpcs:enable
552 552
         $default_font_size = pdf_getPDFFontSize($outputlangs);
553 553
         $tab_top = $posy + 4;
554 554
         $tab_hl = 4;
@@ -577,7 +577,7 @@  discard block
 block discarded – undo
577 577
     }
578 578
 
579 579
 
580
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
580
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
581 581
     /**
582 582
      *  Show top header of page.
583 583
      *
@@ -589,7 +589,7 @@  discard block
 block discarded – undo
589 589
      */
590 590
     protected function _pagehead(&$pdf, $object, $showaddress, $outputlangs)
591 591
     {
592
-		// phpcs:enable
592
+        // phpcs:enable
593 593
         global $langs, $conf, $mysoc;
594 594
 
595 595
         $default_font_size = pdf_getPDFFontSize($outputlangs);
@@ -670,7 +670,7 @@  discard block
 block discarded – undo
670 670
         return 0;
671 671
     }
672 672
 
673
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
673
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
674 674
     /**
675 675
      *  Show footer of page. Need this->emetteur object
676 676
      *
@@ -682,7 +682,7 @@  discard block
 block discarded – undo
682 682
      */
683 683
     protected function _pagefoot(&$pdf, $object, $outputlangs, $hidefreetext = 0)
684 684
     {
685
-		// phpcs:enable
685
+        // phpcs:enable
686 686
         $showdetails = getDolGlobalInt('MAIN_GENERATE_DOCUMENTS_SHOW_FOOT_DETAILS', 0);
687 687
         return pdf_pagefoot($pdf, $outputlangs, 'PAYMENTORDER_FREE_TEXT', null, $this->marge_basse, $this->marge_gauche, $this->page_hauteur, $object, $showdetails, $hidefreetext);
688 688
     }
Please login to merge, or discard this patch.
public/htdocs/core/modules/bank/modules_bank.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@  discard block
 block discarded – undo
35 35
  */
36 36
 abstract class ModeleBankAccountDoc extends CommonDocGenerator
37 37
 {
38
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
38
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
39 39
     /**
40 40
      *  Return list of active generation modules
41 41
      *
@@ -45,7 +45,7 @@  discard block
 block discarded – undo
45 45
      */
46 46
     public static function liste_modeles($db, $maxfilenamelength = 0)
47 47
     {
48
-		// phpcs:enable
48
+        // phpcs:enable
49 49
         $type = 'bankaccount';
50 50
         $list = array();
51 51
 
@@ -55,7 +55,7 @@  discard block
 block discarded – undo
55 55
         return $list;
56 56
     }
57 57
 
58
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
58
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
59 59
     /**
60 60
      *  Write the document to disk
61 61
      *
@@ -64,5 +64,5 @@  discard block
 block discarded – undo
64 64
      *  @return int                         1 if OK, <=0 if KO
65 65
      */
66 66
     abstract public function write_file($object, $outputlangs);
67
-	// phpcs:enable
67
+    // phpcs:enable
68 68
 }
Please login to merge, or discard this patch.
public/htdocs/core/modules/holiday/modules_holiday.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 ModelePDFHoliday 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 = 'holiday';
55 55
         $list = array();
56 56
 
Please login to merge, or discard this patch.
public/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/doc_generic_shipment_odt.modules.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -195,7 +195,7 @@  discard block
 block discarded – undo
195 195
         return $texte;
196 196
     }
197 197
 
198
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
198
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
199 199
     /**
200 200
      *  Function to build a document on disk using the generic odt module.
201 201
      *
@@ -209,7 +209,7 @@  discard block
 block discarded – undo
209 209
      */
210 210
     public function write_file($object, $outputlangs, $srctemplatepath, $hidedetails = 0, $hidedesc = 0, $hideref = 0)
211 211
     {
212
-		// phpcs:enable
212
+        // phpcs:enable
213 213
         global $user, $langs, $conf, $mysoc, $hookmanager;
214 214
 
215 215
         if (empty($srctemplatepath)) {
Please login to merge, or discard this patch.
public/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.
public/htdocs/core/modules/expedition/doc/pdf_rouget.modules.php 1 patch
Indentation   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -146,7 +146,7 @@  discard block
 block discarded – undo
146 146
         }
147 147
     }
148 148
 
149
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
149
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
150 150
     /**
151 151
      *  Function to build pdf onto disk
152 152
      *
@@ -160,7 +160,7 @@  discard block
 block discarded – undo
160 160
      */
161 161
     public function write_file($object, $outputlangs, $srctemplatepath = '', $hidedetails = 0, $hidedesc = 0, $hideref = 0)
162 162
     {
163
-		// phpcs:enable
163
+        // phpcs:enable
164 164
         global $user, $conf, $langs, $hookmanager;
165 165
 
166 166
         $object->fetch_thirdparty();
@@ -695,8 +695,8 @@  discard block
 block discarded – undo
695 695
         }
696 696
     }
697 697
 
698
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
699
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
698
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
699
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
700 700
     /**
701 701
      *  Show total to pay
702 702
      *
@@ -709,7 +709,7 @@  discard block
 block discarded – undo
709 709
      */
710 710
     protected function _tableau_tot(&$pdf, $object, $deja_regle, $posy, $outputlangs)
711 711
     {
712
-		// phpcs:enable
712
+        // phpcs:enable
713 713
         global $conf, $mysoc;
714 714
 
715 715
         $sign = 1;
@@ -811,7 +811,7 @@  discard block
 block discarded – undo
811 811
         return ($tab2_top + ($tab2_hl * $index));
812 812
     }
813 813
 
814
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
814
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
815 815
     /**
816 816
      *   Show table for lines
817 817
      *
@@ -826,7 +826,7 @@  discard block
 block discarded – undo
826 826
      */
827 827
     protected function _tableau(&$pdf, $tab_top, $tab_height, $nexY, $outputlangs, $hidetop = 0, $hidebottom = 0)
828 828
     {
829
-		// phpcs:enable
829
+        // phpcs:enable
830 830
         global $conf;
831 831
 
832 832
         // Force to disable hidetop and hidebottom
@@ -894,7 +894,7 @@  discard block
 block discarded – undo
894 894
         }
895 895
     }
896 896
 
897
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
897
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
898 898
     /**
899 899
      *  Show top header of page.
900 900
      *
@@ -906,7 +906,7 @@  discard block
 block discarded – undo
906 906
      */
907 907
     protected function _pagehead(&$pdf, $object, $showaddress, $outputlangs)
908 908
     {
909
-		// phpcs:enable
909
+        // phpcs:enable
910 910
         global $conf, $langs, $mysoc;
911 911
 
912 912
         $langs->load("orders");
@@ -1145,7 +1145,7 @@  discard block
 block discarded – undo
1145 1145
         return $top_shift;
1146 1146
     }
1147 1147
 
1148
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
1148
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
1149 1149
     /**
1150 1150
      *  Show footer of page. Need this->emetteur object
1151 1151
      *
Please login to merge, or discard this patch.