Fix: PHPCS

This commit is contained in:
Laurent Destailleur 2014-12-05 17:44:47 +01:00
parent 4e181e3763
commit a5bdf952ee
3 changed files with 16 additions and 10 deletions

View File

@ -1,9 +1,12 @@
README (English)
--------------------------------
This directory contains ruleset files to use to
develop Dolibarr EPR & CRM with Eclipse.
This directory contains ruleset files to use to develop Dolibarr EPR & CRM.
Note: You must setup the PTI plugin of Eclipse into PHPCodeSniffer menu with:
To install/upgrade phpcs:
> sudo pear upgrade PHP_CodeSniffer
Note with Eclipse: You must setup the PTI plugin of Eclipse into PHPCodeSniffer menu with:
* tab value to 4
* path of code sniffer standard to dev/codesniffer

View File

@ -40,10 +40,8 @@ class box_task extends ModeleBoxes
var $info_box_contents = array();
/**
* \brief Constructeur de la classe
*
* @return void
*/
* Constructor
*/
function box_task()
{
global $langs;

View File

@ -126,7 +126,12 @@ function user_prepare_head($object)
return $head;
}
/**
* Prepare array with list of tabs
*
* @param Group $object Object group
* @return array Array of tabs
*/
function group_prepare_head($object)
{
global $langs, $conf, $user;