From d9d346aab28ec1ebc4153fb6b63fde59a502cfb4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20FRANCE?= Date: Wed, 24 Oct 2018 08:22:17 +0200 Subject: [PATCH] Update pdf_sponge.modules.php --- .../core/modules/facture/doc/pdf_sponge.modules.php | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/htdocs/core/modules/facture/doc/pdf_sponge.modules.php b/htdocs/core/modules/facture/doc/pdf_sponge.modules.php index 4032a6c41a5..d03d60f50fe 100644 --- a/htdocs/core/modules/facture/doc/pdf_sponge.modules.php +++ b/htdocs/core/modules/facture/doc/pdf_sponge.modules.php @@ -849,7 +849,7 @@ class pdf_sponge extends ModelePDFFactures } - /** phpcs:disable PEAR.NamingConventions.ValidFunctionName.NotCamelCaps + /** * Show payments table * * @param PDF $pdf Object PDF @@ -860,7 +860,6 @@ class pdf_sponge extends ModelePDFFactures */ function drawPaymentsTable(&$pdf, $object, $posy, $outputlangs) { - // phpcs:enable global $conf; $sign=1; @@ -989,7 +988,7 @@ class pdf_sponge extends ModelePDFFactures } - /** phpcs:disable PEAR.NamingConventions.ValidFunctionName.NotCamelCaps + /** * Show miscellaneous information (payment mode, payment term, ...) * * @param PDF $pdf Object PDF @@ -1000,7 +999,6 @@ class pdf_sponge extends ModelePDFFactures */ private function drawInfoTable(&$pdf, $object, $posy, $outputlangs) { - // phpcs:enable global $conf; $default_font_size = pdf_getPDFFontSize($outputlangs); @@ -1147,7 +1145,7 @@ class pdf_sponge extends ModelePDFFactures } - /** phpcs:disable PEAR.NamingConventions.ValidFunctionName.NotCamelCaps + /** * Show total to pay * * @param PDF $pdf Object PDF @@ -1159,7 +1157,6 @@ class pdf_sponge extends ModelePDFFactures */ private function drawTotalTable(&$pdf, $object, $deja_regle, $posy, $outputlangs) { - // phpcs:enable global $conf,$mysoc; $sign=1; @@ -1828,9 +1825,6 @@ class pdf_sponge extends ModelePDFFactures return pdf_pagefoot($pdf,$outputlangs,'INVOICE_FREE_TEXT',$this->emetteur,$this->marge_basse,$this->marge_gauche,$this->page_hauteur,$object,$showdetails,$hidefreetext); } - - - /** * Define Array Column Field *