Passed
Push — main ( 55273f...7ed502 )
by Rafael
46:12
created
htdocs/core/modules/asset/doc/pdf_standard_asset.modules.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -137,7 +137,7 @@  discard block
 block discarded – undo
137 137
     }
138 138
 
139 139
 
140
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
140
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
141 141
     /**
142 142
      *  Function to build pdf onto disk
143 143
      *
@@ -151,7 +151,7 @@  discard block
 block discarded – undo
151 151
      */
152 152
     public function write_file($object, $outputlangs, $srctemplatepath = '', $hidedetails = 0, $hidedesc = 0, $hideref = 0)
153 153
     {
154
-		// phpcs:enable
154
+        // phpcs:enable
155 155
         global $user, $langs, $conf, $mysoc, $db, $hookmanager, $nblines;
156 156
 
157 157
         dol_syslog("write_file outputlangs->defaultlang=" . (is_object($outputlangs) ? $outputlangs->defaultlang : 'null'));
@@ -794,7 +794,7 @@  discard block
 block discarded – undo
794 794
         }
795 795
     }
796 796
 
797
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
797
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
798 798
     /**
799 799
      *  Return list of active generation modules
800 800
      *
@@ -804,11 +804,11 @@  discard block
 block discarded – undo
804 804
      */
805 805
     public static function liste_modeles($db, $maxfilenamelength = 0)
806 806
     {
807
-		// phpcs:enable
807
+        // phpcs:enable
808 808
         return parent::liste_modeles($db, $maxfilenamelength); // TODO: Change the autogenerated stub
809 809
     }
810 810
 
811
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
811
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
812 812
     /**
813 813
      *   Show table for lines
814 814
      *
@@ -869,7 +869,7 @@  discard block
 block discarded – undo
869 869
         }
870 870
     }
871 871
 
872
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
872
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
873 873
     /**
874 874
      *  Show top header of page.
875 875
      *
@@ -1121,7 +1121,7 @@  discard block
 block discarded – undo
1121 1121
         return $top_shift;
1122 1122
     }
1123 1123
 
1124
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
1124
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
1125 1125
     /**
1126 1126
      *      Show footer of page. Need this->emetteur object
1127 1127
      *
Please login to merge, or discard this patch.
htdocs/core/modules/asset/modules_asset.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 ModelePDFAsset 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 = 'asset';
54 54
         $list = array();
55 55
 
Please login to merge, or discard this patch.
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.
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.
htdocs/core/modules/dons/html_generic.modules.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -183,7 +183,7 @@  discard block
 block discarded – undo
183 183
         return 1;
184 184
     }
185 185
 
186
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
186
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
187 187
     /**
188 188
      *  Write the object to document file to disk
189 189
      *
@@ -194,7 +194,7 @@  discard block
 block discarded – undo
194 194
      */
195 195
     public function write_file($don, $outputlangs, $currency = '')
