Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dolibarr
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container registry
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Software_Artifact_Infrastructure_Repository
dolibarr
Commits
a5bdf952
Commit
a5bdf952
authored
10 years ago
by
Laurent Destailleur
Browse files
Options
Downloads
Patches
Plain Diff
Fix: PHPCS
parent
4e181e37
No related branches found
No related tags found
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
dev/codesniffer/README
+7
-4
7 additions, 4 deletions
dev/codesniffer/README
htdocs/core/boxes/box_task.php
+3
-5
3 additions, 5 deletions
htdocs/core/boxes/box_task.php
htdocs/core/lib/usergroups.lib.php
+6
-1
6 additions, 1 deletion
htdocs/core/lib/usergroups.lib.php
with
16 additions
and
10 deletions
dev/codesniffer/README
+
7
−
4
View file @
a5bdf952
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
This diff is collapsed.
Click to expand it.
htdocs/core/boxes/box_task.php
+
3
−
5
View file @
a5bdf952
...
...
@@ -40,9 +40,7 @@ class box_task extends ModeleBoxes
var
$info_box_contents
=
array
();
/**
* \brief Constructeur de la classe
*
* @return void
* Constructor
*/
function
box_task
()
{
...
...
This diff is collapsed.
Click to expand it.
htdocs/core/lib/usergroups.lib.php
+
6
−
1
View file @
a5bdf952
...
...
@@ -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
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment