diff --git a/htdocs/api/class/api_access.class.php b/htdocs/api/class/api_access.class.php index d067d6e2ad6..5495009917a 100644 --- a/htdocs/api/class/api_access.class.php +++ b/htdocs/api/class/api_access.class.php @@ -59,14 +59,13 @@ class DolibarrApiAccess implements iAuthenticate */ public static $user = ''; - // @codingStandardsIgnoreStart - /** * Check access * * @return bool * @throws RestException */ + // phpcs:ignore PEAR.NamingConventions.ValidFunctionName public function __isAllowed() { global $conf, $db; @@ -172,11 +171,11 @@ class DolibarrApiAccess implements iAuthenticate * @example Digest * @example OAuth */ + // phpcs:ignore PEAR.NamingConventions.ValidFunctionName public function __getWWWAuthenticateString() { return ''; } - // @codingStandardsIgnoreEnd /** * Verify access diff --git a/htdocs/core/modules/modAsset.class.php b/htdocs/core/modules/modAsset.class.php index d6a50ab9b07..c227352225d 100644 --- a/htdocs/core/modules/modAsset.class.php +++ b/htdocs/core/modules/modAsset.class.php @@ -27,15 +27,11 @@ include_once DOL_DOCUMENT_ROOT .'/core/modules/DolibarrModules.class.php'; -// The class name should start with a lower case mod for Dolibarr to pick it up -// so we ignore the Squiz.Classes.ValidClassName.NotCamelCaps rule. -// @codingStandardsIgnoreStart /** * Description and activation class for module FixedAssets */ class modAsset extends DolibarrModules { - // @codingStandardsIgnoreEnd /** * Constructor. Define names, constants, directories, boxes, permissions * diff --git a/htdocs/core/modules/modDav.class.php b/htdocs/core/modules/modDav.class.php index 77c3f8feef7..d15aed7cc30 100644 --- a/htdocs/core/modules/modDav.class.php +++ b/htdocs/core/modules/modDav.class.php @@ -26,15 +26,11 @@ include_once DOL_DOCUMENT_ROOT .'/core/modules/DolibarrModules.class.php'; -// The class name should start with a lower case mod for Dolibarr to pick it up -// so we ignore the Squiz.Classes.ValidClassName.NotCamelCaps rule. -// @codingStandardsIgnoreStart /** * Description and activation class for module dav */ class modDav extends DolibarrModules { - // @codingStandardsIgnoreEnd /** * Constructor. Define names, constants, directories, boxes, permissions * diff --git a/htdocs/modulebuilder/template/core/modules/modMyModule.class.php b/htdocs/modulebuilder/template/core/modules/modMyModule.class.php index 075d90cf63c..f516f60a98d 100644 --- a/htdocs/modulebuilder/template/core/modules/modMyModule.class.php +++ b/htdocs/modulebuilder/template/core/modules/modMyModule.class.php @@ -28,15 +28,11 @@ include_once DOL_DOCUMENT_ROOT .'/core/modules/DolibarrModules.class.php'; -// The class name should start with a lower case mod for Dolibarr to pick it up -// so we ignore the Squiz.Classes.ValidClassName.NotCamelCaps rule. -// @codingStandardsIgnoreStart /** * Description and activation class for module MyModule */ class modMyModule extends DolibarrModules { - // @codingStandardsIgnoreEnd /** * Constructor. Define names, constants, directories, boxes, permissions *