Test Failed
Push — main ( c8394f...8477f1 )
by Rafael
66:21
created
public/htdocs/core/modules/movement/modules_movement.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -53,7 +53,7 @@  discard block
 block discarded – undo
53 53
     public $version = 'dolibarr';
54 54
 
55 55
 
56
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
56
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
57 57
     /**
58 58
      *  Return list of active generation modules
59 59
      *
@@ -63,7 +63,7 @@  discard block
 block discarded – undo
63 63
      */
64 64
     public static function liste_modeles($db, $maxfilenamelength = 0)
65 65
     {
66
-		// phpcs:enable
66
+        // phpcs:enable
67 67
         $type = 'movement';
68 68
         $list = array();
69 69
 
Please login to merge, or discard this patch.
public/htdocs/core/modules/movement/doc/pdf_standard.modules.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -123,7 +123,7 @@  discard block
 block discarded – undo
123 123
     }
124 124
 
125 125
 
126
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
126
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
127 127
     /**
128 128
      *  Function to build a document on disk using the generic odt module.
129 129
      *
@@ -137,7 +137,7 @@  discard block
 block discarded – undo
137 137
      */
138 138
     public function write_file($object, $outputlangs, $srctemplatepath = '', $hidedetails = 0, $hidedesc = 0, $hideref = 0)
139 139
     {
140
-		// phpcs:enable
140
+        // phpcs:enable
141 141
         global $user, $langs, $conf, $mysoc, $db, $hookmanager, $nblines;
142 142
 
143 143
         dol_syslog("write_file outputlangs->defaultlang=" . (is_object($outputlangs) ? $outputlangs->defaultlang : 'null'));
@@ -775,7 +775,7 @@  discard block
 block discarded – undo
775 775
         }
776 776
     }
777 777
 
778
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
778
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
779 779
     /**
780 780
      *   Show table for lines
781 781
      *
@@ -899,7 +899,7 @@  discard block
 block discarded – undo
899 899
         $pdf->SetLineStyle(array('dash' => 0));
900 900
     }
901 901
 
902
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
902
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
903 903
     /**
904 904
      *  Show top header of page.
905 905
      *
@@ -1122,7 +1122,7 @@  discard block
 block discarded – undo
1122 1122
         return $top_shift;
1123 1123
     }
1124 1124
 
1125
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
1125
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
1126 1126
     /**
1127 1127
      *  Show footer of page. Need this->emetteur object
1128 1128
      *
Please login to merge, or discard this patch.
public/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.
public/htdocs/core/modules/ticket/modules_ticket.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@  discard block
 block discarded – undo
35 35
  */
36 36
 abstract class ModelePDFTicket extends CommonDocGenerator
37 37
 {
38
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
38
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
39 39
     /**
40 40
      *  Return list of active generation modules
41 41
      *
@@ -45,7 +45,7 @@  discard block
 block discarded – undo
45 45
      */
46 46
     public static function liste_modeles($db, $maxfilenamelength = 0)
47 47
     {
48
-		// phpcs:enable
48
+        // phpcs:enable
49 49
         $type = 'ticket';
50 50
         $list = array();
51 51
 
Please login to merge, or discard this patch.
public/htdocs/core/modules/ticket/doc/doc_generic_ticket_odt.modules.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -181,7 +181,7 @@  discard block
 block discarded – undo
181 181
         return $texte;
182 182
     }
183 183
 
184
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
184
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
185 185
     /**
186 186
      *  Function to build a document on disk using the generic odt module.
187 187
      *
@@ -195,7 +195,7 @@  discard block
 block discarded – undo
195 195
      */
196 196
     public function write_file($object, $outputlangs, $srctemplatepath, $hidedetails = 0, $hidedesc = 0, $hideref = 0)
197 197
     {
198
-		// phpcs:enable
198
+        // phpcs:enable
199 199
         global $user, $langs, $conf, $mysoc, $hookmanager;
200 200
 
201 201
         if (empty($srctemplatepath)) {
@@ -407,7 +407,7 @@  discard block
 block discarded – undo
407 407
         return -1;
408 408
     }
409 409
 
410
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
410
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
411 411
     /**
412 412
      * get substitution array for object
413 413
      *
@@ -418,7 +418,7 @@  discard block
 block discarded – undo
418 418
      */
419 419
     public function get_substitutionarray_object($object, $outputlangs, $array_key = 'object')
420 420
     {
421
-		// phpcs:enable
421
+        // phpcs:enable
422 422
         if (!$object instanceof User) {
423 423
             dol_syslog("Expected Ticket object, got " . gettype($object), LOG_ERR);
424 424
             return array();
Please login to merge, or discard this patch.
public/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.
public/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.
public/htdocs/core/modules/modFTP.class.php 1 patch
Indentation   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -112,17 +112,17 @@
 block discarded – undo
112 112
         // Menus
113 113
         //-------
114 114
         $this->menu[$r] = array('fk_menu' => 0,
115
-                              'type' => 'top',
116
-                              'titre' => 'FTP',
117
-                              'prefix' => img_picto('', $this->picto, 'class="pictofixedwidth em092"'),
118
-                              'mainmenu' => 'ftp',
119
-                              'url' => '/ftp/index.php',
120
-                              'langs' => 'ftp',
121
-                              'position' => 100,
122
-                              'enabled' => '$conf->ftp->enabled',
123
-                              'perms' => '$user->rights->ftp->read || $user->rights->ftp->write || $user->rights->ftp->setup',
124
-                              'target' => '',
125
-                              'user' => 2); // 0=Menu for internal users, 1=external users, 2=both
115
+                                'type' => 'top',
116
+                                'titre' => 'FTP',
117
+                                'prefix' => img_picto('', $this->picto, 'class="pictofixedwidth em092"'),
118
+                                'mainmenu' => 'ftp',
119
+                                'url' => '/ftp/index.php',
120
+                                'langs' => 'ftp',
121
+                                'position' => 100,
122
+                                'enabled' => '$conf->ftp->enabled',
123
+                                'perms' => '$user->rights->ftp->read || $user->rights->ftp->write || $user->rights->ftp->setup',
124
+                                'target' => '',
125
+                                'user' => 2); // 0=Menu for internal users, 1=external users, 2=both
126 126
         $r++;
127 127
     }
128 128
 }
Please login to merge, or discard this patch.
htdocs/core/modules/usergroup/doc/doc_generic_usergroup_odt.modules.php 1 patch
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.