Test Failed
Push — main ( ac1cad...7178bf )
by Rafael
50:59
created
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.
htdocs/core/modules/member/doc/doc_generic_member_odt.class.php 2 patches
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.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -167,7 +167,7 @@
 block discarded – undo
167 167
         $maxfilesizearray = getMaxFileSizeArray();
168 168
         $maxmin = $maxfilesizearray['maxmin'];
169 169
         if ($maxmin > 0) {
170
-            $texte .= '<input type="hidden" name="MAX_FILE_SIZE" value="' . ($maxmin * 1024) . '">';    // MAX_FILE_SIZE must precede the field type=file
170
+            $texte .= '<input type="hidden" name="MAX_FILE_SIZE" value="' . ($maxmin * 1024) . '">'; // MAX_FILE_SIZE must precede the field type=file
171 171
         }
172 172
         $texte .= ' <input type="file" name="uploadfile">';
173 173
         $texte .= '<input type="hidden" value="MEMBER_ADDON_PDF_ODT_PATH" name="keyforuploaddir">';
Please login to merge, or discard this patch.
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.
htdocs/core/modules/movement/doc/pdf_standard.modules.php 2 patches
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.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -293,7 +293,7 @@
 block discarded – undo
293 293
         // Add where from extra fields
294 294
         include DOL_DOCUMENT_ROOT . '/core/tpl/extrafields_list_search_sql.tpl.php';
295 295
         // Add where from hooks
296
-        $parameters = array();  // @phan-suppress-current-line PhanPluginRedundantAssignment
296
+        $parameters = array(); // @phan-suppress-current-line PhanPluginRedundantAssignment
297 297
         $reshook = $hookmanager->executeHooks('printFieldListWhere', $parameters); // Note that $action and $object may have been modified by hook
298 298
         $sql .= $hookmanager->resPrint;
299 299
         $sql .= $this->db->order($sortfield, $sortorder);
Please login to merge, or discard this patch.
htdocs/core/modules/project/task/doc/doc_generic_task_odt.modules.php 2 patches
Indentation   +18 added lines, -18 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
      * Define array with couple substitution key => substitution value
136 136
      *
@@ -141,7 +141,7 @@  discard block
 block discarded – undo
141 141
      */
142 142
     public function get_substitutionarray_object($object, $outputlangs, $array_key = 'object')
