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

Checkstyle

parent b63820c0
No related branches found
No related tags found
No related merge requests found
......@@ -89,7 +89,7 @@
<rule ref="Generic.Metrics.CyclomaticComplexity">
<properties>
<property name="complexity" value="80" />
<property name="absoluteComplexity" value="100" />
<property name="absoluteComplexity" value="200" />
</properties>
</rule>
<rule ref="Generic.Metrics.NestingLevel">
......
......@@ -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');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment