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
ea545231
Commit
ea545231
authored
12 years ago
by
Laurent Destailleur
Browse files
Options
Downloads
Patches
Plain Diff
Checkstyle
parent
b63820c0
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
dev/codesniffer/ruleset.xml
+1
-1
1 addition, 1 deletion
dev/codesniffer/ruleset.xml
htdocs/install/lib/repair.lib.php
+3
-2
3 additions, 2 deletions
htdocs/install/lib/repair.lib.php
with
4 additions
and
3 deletions
dev/codesniffer/ruleset.xml
+
1
−
1
View file @
ea545231
...
...
@@ -89,7 +89,7 @@
<rule
ref=
"Generic.Metrics.CyclomaticComplexity"
>
<properties>
<property
name=
"complexity"
value=
"80"
/>
<property
name=
"absoluteComplexity"
value=
"
1
00"
/>
<property
name=
"absoluteComplexity"
value=
"
2
00"
/>
</properties>
</rule>
<rule
ref=
"Generic.Metrics.NestingLevel"
>
...
...
This diff is collapsed.
Click to expand it.
htdocs/install/lib/repair.lib.php
+
3
−
2
View file @
ea545231
...
...
@@ -26,6 +26,7 @@
*
* @param int $id Element id
* @param string $table Table of Element
* @return boolean True if child exists
*/
function
checkElementExist
(
$id
,
$table
)
{
...
...
@@ -111,7 +112,7 @@ function checkLinkedElements($sourcetype, $targettype)
/**
* Clean data into ecm_directories table
*
*
* @return void
*/
function
clean_data_ecm_directories
()
...
...
@@ -135,7 +136,7 @@ function clean_data_ecm_directories()
$resqlupdate
=
$db
->
query
(
$sqlupdate
);
if
(
!
$resqlupdate
)
dol_print_error
(
$db
,
'Failed to update'
);
}
}
}
else
dol_print_error
(
$db
,
'Failed to run request'
);
...
...
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