Showing 6,972 of 6,973 total issues
Avoid deeply nested control flow statements. Open
Open
if (strpos($lbrks, $matches[1][$i]) !== false)
{
break;
}
Avoid deeply nested control flow statements. Open
Open
switch($data['method'])
{
//returns array('caption'=>'', 'text'=>'');
case 'form':
if(method_exists($class, "event_{$data['method']}"))
Avoid deeply nested control flow statements. Open
Open
if ($bbword == 'code') $nopro = TRUE;
Avoid deeply nested control flow statements. Open
Open
while (!$found && (count($code_stack) != 0))
{
switch ($code_stack[0]['type'])
{
case 'text' :
Avoid deeply nested control flow statements. Open
Open
if (strpos($lbrks, $sp[$i - 1]) !== false)
{
break;
}
Avoid deeply nested control flow statements. Open
Open
if(rename($path_to_file, $newFile) === true)
{
$finfo['pathinfo'] = pathinfo($newFile);
$path_to_file = $newFile;
}
Avoid deeply nested control flow statements. Open
Open
if (isset($fd[$i + 1]))
{
$i++;
$defs['default'] = $fd[$i];
}
Avoid deeply nested control flow statements. Open
Open
if(!$this->rmtree($dir . $obj))
{
return false;
}
Avoid deeply nested control flow statements. Open
Open
if(E107_DBG_SQLDETAILS)
{
$mes = e107::getMessage();
$mes->add("db_table_admin_class.php :: parse_field_defs() Line: 230 - Unknown definition {$i}: ".$fd[$i], E_MESSAGE_DEBUG);
}
Avoid deeply nested control flow statements. Open
Open
if(deftrue('e_DEBUG_PREFS'))
{
$backtrace = debug_backtrace(DEBUG_BACKTRACE_IGNORE_ARGS,2);
$log->logMessage(print_a($backtrace,true), E_MESSAGE_DEBUG);
}
Method form_comment
has 9 arguments (exceeds 7 allowed). Consider refactoring. Open
Open
function form_comment($action, $table, $id, $subject, $content_type, $return = FALSE, $rating = FALSE, $tablerender = TRUE,$pid = false)
Avoid deeply nested control flow statements. Open
Open
if(!unlink($dir . $obj))
{
return false;
}
Avoid deeply nested control flow statements. Open
Open
if ($installed = isset($pref['plug_installed'][$var['plugin_path']]))
{
$qryp = str_replace("{NID}", $row['comment_item_id'], $var['qry']);
if ($sql2->gen($qryp))
{
Avoid deeply nested control flow statements. Open
Open
if ('!' == substr($disTrim, -1) && $v == str_replace('!', '', $disallow))
{ // Exact match search (noticed with exclamation mark in the end of the word)
$errMsg = ERR_DISALLOWED_TEXT_EXACT_MATCH;
}
elseif (stripos($v, $disTrim) !== false)
Avoid deeply nested control flow statements. Open
Open
if(deftrue('e_DEBUG_PREFS'))
{
$backtrace = debug_backtrace(DEBUG_BACKTRACE_IGNORE_ARGS,2);
$log->logMessage(print_a($backtrace,true), E_MESSAGE_DEBUG);
}
Avoid deeply nested control flow statements. Open
Open
if ($sql2->select($var['db_table'], $var['db_title'], $var['db_id']." = '".$row['comment_item_id']."' "))
{
$row2 = $sql2->fetch();
$ret['comment_type'] = $var['plugin_name'];
$ret['comment_title'] = $tp->toHTML($row2[$var['db_title']], TRUE, 'emotes_off, no_make_clickable');
Avoid deeply nested control flow statements. Open
Open
if(!$disallow_logs) $log->logMessage('Backup of <strong>'.$this->alias.' ('.$this->prefid.')</strong> successfully created.', E_MESSAGE_DEBUG, E_MESSAGE_SUCCESS, $session_messages);
Avoid deeply nested control flow statements. Open
Open
if(!class_exists($val. '_latest'))
{
trigger_error('<strong>' .$val . '</strong> is using a deprecated e_latest method. See plugin: _blank/e_dashboard.php ', E_USER_DEPRECATED);
$oldconfigs[$val] = admin_shortcodes::legacyToConfig($text);
Avoid deeply nested control flow statements. Open
Open
if (!$foundSome)
{
// $text .= $rs->form_open("post", e_SELF."?".e_QUERY, "myform");
$text .= '<form method="post" action="'.e_SELF.'?'.e_QUERY.'" id="myform">
Avoid deeply nested control flow statements. Open
Open
if (check_class($news['news_class']))
{
list($xmonth, $xday) = explode(" ", date("n j", $news['news_datestamp']));
if (!$day_links[$xmonth][$xday])
{