Passed
Push — main ( 131f20...c1d479 )
by Rafael
51:37
created
htdocs/theme/md/btn.inc.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
 if (getDolGlobalString('THEME_DARKMODEENABLED')) {
19 19
     print "/* For dark mode */\n";
20 20
     if (getDolGlobalInt('THEME_DARKMODEENABLED') != 2) {
21
-        print "@media (prefers-color-scheme: dark) {";  // To test, click on the 3 dots menu, then Other options then Display then emulate prefer-color-schemes
21
+        print "@media (prefers-color-scheme: dark) {"; // To test, click on the 3 dots menu, then Other options then Display then emulate prefer-color-schemes
22 22
     } else {
23 23
         print "@media not print {";
24 24
     }
Please login to merge, or discard this patch.
htdocs/compta/cashcontrol/class/cashcontrol.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/partnership/class/api_partnerships.class.php 1 patch
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.
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.