replace obsolete phpcs tags

This commit is contained in:
Frédéric FRANCE
2018-08-16 14:59:06 +02:00
parent 39462742e2
commit d68f176e7e
4 changed files with 2 additions and 15 deletions

View File

@@ -59,14 +59,13 @@ class DolibarrApiAccess implements iAuthenticate
*/ */
public static $user = ''; public static $user = '';
// @codingStandardsIgnoreStart
/** /**
* Check access * Check access
* *
* @return bool * @return bool
* @throws RestException * @throws RestException
*/ */
// phpcs:ignore PEAR.NamingConventions.ValidFunctionName
public function __isAllowed() public function __isAllowed()
{ {
global $conf, $db; global $conf, $db;
@@ -172,11 +171,11 @@ class DolibarrApiAccess implements iAuthenticate
* @example Digest * @example Digest
* @example OAuth * @example OAuth
*/ */
// phpcs:ignore PEAR.NamingConventions.ValidFunctionName
public function __getWWWAuthenticateString() public function __getWWWAuthenticateString()
{ {
return ''; return '';
} }
// @codingStandardsIgnoreEnd
/** /**
* Verify access * Verify access

View File

@@ -27,15 +27,11 @@
include_once DOL_DOCUMENT_ROOT .'/core/modules/DolibarrModules.class.php'; 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 * Description and activation class for module FixedAssets
*/ */
class modAsset extends DolibarrModules class modAsset extends DolibarrModules
{ {
// @codingStandardsIgnoreEnd
/** /**
* Constructor. Define names, constants, directories, boxes, permissions * Constructor. Define names, constants, directories, boxes, permissions
* *

View File

@@ -26,15 +26,11 @@
include_once DOL_DOCUMENT_ROOT .'/core/modules/DolibarrModules.class.php'; 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 * Description and activation class for module dav
*/ */
class modDav extends DolibarrModules class modDav extends DolibarrModules
{ {
// @codingStandardsIgnoreEnd
/** /**
* Constructor. Define names, constants, directories, boxes, permissions * Constructor. Define names, constants, directories, boxes, permissions
* *

View File

@@ -28,15 +28,11 @@
include_once DOL_DOCUMENT_ROOT .'/core/modules/DolibarrModules.class.php'; 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 * Description and activation class for module MyModule
*/ */
class modMyModule extends DolibarrModules class modMyModule extends DolibarrModules
{ {
// @codingStandardsIgnoreEnd
/** /**
* Constructor. Define names, constants, directories, boxes, permissions * Constructor. Define names, constants, directories, boxes, permissions
* *