Passed
Push — CHECK_API ( 78ffdd...fa4f39 )
by Rafael
41:29
created
public/htdocs/core/modules/usergroup/modules_usergroup.class.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
 abstract class ModelePDFUserGroup extends CommonDocGenerator
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 = 'group';
49 49
         $list = array();
50 50
 
Please login to merge, or discard this patch.
public/htdocs/core/modules/product/doc/doc_generic_product_odt.modules.php 2 patches
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -188,7 +188,7 @@  discard block
 block discarded – undo
188 188
         return $texte;
189 189
     }
190 190
 
191
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
191
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
192 192
     /**
193 193
      *  Function to build a document on disk using the generic odt module.
194 194
      *
@@ -202,7 +202,7 @@  discard block
 block discarded – undo
202 202
      */
203 203
     public function write_file($object, $outputlangs, $srctemplatepath, $hidedetails = 0, $hidedesc = 0, $hideref = 0)
204 204
     {
205
-		// phpcs:enable
205
+        // phpcs:enable
206 206
         global $product, $langs, $conf, $mysoc, $hookmanager, $user;
207 207
 
208 208
         if (empty($srctemplatepath)) {
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -171,7 +171,7 @@
 block discarded – undo
171 171
         $maxfilesizearray = getMaxFileSizeArray();
172 172
         $maxmin = $maxfilesizearray['maxmin'];
173 173
         if ($maxmin > 0) {
174
-            $texte .= '<input type="hidden" name="MAX_FILE_SIZE" value="' . ($maxmin * 1024) . '">';    // MAX_FILE_SIZE must precede the field type=file
174
+            $texte .= '<input type="hidden" name="MAX_FILE_SIZE" value="' . ($maxmin * 1024) . '">'; // MAX_FILE_SIZE must precede the field type=file
175 175
         }
176 176
         $texte .= ' <input type="file" name="uploadfile">';
177 177
         $texte .= '<input type="hidden" value="PRODUCT_ADDON_PDF_ODT_PATH" name="keyforuploaddir">';
Please login to merge, or discard this patch.
public/htdocs/core/modules/product/doc/pdf_standard.modules.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -104,7 +104,7 @@  discard block
 block discarded – undo
104 104
     }
105 105
 
106 106
 
107
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
107
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
108 108
     /**
109 109
      *  Function to build a document on disk using the generic odt module.
110 110
      *
@@ -118,7 +118,7 @@  discard block
 block discarded – undo
118 118
      */
119 119
     public function write_file($object, $outputlangs, $srctemplatepath, $hidedetails = 0, $hidedesc = 0, $hideref = 0)
120 120
     {
121
-		// phpcs:enable
121
+        // phpcs:enable
122 122
         global $user, $langs, $conf, $mysoc, $db, $hookmanager;
123 123
 
124 124
         if (!is_object($outputlangs)) {
@@ -597,7 +597,7 @@  discard block
 block discarded – undo
597 597
         }
598 598
     }
599 599
 
600
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
600
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
601 601
     /**
602 602
      *   Show table for lines
603 603
      *
@@ -697,7 +697,7 @@  discard block
 block discarded – undo
697 697
         }
698 698
     }
699 699
 
700
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
700
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
701 701
     /**
702 702
      *  Show top header of page.
703 703
      *
@@ -863,7 +863,7 @@  discard block
 block discarded – undo
863 863
         return 0;
864 864
     }
865 865
 
866
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
866
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
867 867
     /**
868 868
      *  Show footer of page. Need this->emetteur object
869 869
      *
Please login to merge, or discard this patch.
public/htdocs/core/modules/product/mod_codeproduct_elephant.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -208,7 +208,7 @@  discard block
 block discarded – undo
208 208
     }
209 209
 
210 210
 
211
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
211
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
212 212
     /**
213 213
      *   Check if mask/numbering use prefix
214 214
      *
@@ -216,7 +216,7 @@  discard block
 block discarded – undo
216 216
      */
217 217
     public function verif_prefixIsUsed()
218 218
     {
219
-		// phpcs:enable
219
+        // phpcs:enable
220 220
         global $conf;
221 221
 
222 222
         $mask = getDolGlobalString('PRODUCT_ELEPHANT_MASK_PRODUCT');
@@ -286,7 +286,7 @@  discard block
 block discarded – undo
286 286
     }
287 287
 
288 288
 
289
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
289
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
290 290
     /**
291 291
      *  Indicate if the code is available or not (by another third party)
292 292
      *
@@ -297,7 +297,7 @@  discard block
 block discarded – undo
297 297
      */
298 298
     public function verif_dispo($db, $code, $product)
299 299
     {
300
-		// phpcs:enable
300
+        // phpcs:enable
301 301
         $sql = "SELECT ref FROM " . MAIN_DB_PREFIX . "product";
302 302
         $sql .= " WHERE ref = '" . $db->escape($code) . "'";
303 303
         if ($product->id > 0) {
Please login to merge, or discard this patch.
public/htdocs/core/modules/product/modules_product.class.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@  discard block
 block discarded – undo
38 38
  */
39 39
 abstract class ModelePDFProduct extends CommonDocGenerator
40 40
 {
41
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
41
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
42 42
     /**
43 43
      *  Return list of active generation modules
44 44
      *
@@ -48,7 +48,7 @@  discard block
 block discarded – undo
48 48
      */
49 49
     public static function liste_modeles($dbs, $maxfilenamelength = 0)
50 50
     {
51
-		// phpcs:enable
51
+        // phpcs:enable
52 52
         $type = 'product';
53 53
         $list = array();
54 54
 
@@ -76,7 +76,7 @@  discard block
 block discarded – undo
76 76
         return $langs->trans("Function_getNextValue_InModuleNotWorking");
77 77
     }
78 78
 
79
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
79
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
80 80
     /**
81 81
      *  Renvoi la liste des modeles de numérotation
82 82
      *
@@ -86,7 +86,7 @@  discard block
 block discarded – undo
86 86
      */
87 87
     public static function liste_modeles($dbs, $maxfilenamelength = 0)
88 88
     {
89
-		// phpcs:enable
89
+        // phpcs:enable
90 90
         $list = array();
91 91
         $sql = "";
92 92
 
@@ -175,7 +175,7 @@  discard block
 block discarded – undo
175 175
         return $s;
176 176
     }
177 177
 
178
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
178
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
179 179
     /**
180 180
      *   Check if mask/numbering use prefix
181 181
      *
@@ -183,7 +183,7 @@  discard block
 block discarded – undo
183 183
      */
184 184
     public function verif_prefixIsUsed()
185 185
     {
186
-		// phpcs:enable
186
+        // phpcs:enable
187 187
         return 0;
188 188
     }
189 189
 }
Please login to merge, or discard this patch.
public/htdocs/core/modules/project/modules_project.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@  discard block
 block discarded – undo
45 45
     public $description;
46 46
 
47 47
 
48
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
48
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
49 49
     /**
50 50
      *  Return list of active generation modules
51 51
      *
@@ -55,7 +55,7 @@  discard block
 block discarded – undo
55 55
      */
56 56
     public static function liste_modeles($db, $maxfilenamelength = 0)
57 57
     {
58
-		// phpcs:enable
58
+        // phpcs:enable
59 59
         $type = 'project';
60 60
         $list = array();
61 61
 
Please login to merge, or discard this patch.
public/htdocs/core/modules/project/doc/pdf_baleine.modules.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -136,7 +136,7 @@  discard block
 block discarded – undo
136 136
     }
137 137
 
138 138
 
139
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
139
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
140 140
     /**
141 141
      *  Function to build pdf project onto disk
142 142
      *
@@ -146,7 +146,7 @@  discard block
 block discarded – undo
146 146
      */
147 147
     public function write_file($object, $outputlangs)
148 148
     {
149
-		// phpcs:enable
149
+        // phpcs:enable
150 150
         global $conf, $hookmanager, $langs, $user;
151 151
 
152 152
         if (!is_object($outputlangs)) {
@@ -501,7 +501,7 @@  discard block
 block discarded – undo
501 501
         }
502 502
     }
503 503
 
504
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
504
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
505 505
     /**
506 506
      *   Show table for lines
507 507
      *
@@ -554,7 +554,7 @@  discard block
 block discarded – undo
554 554
         $pdf->MultiCell($this->page_largeur - $this->marge_droite - $this->posxdateend, 3, $outputlangs->trans("End"), 0, 'C');
555 555
     }
556 556
 
557
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
557
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
558 558
     /**
559 559
      *  Show top header of page.
560 560
      *
@@ -648,7 +648,7 @@  discard block
 block discarded – undo
648 648
         return 0;
649 649
     }
650 650
 
651
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
651
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
652 652
     /**
653 653
      *  Show footer of page. Need this->emetteur object
654 654
      *
Please login to merge, or discard this patch.
public/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.
public/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.