Showing 6,974 of 6,975 total issues
Suspicious array access to nullable ?array|?array<string></string>
Open
Open
$text .= ">".($themelist[$counter] == $defaulttheme ? "[ ".$themelist[$counter]." ]" : $themelist[$counter]).' ('.LAN_UMENU_THEME_3.' '.$themecount[$themelist[$counter]].")</option>\n";
- Exclude checks
Reference to instance property uapi
from undeclared class \cpanelAPI
Open
Open
$cPanel->uapi->Mysql->delete_database(['name' => $db['db']]);
- Exclude checks
Argument 2 (fname)
is false
but \e107::lan()
takes string
defined at /code/e107_handlers/e107_class.php:3987
Open
Open
e107::lan('social',false, true);
- Exclude checks
Reference to undeclared property \tagcloud_menu->template
Open
Open
$end = $tag->template['end'];
- Exclude checks
Variable $text
was undeclared, but it is being used as the left-hand side of an assignment operation Open
Open
$text .= $frm->text('bbcodeValue','',false,'size=xlarge');
- Exclude checks
Argument 2 (use_include_path)
is null
but \file_get_contents()
takes bool
Open
Open
$content = file_get_contents($f['path'].$f['fname'], null, null, null, 140);
- Exclude checks
Variable $label
was undeclared, but array fields are being added to it. Open
Open
$label[] = "'".date("D",$unix)."'";
- Exclude checks
Saw an @param annotation for when,
but it was not found in the param list of function registered(string $id = null) : string
Open
Open
* @param string $when
- Exclude checks
Variable $dateName
was undeclared, but array fields are being added to it. Open
Open
$dateName[$diz] = date('jS', $row['user_join']);
- Exclude checks
Argument 1 (message)
is int
but \e107_db_debug::log()
takes array|string
defined at /code/e107_handlers/db_debug_class.php:1116
Open
Open
e107::getDebug()->log($this->mailCount);
- Exclude checks
Reference to instance property api2
from undeclared class \cpanelAPI
Open
Open
$cPanel->api2->Fileman->fileop(['op' => 'unlink', 'sourcefiles' => self::TARGET_RELPATH.$questionable_filename]);
- Exclude checks
Argument 3 (default)
is ''
but \e107::pref()
takes null
defined at /code/e107_handlers/e107_class.php:4016
Open
Open
$hashtags = e107::pref('social','sharing_hashtags','');
- Exclude checks
Argument 4 (options)
is array{label:'Default'|'Large'|'Mini'|'Small'}
but \e_form::radio()
takes null
defined at /code/e107_handlers/form_handler.php:2942
Open
Open
$butSize .= $frm->radio('buttonSize', $size, $selected, array('label'=>$label));
- Exclude checks
Suspicious attempt to unset an offset of a value of type false|string
Open
Open
unset($config['@attributes']);
- Exclude checks
Argument 4 (mon)
is string
but \mktime()
takes int
Open
Open
$diz = date('D jS', mktime(1,1,1,$monthNumber,$i, $yearNumber));
- Exclude checks
Variable $ticks
was undeclared, but array fields are being added to it. Open
Open
$ticks[] = $i;
- Exclude checks
Reference to undeclared property \user_mailout->mail_count
(Did you mean expr->mailCount) Open
Open
$this->mail_count = 0;
- Exclude checks
Call to method __construct
from undeclared class \PHPUnit\Framework\SkippedTestError
Open
Open
throw new \PHPUnit\Framework\SkippedTestError("Test wants \"$relative_path\" to be deleted from the app, ".
- Exclude checks
Reference to instance property uapi
from undeclared class \cpanelAPI
Open
Open
$cPanel->uapi->Fileman->save_file_content(['dir' => $homedir, 'file' => 'acceptance_tests.status.txt', 'content' => $acceptance_tests_json]);
- Exclude checks
Method \bootstrap3_admintheme::init
is declared to return mixed
but has no return value Open
Open
public function init()
- Exclude checks