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 = '';
// @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

View File

@@ -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
*

View File

@@ -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
*

View File

@@ -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
*