196 196
     {
197
-		// phpcs:enable
197
+        // phpcs:enable
198 198
         global $user, $conf, $langs, $mysoc;
199 199
 
200 200
         $id = (!is_object($don) ? $don : '');
Please login to merge, or discard this patch.
htdocs/core/modules/dons/modules_don.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
  */
38 38
 abstract class ModeleDon extends CommonDocGenerator
39 39
 {
40
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
40
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
41 41
     /**
42 42
      *  Return list of active generation modules
43 43
      *
@@ -47,7 +47,7 @@  discard block
 block discarded – undo
47 47
      */
48 48
     public static function liste_modeles($db, $maxfilenamelength = 0)
49 49
     {
50
-		// phpcs:enable
50
+        // phpcs:enable
51 51
         $type = 'donation';
52 52
         $list = array();
53 53
 
Please login to merge, or discard this patch.
htdocs/core/modules/dons/html_cerfafr.modules.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -66,7 +66,7 @@  discard block
 block discarded – undo
66 66
     }
67 67
 
68 68
 
69
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
69
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
70 70
     /**
71 71
      *  Write the object to document file to disk
72 72
      *
@@ -77,7 +77,7 @@  discard block
 block discarded – undo
77 77
      */
78 78
     public function write_file($don, $outputlangs, $currency = '')
79 79
     {
80
-		// phpcs:enable
80
+        // phpcs:enable
81 81
         global $user, $conf, $langs, $mysoc;
82 82
 
83 83
         $now = dol_now();
Please login to merge, or discard this patch.
htdocs/core/modules/export/export_csvutf8.modules.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -61,7 +61,7 @@  discard block
 block discarded – undo
61 61
         $this->version_lib = DOL_VERSION;
62 62
     }
63 63
 
64
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
64
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
65 65
     /**
66 66
      *  Output title line into file
67 67
      *
@@ -79,7 +79,7 @@  discard block
 block discarded – undo
79 79
         return parent::write_title($array_export_fields_label, $array_selected_sorted, $outputlangs, $array_types);
80 80
     }
81 81
 
82
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
82
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
83 83
     /**
84 84
      *  Output record line into file
85 85
      *
Please login to merge, or discard this patch.
htdocs/core/modules/export/exportcsv.class.php 1 patch
Indentation   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -129,7 +129,7 @@  discard block
 block discarded – undo
129 129
     }
130 130
 
131 131
 
132
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
132
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
133 133
     /**
134 134
      *  Open output file
135 135
      *
@@ -139,7 +139,7 @@  discard block
 block discarded – undo
139 139
      */
140 140
     public function open_file($file, $outputlangs)
141 141
     {
142
-		// phpcs:enable
142
+        // phpcs:enable
143 143
         global $langs;
144 144
 
145 145
         dol_syslog("ExportCsv::open_file file=" . $file);
@@ -157,7 +157,7 @@  discard block
 block discarded – undo
157 157
         return $ret;
158 158
     }
159 159
 
160
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
160
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
161 161
     /**
162 162
      *  Output header into file
163 163
      *
@@ -166,12 +166,12 @@  discard block
 block discarded – undo
166 166
      */
167 167
     public function write_header($outputlangs)
168 168
     {
169
-		// phpcs:enable
169
+        // phpcs:enable
170 170
         return 0;
171 171
     }
172 172
 
173 173
 
174
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
174
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
175 175
     /**
176 176
      *  Output title line into file
177 177
      *
@@ -183,7 +183,7 @@  discard block
 block discarded – undo
183 183
      */
184 184
     public function write_title($array_export_fields_label, $array_selected_sorted, $outputlangs, $array_types)
185 185
     {
186
-		// phpcs:enable
186
+        // phpcs:enable
187 187
         $outputlangs->charset_output = getDolGlobalString('EXPORT_CSV_FORCE_CHARSET');
188 188
 
189 189
         $selectlabel = array();
@@ -207,7 +207,7 @@  discard block
 block discarded – undo
207 207
     }
208 208
 
209 209
 
210
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
210
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
211 211
     /**
212 212
      *  Output record line into file
213 213
      *
@@ -219,7 +219,7 @@  discard block
 block discarded – undo
219 219
      */
220 220
     public function write_record($array_selected_sorted, $objp, $outputlangs, $array_types)
221 221
     {
222
-		// phpcs:enable
222
+        // phpcs:enable
223 223
         global $conf;
224 224
 
225 225
         $outputlangs->charset_output = getDolGlobalString('EXPORT_CSV_FORCE_CHARSET');
@@ -271,7 +271,7 @@  discard block
 block discarded – undo
271 271
         return 0;
272 272
     }
273 273
 
274
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
274
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
275 275
     /**
276 276
      *  Output footer into file
277 277
      *
@@ -280,11 +280,11 @@  discard block
 block discarded – undo
280 280
      */
281 281
     public function write_footer($outputlangs)
282 282
     {
283
-		// phpcs:enable
283
+        // phpcs:enable
284 284
         return 0;
285 285
     }
286 286
 
287
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
287
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
288 288
     /**
289 289
      *  Close file handle
290 290
      *
@@ -292,7 +292,7 @@  discard block
 block discarded – undo
292 292
      */
293 293
     public function close_file()
294 294
     {
295
-		// phpcs:enable
295
+        // phpcs:enable
296 296
         fclose($this->handle);
297 297
         return 0;
298 298
     }
Please login to merge, or discard this patch.