mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-02-08 00:52:01 +01:00
move phpcs:ignore
This commit is contained in:
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user