Skip to content
Snippets Groups Projects
Commit a5bdf952 authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

Fix: PHPCS

parent 4e181e37
Branches
Tags
No related merge requests found
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,9 +40,7 @@ class box_task extends ModeleBoxes ...@@ -40,9 +40,7 @@ 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()
{ {
......
...@@ -126,7 +126,12 @@ function user_prepare_head($object) ...@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment