Test Failed
Push — main ( 94e8c4...1be143 )
by Rafael
44:08
created
htdocs/product/stock/stocktransfer/class/stocktransferline.class.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -855,7 +855,7 @@  discard block
 block discarded – undo
855 855
         return $this->LibStatut($this->status, $mode);
856 856
     }
857 857
 
858
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
858
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
859 859
     /**
860 860
      *  Return the status
861 861
      *
@@ -865,7 +865,7 @@  discard block
 block discarded – undo
865 865
      */
866 866
     public function LibStatut($status, $mode = 0)
867 867
     {
868
-		// phpcs:enable
868
+        // phpcs:enable
869 869
         if (empty($this->labelStatus) || empty($this->labelStatusShort)) {
870 870
             global $langs;
871 871
             //$langs->load("stocktransfer@stocktransfer");
Please login to merge, or discard this patch.
modules/recruitment/doc/doc_generic_recruitmentjobposition_odt.modules.php 2 patches
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -206,7 +206,7 @@  discard block
 block discarded – undo
206 206
         return $texte;
207 207
     }
208 208
 
209
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
209
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
210 210
     /**
211 211
      *  Function to build a document on disk using the generic odt module.
212 212
      *
@@ -220,7 +220,7 @@  discard block
 block discarded – undo
220 220
      */
221 221
     public function write_file($object, $outputlangs, $srctemplatepath, $hidedetails = 0, $hidedesc = 0, $hideref = 0)
222 222
     {
223
-		// phpcs:enable
223
+        // phpcs:enable
224 224
         global $user, $langs, $conf, $mysoc, $hookmanager;
225 225
         global $action;
226 226
 
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -188,7 +188,7 @@
 block discarded – undo
188 188
         $maxfilesizearray = getMaxFileSizeArray();
189 189
         $maxmin = $maxfilesizearray['maxmin'];
190 190
         if ($maxmin > 0) {
191
-            $texte .= '<input type="hidden" name="MAX_FILE_SIZE" value="' . ($maxmin * 1024) . '">';    // MAX_FILE_SIZE must precede the field type=file
191
+            $texte .= '<input type="hidden" name="MAX_FILE_SIZE" value="' . ($maxmin * 1024) . '">'; // MAX_FILE_SIZE must precede the field type=file
192 192
         }
193 193
         $texte .= ' <input type="file" name="uploadfile">';
194 194
         $texte .= '<input type="hidden" value="RECRUITMENT_RECRUITMENTJOBPOSITION_ADDON_PDF_ODT_PATH" name="keyforuploaddir">';
Please login to merge, or discard this patch.
htdocs/hrm/class/establishment.class.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -638,7 +638,7 @@  discard block
 block discarded – undo
638 638
         return $this->LibStatut($this->status, $mode);
639 639
     }
640 640
 
641
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
641
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
642 642
     /**
643 643
      *  Return the status
644 644
      *
@@ -648,7 +648,7 @@  discard block
 block discarded – undo
648 648
      */
649 649
     public function LibStatut($status, $mode = 0)
650 650
     {
651
-		// phpcs:enable
651
+        // phpcs:enable
652 652
         if (empty($this->labelStatus) || empty($this->labelStatusShort)) {
653 653
             global $langs;
654 654
             //$langs->load("mymodule");
Please login to merge, or discard this patch.
htdocs/hrm/class/skillrank.class.php 2 patches
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -786,7 +786,7 @@  discard block
 block discarded – undo
786 786
         return $this->LibStatut($this->status, $mode);
787 787
     }
788 788
 
789
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
789
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
790 790
     /**
791 791
      *  Return the status
792 792
      *
@@ -796,7 +796,7 @@  discard block
 block discarded – undo
796 796
      */
797 797
     public function LibStatut($status, $mode = 0)
798 798
     {
799
-		// phpcs:enable
799
+        // phpcs:enable
800 800
         if (empty($this->labelStatus) || empty($this->labelStatusShort)) {
801 801
             global $langs;
802 802
             //$langs->load("hrm");
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -383,13 +383,13 @@
 block discarded – undo
383 383
         global $user;
384 384
 
385 385
         $this->fk_skill         = $currentSkill->fk_skill;
386
-        $this->rankorder            = $currentSkill->rankorder;
386
+        $this->rankorder = $currentSkill->rankorder;
387 387
         $this->fk_object        = $fk_user;
388 388
         $this->date_creation    = dol_now();
389 389
         $this->fk_user_creat    = $user->id;
390 390
         $this->fk_user_modif    = $user->id;
391 391
         $this->objecttype       = self::SKILLRANK_TYPE_USER;
392
-        $result =  $this->create($user);
392
+        $result = $this->create($user);
393 393
 
394 394
         return $result;
395 395
     }
Please login to merge, or discard this patch.
htdocs/hrm/class/evaluation.class.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -786,7 +786,7 @@  discard block
 block discarded – undo
786 786
         return $this->LibStatut($this->status, $mode);
787 787
     }
788 788
 
789
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
789
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
790 790
     /**
791 791
      *  Return the status
792 792
      *
@@ -796,7 +796,7 @@  discard block
 block discarded – undo
796 796
      */
797 797
     public function LibStatut($status, $mode = 0)
798 798
     {
799
-		// phpcs:enable
799
+        // phpcs:enable
800 800
         if (empty($this->labelStatus) || empty($this->labelStatusShort)) {
801 801
             global $langs;
802 802
             //$langs->load("hrm");
Please login to merge, or discard this patch.
htdocs/mrp/class/api_mos.class.php 2 patches
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -341,7 +341,7 @@  discard block
 block discarded – undo
341 341
     }
342 342
 
343 343
 
344
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
344
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
345 345
     /**
346 346
      * Clean sensible object datas
347 347
      *
@@ -350,7 +350,7 @@  discard block
 block discarded – undo
350 350
      */
351 351
     protected function _cleanObjectDatas($object)
352 352
     {
353
-		// phpcs:enable
353
+        // phpcs:enable
354 354
         $object = parent::_cleanObjectDatas($object);
355 355
 
356 356
         unset($object->rowid);
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -364,7 +364,7 @@
 block discarded – undo
364 364
 
365 365
         if (!empty($arraytoconsume) && !empty($arraytoproduce)) {
366 366
             $pos = 0;
367
-            $arrayofarrayname = array("arraytoconsume","arraytoproduce");
367
+            $arrayofarrayname = array("arraytoconsume", "arraytoproduce");
368 368
             foreach ($arrayofarrayname as $arrayname) {
369 369
                 foreach (${$arrayname} as $value) {
370 370
                     $tmpproduct = new Product($this->db);
Please login to merge, or discard this patch.
htdocs/emailcollector/class/emailcollectorfilter.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.
htdocs/adherents/canvas/default/actions_adherentcard_default.class.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -74,7 +74,7 @@  discard block
 block discarded – undo
74 74
         return $out;
75 75
     }
76 76
 
77
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
77
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
78 78
     /**
79 79
      *  Assign custom values for canvas
80 80
      *
@@ -84,7 +84,7 @@  discard block
 block discarded – undo
84 84
      */
85 85
     public function assign_values(&$action, $id)
86 86
     {
87
-		// phpcs:enable
87
+        // phpcs:enable
88 88
         global $conf, $db, $langs, $user;
89 89
         global $form;
90 90
 
Please login to merge, or discard this patch.
htdocs/core/modules/expedition/doc/doc_generic_shipment_odt.modules.php 2 patches
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.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -176,7 +176,7 @@
 block discarded – undo
176 176
         $maxfilesizearray = getMaxFileSizeArray();
177 177
         $maxmin = $maxfilesizearray['maxmin'];
178 178
         if ($maxmin > 0) {
179
-            $texte .= '<input type="hidden" name="MAX_FILE_SIZE" value="' . ($maxmin * 1024) . '">';    // MAX_FILE_SIZE must precede the field type=file
179
+            $texte .= '<input type="hidden" name="MAX_FILE_SIZE" value="' . ($maxmin * 1024) . '">'; // MAX_FILE_SIZE must precede the field type=file
180 180
         }
181 181
         $texte .= ' <input type="file" name="uploadfile">';
182 182
         $texte .= '<input type="hidden" value="EXPEDITION_ADDON_PDF_ODT_PATH" name="keyforuploaddir">';
Please login to merge, or discard this patch.