Passed
Push — main ( 55273f...7ed502 )
by Rafael
46:12
created
htdocs/core/modules/project/doc/pdf_timespent.modules.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -131,7 +131,7 @@  discard block
 block discarded – undo
131 131
     }
132 132
 
133 133
 
134
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
134
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
135 135
     /**
136 136
      *  Function to build pdf project onto disk
137 137
      *
@@ -141,7 +141,7 @@  discard block
 block discarded – undo
141 141
      */
142 142
     public function write_file($object, $outputlangs)
143 143
     {
144
-		// phpcs:enable
144
+        // phpcs:enable
145 145
         global $conf, $hookmanager, $langs, $user;
146 146
 
147 147
         if (!is_object($outputlangs)) {
@@ -499,7 +499,7 @@  discard block
 block discarded – undo
499 499
         }
500 500
     }
501 501
 
502
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
502
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
503 503
     /**
504 504
      *   Show table for lines
505 505
      *
@@ -547,7 +547,7 @@  discard block
 block discarded – undo
547 547
         $pdf->MultiCell($this->page_largeur - $this->marge_droite - $this->posxuser, 3, '', 0, 'C');
548 548
     }
549 549
 
550
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
550
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
551 551
     /**
552 552
      *  Show top header of page.
553 553
      *
@@ -639,7 +639,7 @@  discard block
 block discarded – undo
639 639
         return 0;
640 640
     }
641 641
 
642
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
642
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
643 643
     /**
644 644
      *  Show footer of page. Need this->emetteur object
645 645
      *
Please login to merge, or discard this patch.
htdocs/core/modules/project/doc/pdf_beluga.modules.php 1 patch
Indentation   +5 added lines, -5 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
      *  Fonction generant le projet sur le disque
171 171
      *
@@ -175,7 +175,7 @@  discard block
 block discarded – undo
175 175
      */
176 176
     public function write_file($object, $outputlangs)
177 177
     {
178
-		// phpcs:enable
178
+        // phpcs:enable
179 179
         global $conf, $hookmanager, $langs, $user;
180 180
 
181 181
         $formproject = new FormProjets($this->db);
@@ -733,7 +733,7 @@  discard block
 block discarded – undo
733 733
         }
734 734
     }
735 735
 
736
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
736
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
737 737
     /**
738 738
      *   Show table for lines
739 739
      *
@@ -764,7 +764,7 @@  discard block
 block discarded – undo
764 764
         $pdf->SetFont('', '', $default_font_size);
765 765
     }
766 766
 
767
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
767
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
768 768
     /**
769 769
      *  Show top header of page.
770 770
      *
@@ -832,7 +832,7 @@  discard block
 block discarded – undo
832 832
         return 0;
833 833
     }
834 834
 
835
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
835
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
836 836
     /**
837 837
      *  Show footer of page. Need this->emetteur object
838 838
      *
Please login to merge, or discard this patch.
htdocs/core/modules/expensereport/modules_expensereport.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@  discard block
 block discarded – undo
25 25
  */
26 26
 abstract class ModeleExpenseReport extends CommonDocGenerator
