mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
Fix: PHPCS
This commit is contained in:
parent
4e181e3763
commit
a5bdf952ee
|
|
@ -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
|
||||
* path of code sniffer standard to dev/codesniffer
|
||||
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
@ -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][4] = array('td' => 'align="right" ', 'text' => ConvertSecondToTime($totaldurationtot,'all',25200,5));
|
||||
$this->info_box_contents[$i][5] = array('td' => '', 'text' => "");
|
||||
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user