Passed
Push — EXTRACT_CLASSES ( 0382f2...c25e41 )
by Rafael
52:18
created
public/htdocs/core/modules/export/export_excel2007.modules.php 1 patch
Indentation   +14 added lines, -14 removed lines patch added patch discarded remove patch
@@ -186,7 +186,7 @@  discard block
 block discarded – undo
186 186
     }
187 187
 
188 188
 
189
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
189
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
190 190
     /**
191 191
      *  Open output file
192 192
      *
@@ -196,7 +196,7 @@  discard block
 block discarded – undo
196 196
      */
197 197
     public function open_file($file, $outputlangs)
198 198
     {
199
-		// phpcs:enable
199
+        // phpcs:enable
200 200
         global $user, $langs;
201 201
 
202 202
         dol_syslog(get_class($this) . "::open_file file=" . $file);
@@ -232,7 +232,7 @@  discard block
 block discarded – undo
232 232
         return $ret;
233 233
     }
234 234
 
235
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
235
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
236 236
     /**
237 237
      *  Write header
238 238
      *
@@ -241,14 +241,14 @@  discard block
 block discarded – undo
241 241
      */
242 242
     public function write_header($outputlangs)
243 243
     {
244
-		// phpcs:enable
244
+        // phpcs:enable
245 245
         //$outputlangs->charset_output='ISO-8859-1';    // Because Excel 5 format is ISO
246 246
 
247 247
         return 0;
248 248
     }
249 249
 
250 250
 
251
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
251
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
252 252
     /**
253 253
      *  Output title line into file
254 254
      *
@@ -260,7 +260,7 @@  discard block
 block discarded – undo
260 260
      */
261 261
     public function write_title($array_export_fields_label, $array_selected_sorted, $outputlangs, $array_types)
262 262
     {
263
-		// phpcs:enable
263
+        // phpcs:enable
264 264
 
265 265
         // Create a format for the column headings
266 266
         $this->workbook->getActiveSheet()->getStyle('1')->getFont()->setBold(true);
@@ -301,7 +301,7 @@  discard block
 block discarded – undo
301 301
         return 0;
302 302
     }
303 303
 
304
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
304
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
305 305
     /**
306 306
      *  Output record line into file
307 307
      *
@@ -313,7 +313,7 @@  discard block
 block discarded – undo
313 313
      */
314 314
     public function write_record($array_selected_sorted, $objp, $outputlangs, $array_types)
315 315
     {
316
-		// phpcs:enable
316
+        // phpcs:enable
317 317
 
318 318
         // Define first row
319 319
         $this->col = 1;
@@ -411,7 +411,7 @@  discard block
 block discarded – undo
411 411
     }
412 412
 
413 413
 
414
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
414
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
415 415
     /**
416 416
      *  Write footer
417 417
      *
@@ -420,12 +420,12 @@  discard block
 block discarded – undo
420 420
      */
421 421
     public function write_footer($outputlangs)
422 422
     {
423
-		// phpcs:enable
423
+        // phpcs:enable
424 424
         return 0;
425 425
     }
426 426
 
427 427
 
428
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
428
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
429 429
     /**
430 430
      *  Close Excel file
431 431
      *
@@ -433,7 +433,7 @@  discard block
 block discarded – undo
433 433
      */
434 434
     public function close_file()
435 435
     {
436
-		// phpcs:enable
436
+        // phpcs:enable
437 437
 
438 438
         $objWriter = new Xlsx($this->workbook);
439 439
         $objWriter->save($this->file);
@@ -444,7 +444,7 @@  discard block
 block discarded – undo
444 444
     }
445 445
 
446 446
 
447
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
447
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
448 448
     /**
449 449
      * Clean a cell to respect rules of Excel file cells
450 450
      *
@@ -453,7 +453,7 @@  discard block
 block discarded – undo
453 453
      */
454 454
     public function excel_clean($newvalue)
