move phpcs:ignore

This commit is contained in:
Frédéric FRANCE
2018-09-02 23:44:53 +02:00
parent 489074af5c
commit 9c3352d2de
8 changed files with 30 additions and 17 deletions

View File

@@ -35,9 +35,9 @@ class Interfaces
* @var DoliDB Database handler.
*/
public $db;
var $dir; // Directory with all core and external triggers files
/**
* @var string[] Error codes (or messages)
*/
@@ -53,6 +53,7 @@ class Interfaces
$this->db = $db;
}
// phpcs:disable PEAR.NamingConventions.ValidFunctionName.NotCamelCaps
/**
* Function called when a Dolibarr business event occurs
* This function call all qualified triggers.
@@ -64,9 +65,9 @@ class Interfaces
* @param Conf $conf Objet conf
* @return int Nb of triggers ran if no error, -Nb of triggers with errors otherwise.
*/
// phpcs:ignore PEAR.NamingConventions.ValidFunctionName.NotCamelCaps
function run_triggers($action,$object,$user,$langs,$conf)
{
// phpcs:enable
// Check parameters
if (! is_object($object) || ! is_object($conf)) // Error
{