Fix travis messages

This commit is contained in:
John BOTELLA 2018-10-23 17:18:30 +02:00
parent e0b20c2632
commit d9965d1986
3 changed files with 29 additions and 16 deletions

View File

@ -145,7 +145,7 @@ class pdf_eratosthene extends ModelePDFCommandes
$this->atleastonediscount=0;
}
/**
/** phpcs:disable PEAR.NamingConventions.ValidFunctionName.NotCamelCaps
* Function to build pdf onto disk
*
* @param Object $object Object to generate
@ -158,6 +158,7 @@ class pdf_eratosthene extends ModelePDFCommandes
*/
function write_file($object, $outputlangs, $srctemplatepath='', $hidedetails=0, $hidedesc=0, $hideref=0)
{
// phpcs:enable
global $user, $langs, $conf, $mysoc, $db, $hookmanager, $nblignes;
if (! is_object($outputlangs)) $outputlangs=$langs;
@ -711,7 +712,7 @@ class pdf_eratosthene extends ModelePDFCommandes
}
}
/**
/** phpcs:disable PEAR.NamingConventions.ValidFunctionName.NotCamelCaps
* Show payments table
*
* @param TCPDF $pdf Object PDF
@ -722,11 +723,12 @@ class pdf_eratosthene extends ModelePDFCommandes
*/
function _tableau_versements(&$pdf, $object, $posy, $outputlangs)
{
// phpcs:enable
}
/**
/** phpcs:disable PEAR.NamingConventions.ValidFunctionName.NotCamelCaps
* Show miscellaneous information (payment mode, payment term, ...)
*
* @param TCPDF $pdf Object PDF
@ -737,6 +739,7 @@ class pdf_eratosthene extends ModelePDFCommandes
*/
function _tableau_info(&$pdf, $object, $posy, $outputlangs)
{
// phpcs:enable
global $conf;
$default_font_size = pdf_getPDFFontSize($outputlangs);
@ -912,7 +915,7 @@ class pdf_eratosthene extends ModelePDFCommandes
}
/**
/** phpcs:disable PEAR.NamingConventions.ValidFunctionName.NotCamelCaps
* Show total to pay
*
* @param TCPDF $pdf Object PDF
@ -924,6 +927,7 @@ class pdf_eratosthene extends ModelePDFCommandes
*/
function _tableau_tot(&$pdf, $object, $deja_regle, $posy, $outputlangs)
{
// phpcs:enable
global $conf,$mysoc;
$default_font_size = pdf_getPDFFontSize($outputlangs);
@ -1485,7 +1489,8 @@ class pdf_eratosthene extends ModelePDFCommandes
* @param int $hideref Do not show ref
* @return null
*/
function defineColumnField($object,$outputlangs,$hidedetails=0,$hidedesc=0,$hideref=0){
function defineColumnField($object,$outputlangs,$hidedetails=0,$hidedesc=0,$hideref=0)
{
global $conf, $hookmanager;

View File

@ -159,7 +159,7 @@ class pdf_sponge extends ModelePDFFactures
}
/**
/** phpcs:disable PEAR.NamingConventions.ValidFunctionName.NotCamelCaps
* Function to build pdf onto disk
*
* @param Object $object Object to generate
@ -172,6 +172,7 @@ class pdf_sponge extends ModelePDFFactures
*/
function write_file($object,$outputlangs,$srctemplatepath='',$hidedetails=0,$hidedesc=0,$hideref=0)
{
// phpcs:enable
global $user,$langs,$conf,$mysoc,$db,$hookmanager,$nblignes;
if (! is_object($outputlangs)) $outputlangs=$langs;
@ -846,7 +847,7 @@ class pdf_sponge extends ModelePDFFactures
}
/**
/** phpcs:disable PEAR.NamingConventions.ValidFunctionName.NotCamelCaps
* Show payments table
*
* @param PDF $pdf Object PDF
@ -857,6 +858,7 @@ class pdf_sponge extends ModelePDFFactures
*/
function _tableau_versements(&$pdf, $object, $posy, $outputlangs)
{
// phpcs:enable
global $conf;
$sign=1;
@ -986,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
@ -997,6 +999,7 @@ class pdf_sponge extends ModelePDFFactures
*/
function _tableau_info(&$pdf, $object, $posy, $outputlangs)
{
// phpcs:enable
global $conf;
$default_font_size = pdf_getPDFFontSize($outputlangs);
@ -1143,7 +1146,7 @@ class pdf_sponge extends ModelePDFFactures
}
/**
/** phpcs:disable PEAR.NamingConventions.ValidFunctionName.NotCamelCaps
* Show total to pay
*
* @param PDF $pdf Object PDF
@ -1155,6 +1158,7 @@ class pdf_sponge extends ModelePDFFactures
*/
function _tableau_tot(&$pdf, $object, $deja_regle, $posy, $outputlangs)
{
// phpcs:enable
global $conf,$mysoc;
$sign=1;
@ -1838,7 +1842,8 @@ class pdf_sponge extends ModelePDFFactures
* @param int $hideref Do not show ref
* @return null
*/
function defineColumnField($object,$outputlangs,$hidedetails=0,$hidedesc=0,$hideref=0){
function defineColumnField($object,$outputlangs,$hidedetails=0,$hidedesc=0,$hideref=0)
{
global $conf, $hookmanager;

View File

@ -117,7 +117,7 @@ class pdf_cyan extends ModelePDFPropales
$this->atleastonediscount=0;
}
/**
/** phpcs:disable PEAR.NamingConventions.ValidFunctionName.NotCamelCaps
* Function to build pdf onto disk
*
* @param Object $object Object to generate
@ -130,6 +130,7 @@ class pdf_cyan extends ModelePDFPropales
*/
function write_file($object,$outputlangs,$srctemplatepath='',$hidedetails=0,$hidedesc=0,$hideref=0)
{
// phpcs:enable
global $user,$langs,$conf,$mysoc,$db,$hookmanager,$nblignes;
if (! is_object($outputlangs)) $outputlangs=$langs;
@ -872,7 +873,7 @@ class pdf_cyan extends ModelePDFPropales
}
}
/**
/** phpcs:disable PEAR.NamingConventions.ValidFunctionName.NotCamelCaps
* Show payments table
*
* @param TCPDF $pdf Object PDF
@ -883,11 +884,11 @@ class pdf_cyan extends ModelePDFPropales
*/
function _tableau_versements(&$pdf, $object, $posy, $outputlangs)
{
// phpcs:enable
}
/**
/** phpcs:disable PEAR.NamingConventions.ValidFunctionName.NotCamelCaps
* Show miscellaneous information (payment mode, payment term, ...)
*
* @param TCPDF $pdf Object PDF
@ -898,6 +899,7 @@ class pdf_cyan extends ModelePDFPropales
*/
function _tableau_info(&$pdf, $object, $posy, $outputlangs)
{
// phpcs:enable
global $conf;
$default_font_size = pdf_getPDFFontSize($outputlangs);
@ -1701,7 +1703,8 @@ class pdf_cyan extends ModelePDFPropales
* @param int $hideref Do not show ref
* @return null
*/
function defineColumnField($object,$outputlangs,$hidedetails=0,$hidedesc=0,$hideref=0){
function defineColumnField($object,$outputlangs,$hidedetails=0,$hidedesc=0,$hideref=0)
{
global $conf, $hookmanager;