455 455
     {
456
-		// phpcs:enable
456
+        // phpcs:enable
457 457
         // Rule Dolibarr: No HTML
458 458
         $newvalue = dol_string_nohtmltag($newvalue);
459 459
 
Please login to merge, or discard this patch.
public/htdocs/core/modules/member/doc/pdf_standard.class.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -75,7 +75,7 @@  discard block
 block discarded – undo
75 75
         // use this method in future refactoring
76 76
     }
77 77
 
78
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
78
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
79 79
     /**
80 80
      * Output a sticker on page at position _COUNTX, _COUNTY (_COUNTX and _COUNTY start from 0)
81 81
      * - __LOGO__ is replace with company logo
@@ -93,7 +93,7 @@  discard block
 block discarded – undo
93 93
      */
94 94
     public function Add_PDF_card(&$pdf, $textleft, $header, $footer, $outputlangs, $textright = '', $idmember = 0, $photo = '')
95 95
     {
96
-		// phpcs:enable
96
+        // phpcs:enable
97 97
         global $db, $mysoc, $conf, $langs;
98 98
         global $forceimgscalewidth, $forceimgscaleheight;
99 99
 
@@ -260,7 +260,7 @@  discard block
 block discarded – undo
260 260
         }
261 261
     }
262 262
 
263
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
263
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
264 264
     /**
265 265
      *  Function to build PDF on disk, then output on HTTP stream.
266 266
      *
@@ -274,7 +274,7 @@  discard block
 block discarded – undo
274 274
      */
275 275
     public function write_file($object, $outputlangs, $srctemplatepath, $mode = 'member', $nooutput = 0, $filename = 'tmp_cards')
276 276
     {
277
-		// phpcs:enable
277
+        // phpcs:enable
278 278
         global $user, $conf, $langs, $mysoc, $_Avery_Labels;
279 279
 
280 280
         $this->code = $srctemplatepath;
Please login to merge, or discard this patch.
public/htdocs/core/modules/member/doc/doc_generic_member_odt.class.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -183,7 +183,7 @@  discard block
 block discarded – undo
183 183
         return $texte;
184 184
     }
185 185
 
186
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
186
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
187 187
     /**
188 188
      *  Function to build a document on disk using the generic odt module.
189 189
      *
@@ -197,7 +197,7 @@  discard block
 block discarded – undo
197 197
      */
198 198
     public function write_file($object, $outputlangs, $srctemplatepath, $mode = 'member', $nooutput = 0, $filename = 'tmp_cards')
