Test Failed
Push — main ( c8394f...8477f1 )
by Rafael
66:21
created
public/htdocs/core/modules/mailings/advthirdparties.modules.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@  discard block
 block discarded – undo
52 52
     }
53 53
 
54 54
 
55
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
55
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
56 56
     /**
57 57
      *    This is the main function that returns the array of emails
58 58
      *
@@ -64,7 +64,7 @@  discard block
 block discarded – undo
64 64
      */
65 65
     public function add_to_target_spec($mailing_id, $socid, $type_of_target, $contactid)
66 66
     {
67
-		// phpcs:enable
67
+        // phpcs:enable
68 68
         global $conf, $langs;
69 69
 
70 70
         dol_syslog(get_class($this) . "::add_to_target_spec socid=" . var_export($socid, true) . ' contactid=' . var_export($contactid, true));
Please login to merge, or discard this patch.
public/htdocs/core/modules/mailings/pomme.modules.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -150,7 +150,7 @@  discard block
 block discarded – undo
150 150
     }
151 151
 
152 152
 
153
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
153
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
154 154
     /**
155 155
      *  Ajoute destinataires dans table des cibles
156 156
      *
@@ -159,7 +159,7 @@  discard block
 block discarded – undo
159 159
      */
160 160
     public function add_to_target($mailing_id)
161 161
     {
162
-		// phpcs:enable
162
+        // phpcs:enable
163 163
         global $conf, $langs;
164 164
         $langs->load("companies");
165 165
 
Please login to merge, or discard this patch.
htdocs/core/modules/mailings/thirdparties_services_expired.modules.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -78,7 +78,7 @@  discard block
 block discarded – undo
78 78
     }
79 79
 
80 80
 
81
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
81
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
82 82
     /**
83 83
      *  This is the main function that returns the array of emails
84 84
      *
@@ -89,7 +89,7 @@  discard block
 block discarded – undo
89 89
     {
90 90
         global $conf;
91 91
 
92
-		// phpcs:enable
92
+        // phpcs:enable
93 93
         $key = GETPOSTINT('filter');
94 94
 
95 95
         $cibles = array();
Please login to merge, or discard this patch.
public/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.
public/htdocs/core/modules/export/export_tsv.modules.php 1 patch
Indentation   +14 added lines, -14 removed lines patch added patch discarded remove patch
@@ -151,7 +151,7 @@  discard block
 block discarded – undo
151 151
     }
152 152
 
153 153
 
154
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
154
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
155 155
     /**
156 156
      *   Open output file
157 157
      *
@@ -161,7 +161,7 @@  discard block
 block discarded – undo
161 161
      */
162 162
     public function open_file($file, $outputlangs)
163 163
     {
164
-		// phpcs:enable
164
+        // phpcs:enable
165 165
         global $langs;
166 166
 
167 167
         dol_syslog("ExportTsv::open_file file=" . $file);
@@ -179,7 +179,7 @@  discard block
 block discarded – undo
179 179
         return $ret;
180 180
     }
181 181
 
182
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
182
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
183 183
     /**
184 184
      *  Output header into file
185 185
      *
@@ -188,12 +188,12 @@  discard block
 block discarded – undo
188 188
      */
189 189
     public function write_header($outputlangs)
190 190
     {
191
-		// phpcs:enable
191
+        // phpcs:enable
192 192
         return 0;
193 193
     }
194 194
 
195 195
 
196
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
196
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
197 197
     /**
198 198
      *  Output title line into file
199 199
      *
@@ -205,7 +205,7 @@  discard block
 block discarded – undo
205 205
      */
206 206
     public function write_title($array_export_fields_label, $array_selected_sorted, $outputlangs, $array_types)
207 207
     {
208
-		// phpcs:enable
208
+        // phpcs:enable
209 209
         $selectlabel = array();
210 210
         foreach ($array_selected_sorted as $code => $value) {
211 211
             $newvalue = $outputlangs->transnoentities($array_export_fields_label[$code]); // newvalue is now $outputlangs->charset_output encoded
@@ -226,7 +226,7 @@  discard block
 block discarded – undo
226 226
     }
227 227
 
228 228
 
229
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
229
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
230 230
     /**
231 231
      *  Output record line into file
232 232
      *
@@ -238,7 +238,7 @@  discard block
 block discarded – undo
238 238
      */
239 239
     public function write_record($array_selected_sorted, $objp, $outputlangs, $array_types)
240 240
     {
241
-		// phpcs:enable
241
+        // phpcs:enable
242 242
         global $conf;
243 243
 
244 244
         $this->col = 0;
@@ -284,7 +284,7 @@  discard block
 block discarded – undo
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
      *  Output footer into file
290 290
      *
@@ -293,11 +293,11 @@  discard block
 block discarded – undo
293 293
      */
294 294
     public function write_footer($outputlangs)
295 295
     {
296
-		// phpcs:enable
296
+        // phpcs:enable
297 297
         return 0;
298 298
     }
299 299
 
300
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
300
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
301 301
     /**
302 302
      *  Close file handle
303 303
      *
@@ -305,12 +305,12 @@  discard block
 block discarded – undo
305 305
      */
306 306
     public function close_file()
307 307
     {
308
-		// phpcs:enable
308
+        // phpcs:enable
309 309
         fclose($this->handle);
310 310
         return 0;
311 311
     }
312 312
 
313
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
313
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
314 314
     /**
315 315
      * Clean a cell to respect rules of TSV file cells
316 316
      *
@@ -320,7 +320,7 @@  discard block
 block discarded – undo
320 320
      */
321 321
     public function tsv_clean($newvalue, $charset)
322 322
     {
323
-		// phpcs:enable
323
+        // phpcs:enable
324 324
         // Rule Dolibarr: No HTML
325 325
         $newvalue = dol_string_nohtmltag($newvalue, 1, $charset);
326 326
 
Please login to merge, or discard this patch.
public/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.
public/htdocs/core/modules/export/export_csviso.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.
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.