move phpcs:ignore

This commit is contained in:
Frédéric FRANCE
2018-09-02 22:05:19 +02:00
parent 22b9632555
commit 2a9ef8dc05
17 changed files with 140 additions and 92 deletions

View File

@@ -40,6 +40,7 @@ abstract class ModelePDFFicheinter extends CommonDocGenerator
public $error='';
// phpcs:disable PEAR.NamingConventions.ValidFunctionName.NotCamelCaps
/**
* Return list of active generation modules
*
@@ -47,9 +48,9 @@ abstract class ModelePDFFicheinter extends CommonDocGenerator
* @param integer $maxfilenamelength Max length of value to show
* @return array List of templates
*/
// phpcs:ignore PEAR.NamingConventions.ValidFunctionName.NotCamelCaps
static function liste_modeles($db,$maxfilenamelength=0)
{
// phpcs:enable
global $conf;
$type='ficheinter';
@@ -148,6 +149,7 @@ abstract class ModeleNumRefFicheinter
}
// phpcs:disable PEAR.NamingConventions.ValidFunctionName.NotCamelCaps
/**
* Create an intervention document on disk using template defined into FICHEINTER_ADDON_PDF
*
@@ -160,9 +162,9 @@ abstract class ModeleNumRefFicheinter
* @param int $hideref Hide ref
* @return int 0 if KO, 1 if OK
*/
// phpcs:ignore PEAR.NamingConventions.ValidFunctionName.NotCamelCaps
function fichinter_create($db, $object, $modele, $outputlangs, $hidedetails=0, $hidedesc=0, $hideref=0)
{
// phpcs:enable
global $conf,$langs,$user;
$langs->load("ficheinter");