Test Failed
Push — main ( ac1cad...7178bf )
by Rafael
50:59
created
htdocs/core/modules/rapport/pdf_paiement.class.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -114,7 +114,7 @@  discard block
 block discarded – undo
114 114
     }
115 115
 
116 116
 
117
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
117
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
118 118
     /**
119 119
      *  Fonction generant la rapport sur le disque
120 120
      *
@@ -126,7 +126,7 @@  discard block
 block discarded – undo
126 126
      */
127 127
     public function write_file($_dir, $month, $year, $outputlangs)
128 128
     {
129
-		// phpcs:enable
129
+        // phpcs:enable
130 130
         include_once DOL_DOCUMENT_ROOT . '/core/lib/date.lib.php';
131 131
 
132 132
         global $conf, $hookmanager, $langs, $user;
@@ -382,7 +382,7 @@  discard block
 block discarded – undo
382 382
         return 1;
383 383
     }
384 384
 
385
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
385
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
386 386
     /**
387 387
      *  Show top header of page.
388 388
      *
@@ -394,7 +394,7 @@  discard block
 block discarded – undo
394 394
      */
395 395
     protected function _pagehead(&$pdf, $page, $showaddress, $outputlangs)
396 396
     {
397
-		// phpcs:enable
397
+        // phpcs:enable
398 398
 
399 399
         // Do not add the BACKGROUND as this is a report
400 400
         //pdf_pagehead($pdf,$outputlangs,$this->page_hauteur);
@@ -457,7 +457,7 @@  discard block
 block discarded – undo
457 457
     }
458 458
 
459 459
 
460
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
460
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
461 461
     /**
462 462
      *  Output body
463 463
      *
@@ -469,7 +469,7 @@  discard block
 block discarded – undo
469 469
      */
470 470
     public function Body(&$pdf, $page, $lines, $outputlangs)
471 471
     {
472
-		// phpcs:enable
472
+        // phpcs:enable
473 473
         global $langs, $conf;
474 474
         $default_font_size = pdf_getPDFFontSize($outputlangs);
475 475
 
Please login to merge, or discard this patch.
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/pdf_espadon.modules.php 2 patches
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.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -838,7 +838,7 @@
 block discarded – undo
838 838
             if ($object->volume_units < 50) {
839 839
                 $totalVolumetoshow = showDimensionInBestUnit($object->trueVolume, $object->volume_units, "volume", $outputlangs);
840 840
             } else {
841
-                $totalVolumetoshow =  price($object->trueVolume, 0, $outputlangs, 0, 0) . ' ' . measuringUnitString(0, "volume", $object->volume_units);
841
+                $totalVolumetoshow = price($object->trueVolume, 0, $outputlangs, 0, 0) . ' ' . measuringUnitString(0, "volume", $object->volume_units);
842 842
             }
843 843
         }
844 844
 
Please login to merge, or discard this patch.
htdocs/core/modules/expedition/doc/pdf_rouget.modules.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -144,7 +144,7 @@  discard block
 block discarded – undo
144 144
         }
145 145
     }
146 146
 
147
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
147
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
148 148
     /**
149 149
      *  Function to build pdf onto disk
150 150
      *
@@ -158,7 +158,7 @@  discard block
 block discarded – undo
158 158
      */
159 159
     public function write_file($object, $outputlangs, $srctemplatepath = '', $hidedetails = 0, $hidedesc = 0, $hideref = 0)
160 160
     {
161
-		// phpcs:enable
161
+        // phpcs:enable
162 162
         global $user, $conf, $langs, $hookmanager;
163 163
 
164 164
         $object->fetch_thirdparty();
@@ -642,8 +642,8 @@  discard block
 block discarded – undo
642 642
         }
643 643
     }
644 644
 
645
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
646
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
645
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
646
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
647 647
     /**
648 648
      *  Show total to pay
649 649
      *
@@ -656,7 +656,7 @@  discard block
 block discarded – undo
656 656
      */
657 657
     protected function _tableau_tot(&$pdf, $object, $deja_regle, $posy, $outputlangs)
658 658
     {
659
-		// phpcs:enable
659
+        // phpcs:enable
660 660
         global $conf, $mysoc;
661 661
 
662 662
         $sign = 1;
@@ -757,7 +757,7 @@  discard block
 block discarded – undo
757 757
         return ($tab2_top + ($tab2_hl * $index));
758 758
     }
759 759
 
760
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
760
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
761 761
     /**
762 762
      *   Show table for lines
763 763
      *
@@ -838,7 +838,7 @@  discard block
 block discarded – undo
838 838
         }
839 839
     }
840 840
 
841
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
841
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
842 842
     /**
843 843
      *  Show top header of page.
844 844
      *
@@ -1105,7 +1105,7 @@  discard block
 block discarded – undo
1105 1105
         return $top_shift;
1106 1106
     }
1107 1107
 
1108
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
1108
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
1109 1109
     /**
1110 1110
      *  Show footer of page. Need this->emetteur object
1111 1111
      *
Please login to merge, or discard this patch.
htdocs/core/modules/expedition/modules_expedition.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 ModelePdfExpedition 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 models
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 = 'shipping';
55 55
         $list = array();
56 56
 
Please login to merge, or discard this patch.
htdocs/core/modules/hrm/modules_evaluation.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@  discard block
 block discarded – undo
39 39
  */
