Fix: PHPCS
This commit is contained in:
parent
4e181e3763
commit
a5bdf952ee
@ -1,9 +1,12 @@
|
|||||||
README (English)
|
README (English)
|
||||||
--------------------------------
|
--------------------------------
|
||||||
|
|
||||||
This directory contains ruleset files to use to
|
This directory contains ruleset files to use to develop Dolibarr EPR & CRM.
|
||||||
develop Dolibarr EPR & CRM with Eclipse.
|
|
||||||
|
|
||||||
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
|
* tab value to 4
|
||||||
* path of code sniffer standard to dev/codesniffer
|
* path of code sniffer standard to dev/codesniffer
|
||||||
|
|
||||||
|
|||||||
@ -40,10 +40,8 @@ class box_task extends ModeleBoxes
|
|||||||
var $info_box_contents = array();
|
var $info_box_contents = array();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \brief Constructeur de la classe
|
* Constructor
|
||||||
*
|
*/
|
||||||
* @return void
|
|
||||||
*/
|
|
||||||
function box_task()
|
function box_task()
|
||||||
{
|
{
|
||||||
global $langs;
|
global $langs;
|
||||||
@ -126,7 +124,7 @@ class box_task extends ModeleBoxes
|
|||||||
$this->info_box_contents[$i][3] = array('td' => 'align="right" ', 'text' => ConvertSecondToTime($totalplannedtot,'all',25200,5));
|
$this->info_box_contents[$i][3] = array('td' => 'align="right" ', 'text' => ConvertSecondToTime($totalplannedtot,'all',25200,5));
|
||||||
$this->info_box_contents[$i][4] = array('td' => 'align="right" ', 'text' => ConvertSecondToTime($totaldurationtot,'all',25200,5));
|
$this->info_box_contents[$i][4] = array('td' => 'align="right" ', 'text' => ConvertSecondToTime($totaldurationtot,'all',25200,5));
|
||||||
$this->info_box_contents[$i][5] = array('td' => '', 'text' => "");
|
$this->info_box_contents[$i][5] = array('td' => '', 'text' => "");
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@ -126,7 +126,12 @@ function user_prepare_head($object)
|
|||||||
return $head;
|
return $head;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Prepare array with list of tabs
|
||||||
|
*
|
||||||
|
* @param Group $object Object group
|
||||||
|
* @return array Array of tabs
|
||||||
|
*/
|
||||||
function group_prepare_head($object)
|
function group_prepare_head($object)
|
||||||
{
|
{
|
||||||
global $langs, $conf, $user;
|
global $langs, $conf, $user;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user