199 199
     {
200
-		// phpcs:enable
200
+        // phpcs:enable
201 201
         global $user, $langs, $conf, $mysoc, $hookmanager;
202 202
 
203 203
         if (empty($srctemplatepath)) {
@@ -415,7 +415,7 @@  discard block
 block discarded – undo
415 415
         return -1;
416 416
     }
417 417
 
418
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
418
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
419 419
     /**
420 420
      * get substitution array for object
421 421
      *
@@ -426,7 +426,7 @@  discard block
 block discarded – undo
426 426
      */
427 427
     public function get_substitutionarray_object($object, $outputlangs, $array_key = 'object')
428 428
     {
429
-		// phpcs:enable
429
+        // phpcs:enable
430 430
         if (!$object instanceof Adherent) {
431 431
             dol_syslog("Expected Adherent object, got " . gettype($object), LOG_ERR);
432 432
             return array();
Please login to merge, or discard this patch.
public/htdocs/core/modules/member/modules_member.class.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@  discard block
 block discarded – undo
38 38
  */
39 39
 abstract class ModelePDFMember extends CommonDocGenerator
40 40
 {
41
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
41
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
42 42
     /**
43 43
      *  Return list of active generation modules
44 44
      *
@@ -48,7 +48,7 @@  discard block
 block discarded – undo
48 48
      */
49 49
     public static function liste_modeles($db, $maxfilenamelength = 0)
50 50
     {
51
-		// phpcs:enable
51
+        // phpcs:enable
52 52
         $type = 'member';
53 53
         $list = array();
54 54
 
Please login to merge, or discard this patch.
public/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.
public/htdocs/core/modules/import/import_xlsx.modules.php 1 patch
Indentation   +20 added lines, -20 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
      *  Output header of an example file for this format
136 136
      *
@@ -139,7 +139,7 @@  discard block
 block discarded – undo
139 139
      */
140 140
     public function write_header_example($outputlangs)
141 141
     {
142
-		// phpcs:enable
142
+        // phpcs:enable
143 143
         global $user, $conf, $langs, $file;
144 144
         // create a temporary object, the final output will be generated in footer
145 145
         $this->workbook->getProperties()->setCreator($user->getFullName($outputlangs) . ' - Dolibarr ' . DOL_VERSION);
@@ -154,7 +154,7 @@  discard block
 block discarded – undo
154 154
         return '';
155 155
     }
156 156
 
157
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
157
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
158 158
     /**
159 159
      *  Output title line of an example file for this format
160 160
      *
@@ -164,7 +164,7 @@  discard block
 block discarded – undo
164 164
      */
165 165
     public function write_title_example($outputlangs, $headerlinefields)
166 166
     {
167
-		// phpcs:enable
167
+        // phpcs:enable
168 168
         global $conf;
169 169
         $this->workbook->getActiveSheet()->getStyle('1')->getFont()->setBold(true);
170 170
         $this->workbook->getActiveSheet()->getStyle('1')->getAlignment()->setHorizontal(Alignment::HORIZONTAL_LEFT);
@@ -180,7 +180,7 @@  discard block
 block discarded – undo
180 180
         return ''; // final output will be generated in footer
181 181
     }
182 182
 
183
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
183
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
184 184
     /**
185 185
      *  Output record of an example file for this format
186 186
      *
@@ -190,7 +190,7 @@  discard block
 block discarded – undo
190 190
      */
191 191
     public function write_record_example($outputlangs, $contentlinevalues)
192 192
     {
193
-		// phpcs:enable
193
+        // phpcs:enable
194 194
         $col = 1;
195 195
         $row = 2;
196 196
         foreach ($contentlinevalues as $cell) {
@@ -201,7 +201,7 @@  discard block
 block discarded – undo
201 201
         return ''; // final output will be generated in footer
202 202
     }
203 203
 
204
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
204
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
205 205
     /**
206 206
      *  Output footer of an example file for this format
207 207
      *
@@ -210,7 +210,7 @@  discard block
 block discarded – undo
210 210
      */
211 211
     public function write_footer_example($outputlangs)
212 212
     {
213
-		// phpcs:enable
213
+        // phpcs:enable
214 214
         // return the file content as a string
215 215
         $tempfile = tempnam(sys_get_temp_dir(), 'dol');
216 216
         $objWriter = new PhpOffice\PhpSpreadsheet\Writer\Xlsx($this->workbook);
@@ -225,7 +225,7 @@  discard block
 block discarded – undo
225 225
 
226 226
 
227 227
 
228
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
228
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
229 229
     /**
230 230
      *  Open input file
231 231
      *
@@ -234,7 +234,7 @@  discard block
 block discarded – undo
234 234
      */
235 235
     public function import_open_file($file)
236 236
     {
237
-		// phpcs:enable
237
+        // phpcs:enable
238 238
         global $langs;
239 239
         $ret = 1;
240 240
 
@@ -249,7 +249,7 @@  discard block
 block discarded – undo
249 249
     }
250 250
 
251 251
 
252
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
252
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
253 253
     /**
254 254
      *  Return nb of records. File must be closed.
255 255
      *
@@ -258,7 +258,7 @@  discard block
 block discarded – undo
258 258
      */
259 259
     public function import_get_nb_of_lines($file)
260 260
     {
261
-		// phpcs:enable
261
+        // phpcs:enable
262 262
         $reader = new Xlsx();
263 263
         $this->workbook = $reader->load($file);
264 264
 
@@ -271,7 +271,7 @@  discard block
 block discarded – undo
271 271
     }
272 272
 
273 273
 
274
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
274
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
275 275
     /**
276 276
      *  Input header line from file
277 277
      *
@@ -279,7 +279,7 @@  discard block
 block discarded – undo
279 279
      */
280 280
     public function import_read_header()
281 281
     {
282
-		// phpcs:enable
282
+        // phpcs:enable
283 283
         // This is not called by the import code !!!
284 284
         $this->headers = array();
285 285
         $xlsx = new Xlsx();
@@ -292,7 +292,7 @@  discard block
 block discarded – undo
292 292
     }
293 293
 
294 294
 
295
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
295
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
296 296
     /**
297 297
      *  Return array of next record in input file.
298 298
      *
@@ -300,7 +300,7 @@  discard block
 block discarded – undo
300 300
      */
301 301
     public function import_read_record()
302 302
     {
303
-		// phpcs:enable
303
+        // phpcs:enable
304 304
         global $conf;
305 305
 
306 306
         $rowcount = $this->workbook->getActiveSheet()->getHighestDataRow();
@@ -320,7 +320,7 @@  discard block
 block discarded – undo
320 320
         return $array;
321 321
     }
322 322
 
323
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
323
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
324 324
     /**
325 325
      *  Close file handle
326 326
      *
@@ -328,7 +328,7 @@  discard block
 block discarded – undo
328 328
      */
329 329
     public function import_close_file()
330 330
     {
331
-		// phpcs:enable
331
+        // phpcs:enable
332 332
         $this->workbook->disconnectWorksheets();
333 333
         unset($this->workbook);
334 334
         return 0;
@@ -336,7 +336,7 @@  discard block
 block discarded – undo
336 336
 
337 337
 
338 338
     // What is this doing here ? it is common to all imports, is should be in the parent class
339
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
339
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
340 340
     /**
341 341
      * Insert a record into database
342 342
      *
@@ -350,7 +350,7 @@  discard block
 block discarded – undo
350 350
      */
351 351
     public function import_insert($arrayrecord, $array_match_file_to_database, $objimport, $maxfields, $importid, $updatekeys)
352 352
     {
353
-		// phpcs:enable
353
+        // phpcs:enable
354 354
         global $langs, $conf, $user;
355 355
         global $thirdparty_static; // Specific to thirdparty import
356 356
         global $tablewithentity_cache; // Cache to avoid to call  desc at each rows on tables
Please login to merge, or discard this patch.
public/htdocs/core/modules/import/import_csv.modules.php 1 patch
Indentation   +20 added lines, -20 removed lines patch added patch discarded remove patch
@@ -115,7 +115,7 @@  discard block
 block discarded – undo
115 115
     }
116 116
 
117 117
 
118
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
118
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
119 119
     /**
120 120
      *  Output header of an example file for this format
121 121
      *
@@ -124,11 +124,11 @@  discard block
 block discarded – undo
124 124
      */
125 125
     public function write_header_example($outputlangs)
126 126
     {
127
-		// phpcs:enable
127
+        // phpcs:enable
128 128
         return '';
129 129
     }
130 130
 
131
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
131
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
132 132
     /**
133 133
      *  Output title line of an example file for this format
134 134
      *
@@ -138,12 +138,12 @@  discard block
 block discarded – undo
138 138
      */
139 139
     public function write_title_example($outputlangs, $headerlinefields)
140 140
     {
141
-		// phpcs:enable
141
+        // phpcs:enable
142 142
         $s = implode($this->separator, array_map('cleansep', $headerlinefields));
143 143
         return $s . "\n";
144 144
     }
145 145
 
146
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
146
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
147 147
     /**
148 148
      *  Output record of an example file for this format
149 149
      *
@@ -153,12 +153,12 @@  discard block
 block discarded – undo
153 153
      */
154 154
     public function write_record_example($outputlangs, $contentlinevalues)
155 155
     {
156
-		// phpcs:enable
156
+        // phpcs:enable
157 157
         $s = implode($this->separator, array_map('cleansep', $contentlinevalues));
158 158
         return $s . "\n";
159 159
     }
160 160
 
161
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
161
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
162 162
     /**
163 163
      *  Output footer of an example file for this format
164 164
      *
@@ -167,12 +167,12 @@  discard block
 block discarded – undo
167 167
      */
168 168
     public function write_footer_example($outputlangs)
169 169
     {
170
-		// phpcs:enable
170
+        // phpcs:enable
171 171
         return '';
172 172
     }
173 173
 
174 174
 
175
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
175
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
176 176
     /**
177 177
      *  Open input file
178 178
      *
@@ -181,7 +181,7 @@  discard block
 block discarded – undo
181 181
      */
182 182
     public function import_open_file($file)
183 183
     {
184
-		// phpcs:enable
184
+        // phpcs:enable
185 185
         global $langs;
186 186
         $ret = 1;
187 187
 
@@ -202,7 +202,7 @@  discard block
 block discarded – undo
202 202
     }
203 203
 
204 204
 
205
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
205
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
206 206
     /**
207 207
      *  Return nb of records. File must be closed.
208 208
      *
@@ -211,12 +211,12 @@  discard block
 block discarded – undo
211 211
      */
212 212
     public function import_get_nb_of_lines($file)
213 213
     {
214
-		// phpcs:enable
214
+        // phpcs:enable
215 215
         return dol_count_nb_of_line($file);
216 216
     }
217 217
 
218 218
 
219
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
219
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
220 220
     /**
221 221
      *  Input header line from file
222 222
      *
@@ -224,12 +224,12 @@  discard block
 block discarded – undo
224 224
      */
225 225
     public function import_read_header()
226 226
     {
227
-		// phpcs:enable
227
+        // phpcs:enable
228 228
         return 0;
229 229
     }
230 230
 
231 231
 
232
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
232
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
233 233
     /**
234 234
      *  Return array of next record in input file.
235 235
      *
@@ -237,7 +237,7 @@  discard block
 block discarded – undo
237 237
      */
238 238
     public function import_read_record()
239 239
     {
240
-		// phpcs:enable
240
+        // phpcs:enable
241 241
         global $conf;
242 242
 
243 243
         $arrayres = fgetcsv($this->handle, 100000, $this->separator, $this->enclosure, $this->escape);
@@ -277,7 +277,7 @@  discard block
 block discarded – undo
277 277
         return $newarrayres;
278 278
     }
279 279
 
280
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
280
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
281 281
     /**
282 282
      *  Close file handle
283 283
      *
@@ -285,13 +285,13 @@  discard block
 block discarded – undo
285 285
      */
286 286
     public function import_close_file()
287 287
     {
288
-		// phpcs:enable
288
+        // phpcs:enable
289 289
         fclose($this->handle);
290 290
         return 0;
291 291
     }
292 292
 
293 293
 
294
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
294
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
295 295
     /**
296 296
      * Insert a record into database
297 297
      *
@@ -305,7 +305,7 @@  discard block
 block discarded – undo
305 305
      */
306 306
     public function import_insert($arrayrecord, $array_match_file_to_database, $objimport, $maxfields, $importid, $updatekeys)
307 307
     {
308
-		// phpcs:enable
308
+        // phpcs:enable
309 309
         global $langs, $conf, $user;
310 310
         global $thirdparty_static; // Specific to thirdparty import
311 311
         global $tablewithentity_cache; // Cache to avoid to call  desc at each rows on tables
Please login to merge, or discard this patch.
public/htdocs/core/modules/bom/modules_bom.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 ModelePDFBom 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 modules
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 = 'bom';
55 55
         $list = array();
56 56
 
Please login to merge, or discard this patch.
public/htdocs/core/modules/bom/doc/doc_generic_bom_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.