@@ -136,7 +136,7 @@ discard block |
||
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 |
||
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 |
||
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 |
||
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 |
||
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 | * |
@@ -165,7 +165,7 @@ discard block |
||
165 | 165 | } |
166 | 166 | |
167 | 167 | |
168 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
168 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
169 | 169 | /** |
170 | 170 | * Fonction generant le projet sur le disque |
171 | 171 | * |
@@ -175,7 +175,7 @@ discard block |
||
175 | 175 | */ |
176 | 176 | public function write_file($object, $outputlangs) |
177 | 177 | { |
178 | - // phpcs:enable |
|
178 | + // phpcs:enable |
|
179 | 179 | global $conf, $hookmanager, $langs, $user; |
180 | 180 | |
181 | 181 | $formproject = new FormProjets($this->db); |
@@ -733,7 +733,7 @@ discard block |
||
733 | 733 | } |
734 | 734 | } |
735 | 735 | |
736 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
736 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
737 | 737 | /** |
738 | 738 | * Show table for lines |
739 | 739 | * |
@@ -764,7 +764,7 @@ discard block |
||
764 | 764 | $pdf->SetFont('', '', $default_font_size); |
765 | 765 | } |
766 | 766 | |
767 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
767 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
768 | 768 | /** |
769 | 769 | * Show top header of page. |
770 | 770 | * |
@@ -832,7 +832,7 @@ discard block |
||
832 | 832 | return 0; |
833 | 833 | } |
834 | 834 | |
835 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
835 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
836 | 836 | /** |
837 | 837 | * Show footer of page. Need this->emetteur object |
838 | 838 | * |
@@ -131,7 +131,7 @@ discard block |
||
131 | 131 | } |
132 | 132 | |
133 | 133 | |
134 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
134 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
135 | 135 | /** |
136 | 136 | * Function to build pdf project onto disk |
137 | 137 | * |
@@ -141,7 +141,7 @@ discard block |
||
141 | 141 | */ |
142 | 142 | public function write_file($object, $outputlangs) |
143 | 143 | { |
144 | - // phpcs:enable |
|
144 | + // phpcs:enable |
|
145 | 145 | global $conf, $hookmanager, $langs, $user; |
146 | 146 | |
147 | 147 | if (!is_object($outputlangs)) { |
@@ -499,7 +499,7 @@ discard block |
||
499 | 499 | } |
500 | 500 | } |
501 | 501 | |
502 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
502 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
503 | 503 | /** |
504 | 504 | * Show table for lines |
505 | 505 | * |
@@ -547,7 +547,7 @@ discard block |
||
547 | 547 | $pdf->MultiCell($this->page_largeur - $this->marge_droite - $this->posxuser, 3, '', 0, 'C'); |
548 | 548 | } |
549 | 549 | |
550 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
550 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
551 | 551 | /** |
552 | 552 | * Show top header of page. |
553 | 553 | * |
@@ -639,7 +639,7 @@ discard block |
||
639 | 639 | return 0; |
640 | 640 | } |
641 | 641 | |
642 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
642 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
643 | 643 | /** |
644 | 644 | * Show footer of page. Need this->emetteur object |
645 | 645 | * |
@@ -130,7 +130,7 @@ discard block |
||
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 |
||
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 |
||
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 |
||
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 |
||
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 |
||
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 |
||
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 |
||
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 |
||
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 |
||
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 |
||
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 |
||
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 |
||
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 |
||
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 |
||
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 |
||
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 |
||
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 |
||
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)) { |
@@ -130,7 +130,7 @@ discard block |
||
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 |
||
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 |
||
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 |
||
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 |
||
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 |
||
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 |
||
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 |
||
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 |
||
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 |
||
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 |
||
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 |
||
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 |
||
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 |
||
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 |
||
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 |
||
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 |
||
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 |
||
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)) { |
@@ -35,7 +35,7 @@ discard block |
||
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 |
||
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 |
@@ -127,7 +127,7 @@ discard block |
||
127 | 127 | } |
128 | 128 | } |
129 | 129 | |
130 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
130 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
131 | 131 | /** |
132 | 132 | * Function to build pdf onto disk |
133 | 133 | * |
@@ -141,7 +141,7 @@ discard block |
||
141 | 141 | */ |
142 | 142 | public function write_file($object, $outputlangs, $srctemplatepath = '', $hidedetails = 0, $hidedesc = 0, $hideref = 0) |
143 | 143 | { |
144 | - // phpcs:enable |
|
144 | + // phpcs:enable |
|
145 | 145 | global $user, $conf, $langs, $hookmanager; |
146 | 146 | |
147 | 147 | $object->fetch_thirdparty(); |
@@ -676,8 +676,8 @@ discard block |
||
676 | 676 | } |
677 | 677 | } |
678 | 678 | |
679 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
680 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
679 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
680 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
681 | 681 | /** |
682 | 682 | * Show total to pay |
683 | 683 | * |
@@ -692,7 +692,7 @@ discard block |
||
692 | 692 | */ |
693 | 693 | protected function _tableau_tot(&$pdf, $object, $deja_regle, $posy, $outputlangs, $totalOrdered, $totalAmount = 0) |
694 | 694 | { |
695 | - // phpcs:enable |
|
695 | + // phpcs:enable |
|
696 | 696 | global $conf, $mysoc; |
697 | 697 | |
698 | 698 | $sign = 1; |
@@ -794,7 +794,7 @@ discard block |
||
794 | 794 | return ($tab2_top + ($tab2_hl * $index)); |
795 | 795 | } |
796 | 796 | |
797 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
797 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
798 | 798 | /** |
799 | 799 | * Show table for lines |
800 | 800 | * |
@@ -888,7 +888,7 @@ discard block |
||
888 | 888 | } |
889 | 889 | } |
890 | 890 | |
891 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
891 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
892 | 892 | /** |
893 | 893 | * Show top header of page. |
894 | 894 | * |
@@ -1129,7 +1129,7 @@ discard block |
||
1129 | 1129 | return $top_shift; |
1130 | 1130 | } |
1131 | 1131 | |
1132 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
1132 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
1133 | 1133 | /** |
1134 | 1134 | * Show footer of page. Need this->emetteur object |
1135 | 1135 | * |
@@ -195,7 +195,7 @@ discard block |
||
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 |
||
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)) { |
@@ -32,7 +32,7 @@ discard block |
||
32 | 32 | */ |
33 | 33 | abstract class ModelePdfReception extends CommonDocGenerator |
34 | 34 | { |
35 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
35 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
36 | 36 | /** |
37 | 37 | * Return list of active generation modules |
38 | 38 | * |
@@ -42,7 +42,7 @@ discard block |
||
42 | 42 | */ |
43 | 43 | public static function liste_modeles($db, $maxfilenamelength = 0) |
44 | 44 | { |
45 | - // phpcs:enable |
|
45 | + // phpcs:enable |
|
46 | 46 | $type = 'reception'; |
47 | 47 | $list = array(); |
48 | 48 |