27 27
 {
28
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
28
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
29 29
     /**
30 30
      *  Return list of active models generation
31 31
      *
@@ -35,7 +35,7 @@  discard block
 block discarded – undo
35 35
      */
36 36
     public static function liste_modeles($db, $maxfilenamelength = 0)
37 37
     {
38
-		// phpcs:enable
38
+        // phpcs:enable
39 39
         $type = 'expensereport';
40 40
         $list = array();
41 41
 
Please login to merge, or discard this patch.
htdocs/core/modules/expensereport/doc/pdf_standard.modules.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -174,7 +174,7 @@  discard block
 block discarded – undo
174 174
     }
175 175
 
176 176
 
177
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
177
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
178 178
     /**
179 179
      *  Function to build pdf onto disk
180 180
      *
@@ -188,7 +188,7 @@  discard block
 block discarded – undo
188 188
      */
189 189
     public function write_file($object, $outputlangs, $srctemplatepath = '', $hidedetails = 0, $hidedesc = 0, $hideref = 0)
190 190
     {
191
-		// phpcs:enable
191
+        // phpcs:enable
192 192
         global $user, $langs, $conf, $mysoc, $db, $hookmanager;
193 193
 
194 194
         if (!is_object($outputlangs)) {
@@ -635,7 +635,7 @@  discard block
 block discarded – undo
635 635
         $pdf->writeHTMLCell($this->posxtva - $this->posxcomment - 0.8, 4, $this->posxcomment - 1, $curY, $comment, 0, 1);
636 636
     }
637 637
 
638
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
638
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
639 639
     /**
640 640
      *  Show top header of page.
641 641
      *
@@ -880,7 +880,7 @@  discard block
 block discarded – undo
880 880
         return 0;
881 881
     }
882 882
 
883
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
883
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
884 884
     /**
885 885
      *   Show table for lines
886 886
      *
@@ -1114,7 +1114,7 @@  discard block
 block discarded – undo
1114 1114
         return -1;
1115 1115
     }
1116 1116
 
1117
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
1117
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
1118 1118
     /**
1119 1119
      *  Show footer of page. Need this->emetteur object
1120 1120
      *
Please login to merge, or discard this patch.
htdocs/core/modules/bom/modules_bom.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 ModelePDFBom 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 = 'bom';
55 55
         $list = array();
56 56
 
Please login to merge, or discard this patch.
htdocs/core/modules/workstation/modules_workstation.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 ModelePDFWorkstation 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 = 'workstation';
55 55
         $list = array();
56 56
 
Please login to merge, or discard this patch.
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.
htdocs/core/modules/mrp/doc/pdf_vinci.modules.php 1 patch
Indentation   +14 added lines, -14 removed lines patch added patch discarded remove patch
@@ -121,7 +121,7 @@  discard block
 block discarded – undo
121 121
     }
122 122
 
123 123
 
124
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
124
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
125 125
     /**
126 126
      *  Function to build pdf onto disk
127 127
      *
@@ -135,7 +135,7 @@  discard block
 block discarded – undo
135 135
      */
136 136
     public function write_file($object, $outputlangs = null, $srctemplatepath = '', $hidedetails = 0, $hidedesc = 0, $hideref = 0)
137 137
     {
138
-		// phpcs:enable
138
+        // phpcs:enable
139 139
         global $user, $langs, $conf, $hookmanager, $mysoc;
140 140
 
141 141
         if (!is_object($outputlangs)) {
@@ -652,8 +652,8 @@  discard block
 block discarded – undo
652 652
         }
653 653
     }
654 654
 
655
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
656
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
655
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
656
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
657 657
     /**
658 658
      *  Show payments table
659 659
      *
@@ -665,12 +665,12 @@  discard block
 block discarded – undo
665 665
      */
666 666
     protected function _tableau_versements(&$pdf, $object, $posy, $outputlangs)
667 667
     {
668
-		// phpcs:enable
668
+        // phpcs:enable
669 669
         return 1;
670 670
     }
671 671
 
672
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
673
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
672
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
673
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
674 674
     /**
675 675
      *   Show miscellaneous information (payment mode, payment term, ...)
676 676
      *
@@ -682,7 +682,7 @@  discard block
 block discarded – undo
682 682
      */
683 683
     protected function _tableau_info(&$pdf, $object, $posy, $outputlangs)
684 684
     {
685
-		// phpcs:enable
685
+        // phpcs:enable
686 686
         global $conf, $mysoc;
687 687
         $default_font_size = pdf_getPDFFontSize($outputlangs);
688 688
 
@@ -732,8 +732,8 @@  discard block
 block discarded – undo
732 732
         return $posy;
733 733
     }
734 734
 
735
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
736
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
735
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
736
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
737 737
     /**
738 738
      *  Show total to pay
739 739
      *
@@ -746,7 +746,7 @@  discard block
 block discarded – undo
746 746
      */
747 747
     protected function _tableau_tot(&$pdf, $object, $deja_regle, $posy, $outputlangs)
748 748
     {
749
-		// phpcs:enable
749
+        // phpcs:enable
750 750
         global $conf, $mysoc;
751 751
 
752 752
         $default_font_size = pdf_getPDFFontSize($outputlangs);
@@ -937,7 +937,7 @@  discard block
 block discarded – undo
937 937
         return ($tab2_top + ($tab2_hl * $index));
938 938
     }
939 939
 
940
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
940
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
941 941
     /**
942 942
      *   Show table for lines
943 943
      *
@@ -1012,7 +1012,7 @@  discard block
 block discarded – undo
1012 1012
         }
1013 1013
     }
1014 1014
 
1015
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
1015
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
1016 1016
     /**
1017 1017
      *  Show top header of page.
1018 1018
      *
@@ -1307,7 +1307,7 @@  discard block
 block discarded – undo
1307 1307
         return $top_shift;
1308 1308
     }
1309 1309
 
1310
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
1310
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
1311 1311
     /**
1312 1312
      *      Show footer of page. Need this->emetteur object
1313 1313
      *
Please login to merge, or discard this patch.
htdocs/core/modules/product_batch/modules_product_batch.class.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@  discard block
 block discarded – undo
41 41
  */
42 42
 abstract class ModelePDFProductBatch extends CommonDocGenerator
43 43
 {
44
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
44
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
45 45
     /**
46 46
      *  Return list of active generation modules
47 47
      *
@@ -51,7 +51,7 @@  discard block
 block discarded – undo
51 51
      */
52 52
     public static function liste_modeles($db, $maxfilenamelength = 0)
53 53
     {
54
-		// phpcs:enable
54
+        // phpcs:enable
55 55
         $type = 'product_batch';
56 56
         $list = array();
57 57
 
Please login to merge, or discard this patch.