Merge pull request #9858 from frederic34/patch-9

fix phpcs
This commit is contained in:
Laurent Destailleur 2018-10-24 12:24:06 +02:00 committed by GitHub
commit e23b11e52b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 8 additions and 23 deletions

View File

@ -714,10 +714,9 @@ class pdf_eratosthene extends ModelePDFCommandes
}
}
// phpcs:disable PEAR.NamingConventions.ValidFunctionName.NotCamelCaps
/**
* Show payments table
*
*
* @param TCPDF $pdf Object PDF
* @param Object $object Object order
* @param int $posy Position y in PDF
@ -726,11 +725,8 @@ class pdf_eratosthene extends ModelePDFCommandes
*/
private function drawPaymentsTable(&$pdf, $object, $posy, $outputlangs)
{
// phpcs:enable
}
// phpcs:disable PEAR.NamingConventions.ValidFunctionName.NotCamelCaps
/**
* Show miscellaneous information (payment mode, payment term, ...)
*
@ -742,7 +738,6 @@ class pdf_eratosthene extends ModelePDFCommandes
*/
private function drawInfoTable(&$pdf, $object, $posy, $outputlangs)
{
// phpcs:enable
global $conf;
$default_font_size = pdf_getPDFFontSize($outputlangs);
@ -918,7 +913,7 @@ class pdf_eratosthene extends ModelePDFCommandes
}
/** phpcs:disable PEAR.NamingConventions.ValidFunctionName.NotCamelCaps
/**
* Show total to pay
*
* @param TCPDF $pdf Object PDF
@ -930,7 +925,6 @@ class pdf_eratosthene extends ModelePDFCommandes
*/
private function drawTotalTable(&$pdf, $object, $deja_regle, $posy, $outputlangs)
{
// phpcs:enable
global $conf,$mysoc;
$default_font_size = pdf_getPDFFontSize($outputlangs);

View File

@ -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
*

View File

@ -875,7 +875,7 @@ class pdf_cyan extends ModelePDFPropales
}
}
/** phpcs:disable PEAR.NamingConventions.ValidFunctionName.NotCamelCaps
/**
* Show payments table
*
* @param TCPDF $pdf Object PDF
@ -886,11 +886,9 @@ class pdf_cyan extends ModelePDFPropales
*/
private function drawPaymentsTable(&$pdf, $object, $posy, $outputlangs)
{
// phpcs:enable
}
/** phpcs:disable PEAR.NamingConventions.ValidFunctionName.NotCamelCaps
/**
* Show miscellaneous information (payment mode, payment term, ...)
*
* @param TCPDF $pdf Object PDF
@ -901,7 +899,6 @@ class pdf_cyan extends ModelePDFPropales
*/
function drawInfoTable(&$pdf, $object, $posy, $outputlangs)
{
// phpcs:enable
global $conf;
$default_font_size = pdf_getPDFFontSize($outputlangs);

View File

@ -4863,4 +4863,4 @@ class Product extends CommonObject
dol_print_error($this->db);
}
}
}
}