mark non camelCaps function

This commit is contained in:
Frédéric FRANCE
2018-08-13 17:26:32 +02:00
parent 6a8ed56c3d
commit 850ac34020
276 changed files with 1792 additions and 817 deletions

View File

@@ -48,17 +48,18 @@ abstract class ModelePDFCommandes extends CommonDocGenerator
* @param integer $maxfilenamelength Max length of value to show
* @return array List of templates
*/
static function liste_modeles($db,$maxfilenamelength=0)
// phpcs:ignore PEAR.NamingConventions.ValidFunctionName.NotCamelCaps
static function liste_modeles($db, $maxfilenamelength=0)
{
global $conf;
$type='order';
$liste=array();
$type = 'order';
$list = array();
include_once DOL_DOCUMENT_ROOT.'/core/lib/functions2.lib.php';
$liste=getListOfModels($db,$type,$maxfilenamelength);
$list = getListOfModels($db, $type, $maxfilenamelength);
return $liste;
return $list;
}
}
@@ -146,4 +147,4 @@ abstract class ModeleNumRefCommandes
if ($this->version) return $this->version;
return $langs->trans("NotAvailable");
}
}
}