143 143
     {
144
-		// phpcs:enable
144
+        // phpcs:enable
145 145
         global $extrafields;
146 146
 
147 147
         if (!$object instanceof Project) {
@@ -174,7 +174,7 @@  discard block
 block discarded – undo
174 174
         return $resarray;
175 175
     }
176 176
 
177
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
177
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
178 178
     /**
179 179
      *  Define array with couple substitution key => substitution value
180 180
      *
@@ -185,7 +185,7 @@  discard block
 block discarded – undo
185 185
      */
186 186
     public function get_substitutionarray_tasks($task, $outputlangs, $array_key = 'task')
187 187
     {
188
-		// phpcs:enable
188
+        // phpcs:enable
189 189
         global $extrafields;
190 190
 
191 191
         $resarray = array(
@@ -218,7 +218,7 @@  discard block
 block discarded – undo
218 218
         return $resarray;
219 219
     }
220 220
 
221
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
221
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
222 222
     /**
223 223
      *  Define array with couple substitution key => substitution value
224 224
      *
@@ -228,7 +228,7 @@  discard block
 block discarded – undo
228 228
      */
229 229
     public function get_substitutionarray_project_contacts($contact, $outputlangs)
230 230
     {
231
-		// phpcs:enable
231
+        // phpcs:enable
232 232
         return array(
233 233
             'projcontacts_id' => $contact['id'],
234 234
             'projcontacts_rowid' => $contact['rowid'],
@@ -241,7 +241,7 @@  discard block
 block discarded – undo
241 241
         );
242 242
     }
243 243
 
244
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
244
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
245 245
     /**
246 246
      *  Define array with couple substitution key => substitution value
247 247
      *
@@ -251,7 +251,7 @@  discard block
 block discarded – undo
251 251
      */
252 252
     public function get_substitutionarray_project_file($file, $outputlangs)
253 253
     {
254
-		// phpcs:enable
254
+        // phpcs:enable
255 255
         return array(
256 256
             'projfile_name' => $file['name'],
257 257
             'projfile_date' => dol_print_date($file['date'], 'day'),
@@ -259,7 +259,7 @@  discard block
 block discarded – undo
259 259
         );
260 260
     }
261 261
 
262
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
262
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
263 263
     /**
264 264
      *  Define array with couple substitution key => substitution value
265 265
      *
@@ -269,7 +269,7 @@  discard block
 block discarded – undo
269 269
      */
270 270
     public function get_substitutionarray_project_reference($refdetail, $outputlangs)
271 271
     {
272
-		// phpcs:enable
272
+        // phpcs:enable
273 273
         return array(
274 274
             'projref_type' => $refdetail['type'],
275 275
             'projref_ref' => $refdetail['ref'],
@@ -281,7 +281,7 @@  discard block
 block discarded – undo
281 281
         );
282 282
     }
283 283
 
284
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
284
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
285 285
     /**
286 286
      *  Define array with couple substitution key => substitution value
287 287
      *
@@ -291,7 +291,7 @@  discard block
 block discarded – undo
291 291
      */
292 292
     public function get_substitutionarray_tasksressource($taskresource, $outputlangs)
293 293
     {
294
-		// phpcs:enable
294
+        // phpcs:enable
295 295
 
296 296
         //dol_syslog(get_class($this).'::get_substitutionarray_tasksressource taskressource='.var_export($taskressource,true),LOG_DEBUG);
297 297
         return array(
@@ -305,7 +305,7 @@  discard block
 block discarded – undo
305 305
         );
306 306
     }
307 307
 
308
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
308
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
309 309
     /**
310 310
      *  Define array with couple substitution key => substitution value
311 311
      *
@@ -315,7 +315,7 @@  discard block
 block discarded – undo
315 315
      */
316 316
     public function get_substitutionarray_taskstime($tasktime, $outputlangs)
317 317
     {
318
-		// phpcs:enable
318
+        // phpcs:enable
319 319
         global $conf;
320 320
 
321 321
         return array(
@@ -330,7 +330,7 @@  discard block
 block discarded – undo
330 330
         );
331 331
     }
332 332
 
333
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
333
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
334 334
     /**
335 335
      *  Define array with couple substitution key => substitution value
336 336
      *
@@ -340,7 +340,7 @@  discard block
 block discarded – undo
340 340
      */
341 341
     public function get_substitutionarray_task_file($file, $outputlangs)
342 342
     {
343
-		// phpcs:enable
343
+        // phpcs:enable
344 344
         return array(
345 345
             'tasksfile_name' => $file['name'],
346 346
             'tasksfile_date' => dol_print_date($file['date'], 'day'),
@@ -449,7 +449,7 @@  discard block
 block discarded – undo
449 449
         return $texte;
450 450
     }
451 451
 
452
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
452
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
453 453
     /**
454 454
      *  Function to build a document on disk using the generic odt module.
455 455
      *
@@ -460,7 +460,7 @@  discard block
 block discarded – undo
460 460
      */
461 461
     public function write_file($object, $outputlangs, $srctemplatepath)
462 462
     {
463
-		// phpcs:enable
463
+        // phpcs:enable
464 464
         global $user, $langs, $conf, $mysoc, $hookmanager;
465 465
 
466 466
         if (empty($srctemplatepath)) {
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -433,7 +433,7 @@  discard block
 block discarded – undo
433 433
         $maxfilesizearray = getMaxFileSizeArray();
434 434
         $maxmin = $maxfilesizearray['maxmin'];
435 435
         if ($maxmin > 0) {
436
-            $texte .= '<input type="hidden" name="MAX_FILE_SIZE" value="' . ($maxmin * 1024) . '">';    // MAX_FILE_SIZE must precede the field type=file
436
+            $texte .= '<input type="hidden" name="MAX_FILE_SIZE" value="' . ($maxmin * 1024) . '">'; // MAX_FILE_SIZE must precede the field type=file
437 437
         }
438 438
         $texte .= ' <input type="file" name="uploadfile">';
439 439
         $texte .= '<input type="hidden" value="PROJECT_TASK_ADDON_PDF_ODT_PATH" name="keyforuploaddir">';
@@ -766,7 +766,7 @@  discard block
 block discarded – undo
766 766
                 }
767 767
 
768 768
                 // Replace tags of lines for contacts
769
-                $sourcearray = array('internal', 'external');  // @phan-suppress-current-line PhanPluginRedundantAssignment
769
+                $sourcearray = array('internal', 'external'); // @phan-suppress-current-line PhanPluginRedundantAssignment
770 770
                 $contact_arrray = array();
771 771
                 foreach ($sourcearray as $source) {
772 772
                     $contact_temp = $project->liste_contact(-1, $source);
Please login to merge, or discard this patch.
htdocs/core/modules/project/task/modules_task.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 ModelePDFTask 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 = 'project_task';
50 50
         $list = array();
51 51
 
Please login to merge, or discard this patch.
htdocs/core/modules/project/modules_project.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@  discard block
 block discarded – undo
45 45
     public $description;
46 46
 
47 47
 
48
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
48
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
49 49
     /**
50 50
      *  Return list of active generation modules
51 51
      *
@@ -55,7 +55,7 @@  discard block
 block discarded – undo
55 55
      */
56 56
     public static function liste_modeles($db, $maxfilenamelength = 0)
57 57
     {
58
-		// phpcs:enable
58
+        // phpcs:enable
59 59
         $type = 'project';
60 60
         $list = array();
61 61
 
Please login to merge, or discard this patch.
htdocs/core/modules/project/doc/doc_generic_project_odt.modules.php 2 patches
Indentation   +18 added lines, -18 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
      * Define array with couple substitution key => substitution value
136 136
      *
@@ -141,7 +141,7 @@  discard block
 block discarded – undo
141 141
      */
142 142
     public function get_substitutionarray_object($object, $outputlangs, $array_key = 'object')
143 143
     {
144
-		// phpcs:enable
144
+        // phpcs:enable
145 145
         if (!$object instanceof Project) {
146 146
             dol_syslog("Expected Project object, got " . gettype($object), LOG_ERR);
147 147
             return array();
@@ -172,7 +172,7 @@  discard block
 block discarded – undo
172 172
         return $resarray;
173 173
     }
174 174
 
175
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
175
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
176 176
     /**
177 177
      *  Define array with couple substitution key => substitution value
178 178
      *
@@ -182,7 +182,7 @@  discard block
 block discarded – undo
182 182
      */
183 183
     public function get_substitutionarray_tasks(Task $task, $outputlangs)
184 184
     {
185
-		// phpcs:enable
185
+        // phpcs:enable
186 186
         $resarray = array(
187 187
             'task_ref' => $task->ref,
188 188
             'task_fk_project' => $task->fk_project,
@@ -213,7 +213,7 @@  discard block
 block discarded – undo
213 213
         return $resarray;
214 214
     }
215 215
 
216
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
216
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
217 217
     /**
218 218
      *  Define array with couple substitution key => substitution value
219 219
      *
@@ -223,7 +223,7 @@  discard block
 block discarded – undo
223 223
      */
224 224
     public function get_substitutionarray_project_contacts($contact, $outputlangs)
225 225
     {
226
-		// phpcs:enable
226
+        // phpcs:enable
227 227
         $pc = 'projcontacts_'; // prefix to avoid typos
228 228
 
229 229
         $ret = array(
@@ -270,7 +270,7 @@  discard block
 block discarded – undo
270 270
         return $ret;
271 271
     }
272 272
 
273
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
273
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
274 274
     /**
275 275
      *  Define array with couple substitution key => substitution value
276 276
      *
@@ -280,7 +280,7 @@  discard block
 block discarded – undo
280 280
      */
281 281
     public function get_substitutionarray_project_file($file, $outputlangs)
282 282
     {
283
-		// phpcs:enable
283
+        // phpcs:enable
284 284
         return array(
285 285
             'projfile_name' => $file['name'],
286 286
             'projfile_date' => dol_print_date($file['date'], 'day'),
@@ -288,7 +288,7 @@  discard block
 block discarded – undo
288 288
         );
289 289
     }
290 290
 
291
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
291
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
292 292
     /**
293 293
      *  Define array with couple substitution key => substitution value
294 294
      *
@@ -298,7 +298,7 @@  discard block
 block discarded – undo
298 298
      */
299 299
     public function get_substitutionarray_project_reference($refdetail, $outputlangs)
300 300
     {
301
-		// phpcs:enable
301
+        // phpcs:enable
302 302
         global $conf;
303 303
 
304 304
         return array(
@@ -312,7 +312,7 @@  discard block
 block discarded – undo
312 312
         );
313 313
     }
314 314
 
315
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
315
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
316 316
     /**
317 317
      *  Define array with couple substitution key => substitution value
318 318
      *
@@ -322,7 +322,7 @@  discard block
 block discarded – undo
322 322
      */
323 323
     public function get_substitutionarray_tasksressource($taskresource, $outputlangs)
324 324
     {
325
-		// phpcs:enable
325
+        // phpcs:enable
326 326
 
327 327
         //dol_syslog(get_class($this).'::get_substitutionarray_tasksressource taskressource='.var_export($taskressource,true),LOG_DEBUG);
328 328
         return array(
@@ -336,7 +336,7 @@  discard block
 block discarded – undo
336 336
         );
337 337
     }
338 338
 
339
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
339
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
340 340
     /**
341 341
      *  Define array with couple substitution key => substitution value
342 342
      *
@@ -346,7 +346,7 @@  discard block
 block discarded – undo
346 346
      */
347 347
     public function get_substitutionarray_taskstime($tasktime, $outputlangs)
348 348
     {
349
-		// phpcs:enable
349
+        // phpcs:enable
350 350
         return array(
351 351
             'tasktime_rowid' => $tasktime['rowid'],
352 352
             'tasktime_task_date' => dol_print_date($tasktime['task_date'], 'day'),
@@ -363,7 +363,7 @@  discard block
 block discarded – undo
363 363
         );
364 364
     }
365 365
 
366
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
366
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
367 367
     /**
368 368
      *  Define array with couple substitution key => substitution value
369 369
      *
@@ -373,7 +373,7 @@  discard block
 block discarded – undo
373 373
      */
374 374
     public function get_substitutionarray_task_file($file, $outputlangs)
375 375
     {
376
-		// phpcs:enable
376
+        // phpcs:enable
377 377
         return array(
378 378
             'tasksfile_name' => $file['name'],
379 379
             'tasksfile_date' => dol_print_date($file['date'], 'day'),
@@ -482,7 +482,7 @@  discard block
 block discarded – undo
482 482
         return $texte;
483 483
     }
484 484
 
485
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
485
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
486 486
     /**
487 487
      *  Function to build a document on disk using the generic odt module.
488 488
      *
@@ -493,7 +493,7 @@  discard block
 block discarded – undo
493 493
      */
494 494
     public function write_file($object, $outputlangs, $srctemplatepath)
495 495
     {
496
-		// phpcs:enable
496
+        // phpcs:enable
497 497
         global $user, $langs, $conf, $mysoc, $hookmanager;
498 498
 
499 499
         if (empty($srctemplatepath)) {
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -466,7 +466,7 @@
 block discarded – undo
466 466
         $maxfilesizearray = getMaxFileSizeArray();
467 467
         $maxmin = $maxfilesizearray['maxmin'];
468 468
         if ($maxmin > 0) {
469
-            $texte .= '<input type="hidden" name="MAX_FILE_SIZE" value="' . ($maxmin * 1024) . '">';    // MAX_FILE_SIZE must precede the field type=file
469
+            $texte .= '<input type="hidden" name="MAX_FILE_SIZE" value="' . ($maxmin * 1024) . '">'; // MAX_FILE_SIZE must precede the field type=file
470 470
         }
471 471
         $texte .= ' <input type="file" name="uploadfile">';
472 472
         $texte .= '<input type="hidden" value="PROJECT_ADDON_PDF_ODT_PATH" name="keyforuploaddir">';
Please login to merge, or discard this patch.
htdocs/core/modules/project/doc/pdf_baleine.modules.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -136,7 +136,7 @@  discard block
 block discarded – undo
136 136
     }
137 137
 
138 138
 
139
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
139
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
140 140
     /**
141 141
      *  Function to build pdf project onto disk
142 142
      *
@@ -146,7 +146,7 @@  discard block
 block discarded – undo
146 146
      */
147 147
     public function write_file($object, $outputlangs)
148 148
     {
149
-		// phpcs:enable
149
+        // phpcs:enable
150 150
         global $conf, $hookmanager, $langs, $user;
151 151
 
152 152
         if (!is_object($outputlangs)) {
@@ -501,7 +501,7 @@  discard block
 block discarded – undo
501 501
         }
502 502
     }
503 503
 
504
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
504
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
505 505
     /**
506 506
      *   Show table for lines
507 507
      *
@@ -554,7 +554,7 @@  discard block
 block discarded – undo
554 554
         $pdf->MultiCell($this->page_largeur - $this->marge_droite - $this->posxdateend, 3, $outputlangs->trans("End"), 0, 'C');
555 555
     }
556 556
 
557
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
557
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
558 558
     /**
559 559
      *  Show top header of page.
560 560
      *
@@ -648,7 +648,7 @@  discard block
 block discarded – undo
648 648
         return 0;
649 649
     }
650 650
 
651
-	// phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
651
+    // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
652 652
     /**
653 653
      *  Show footer of page. Need this->emetteur object
654 654
      *
Please login to merge, or discard this patch.