From 1611c613f56c541ea23242bf88466e6630442f88 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Fri, 8 Feb 2019 12:19:51 +0100 Subject: [PATCH] Fix phpcs --- htdocs/core/modules/facture/doc/pdf_crabe.modules.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/htdocs/core/modules/facture/doc/pdf_crabe.modules.php b/htdocs/core/modules/facture/doc/pdf_crabe.modules.php index 6165e948fd0..c22b1d23ef7 100644 --- a/htdocs/core/modules/facture/doc/pdf_crabe.modules.php +++ b/htdocs/core/modules/facture/doc/pdf_crabe.modules.php @@ -923,6 +923,7 @@ class pdf_crabe extends ModelePDFFactures } } + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.NotCamelCaps /** * Function _tableau_versements_header * @@ -938,7 +939,8 @@ class pdf_crabe extends ModelePDFFactures */ function _tableau_versements_header($pdf, $object, $outputlangs, $default_font_size, $tab3_posx, $tab3_top, $tab3_width, $tab3_height) { - $title=$outputlangs->transnoentities("PaymentsAlreadyDone"); + // phpcs:enable + $title=$outputlangs->transnoentities("PaymentsAlreadyDone"); if ($object->type == 2) $title=$outputlangs->transnoentities("PaymentsBackAlreadyDone"); $pdf->SetFont('','', $default_font_size - 3);