40 40
 abstract class ModelePDFEvaluation extends CommonDocGenerator
41 41
 {
42
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
42
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
43 43
     /**
44 44
      *  Return list of active generation modules
45 45
      *
@@ -49,7 +49,7 @@  discard block
 block discarded – undo
49 49
      */
50 50
     public static function liste_modeles($db, $maxfilenamelength = 0)
51 51
     {
52
-		// phpcs:enable
52
+        // phpcs:enable
53 53
         $type = 'evaluation';
54 54
         $list = array();
55 55
 
Please login to merge, or discard this patch.
htdocs/core/modules/hrm/doc/pdf_standard.modules.php 2 patches
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -130,7 +130,7 @@  discard block
 block discarded – undo
130 130
         }
131 131
     }
132 132
 
133
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
133
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
134 134
     /**
135 135
      *  Function to build pdf onto disk
136 136
      *
@@ -144,7 +144,7 @@  discard block
 block discarded – undo
144 144
      */
145 145
     public function write_file($object, $outputlangs, $srctemplatepath = '', $hidedetails = 0, $hidedesc = 0, $hideref = 0)
146 146
     {
147
-		// phpcs:enable
147
+        // phpcs:enable
148 148
         global $user, $langs, $conf, $mysoc, $db, $hookmanager, $nblines;
149 149
 
150 150
         if (!is_object($outputlangs)) {
@@ -515,7 +515,7 @@  discard block
 block discarded – undo
515 515
         $pdf->writeHTMLCell($this->posxskill - $this->posxpiece - 0.8, 3, $this->posxpiece - 1, $curY, $linenumber + 1, 0, 1, 0, 0, 'C');
516 516
     }
517 517
 
518
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
518
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
519 519
     /**
520 520
      *  Show top header of page.
521 521
      *
@@ -631,7 +631,7 @@  discard block
 block discarded – undo
631 631
         return 0;
632 632
     }
633 633
 
634
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
634
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
635 635
     /**
636 636
      *   Show table for lines
637 637
      *
@@ -707,7 +707,7 @@  discard block
 block discarded – undo
707 707
 
708 708
 
709 709
 
710
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
710
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
711 711
     /**
712 712
      *  Show footer of page. Need this->emetteur object
713 713
      *
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -250,7 +250,7 @@
 block discarded – undo
250 250
 
251 251
                 // Show notes
252 252
                 if (!empty($object->note_public)) {
253
-                    $tab_top = 65;  // @phan-suppress-current-line PhanPluginRedundantAssignment
253
+                    $tab_top = 65; // @phan-suppress-current-line PhanPluginRedundantAssignment
254 254
 
255 255
                     $pdf->SetFont('', 'B', $default_font_size);
256 256
                     $pdf->MultiCell(190, 4, $outputlangs->transnoentities("Notes") . ":", 0, 'L', 0, '', 12, $tab_top);
Please login to merge, or discard this patch.
htdocs/core/modules/hrm/mod_evaluation_advanced.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
  * \brief      File containing class for advanced numbering model of Evaluation
28 28
  */
29 29
 
30
- require_once DOL_DOCUMENT_ROOT . '/core/modules/hrm/modules_evaluation.php';
30
+    require_once DOL_DOCUMENT_ROOT . '/core/modules/hrm/modules_evaluation.php';
31 31
 
32 32
 
33 33
 /**
Please login to merge, or discard this patch.
htdocs/core/modules/member/modules_cards.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@  discard block
 block discarded – undo
42 42
     public $error = '';
43 43
 
44 44
 
45
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
45
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
46 46
     /**
47 47
      *  Return list of active generation modules
48 48
      *
@@ -52,7 +52,7 @@  discard block
 block discarded – undo
52 52
      */
53 53
     public static function liste_modeles($db, $maxfilenamelength = 0)
54 54
     {
55
-		// phpcs:enable
55
+        // phpcs:enable
56 56
         $type = 'member';
57 57
         $list = array();
58 58
 
@@ -79,7 +79,7 @@  discard block
 block discarded – undo
79 79
  */
80 80
 function members_card_pdf_create($db, $arrayofmembers, $modele, $outputlangs, $outputdir = '', $template = 'standard', $filename = 'tmp_cards')
81 81
 {
82
-	// phpcs:enable
82
+    // phpcs:enable
83 83
     global $conf, $langs;
84 84
     $langs->load("members");
85 85
 
Please login to merge, or discard this patch.