Showing 6,974 of 6,975 total issues
Argument 4 (width)
is null
but \comment::compose_comment()
takes int
defined at /code/e107_handlers/comment_class.php:1056
Open
Open
$text .= e107::getComment()->compose_comment('poll', 'comment', intval($row['poll_id']), null, '', false, 'html');
- Exclude checks
Argument 5 (day)
is string|string[]
but \mktime()
takes int
Open
Open
$active_start = (!$_POST['startmonth'] || !$_POST['startday'] || !$_POST['startyear'] ? 0 : mktime (0, 0, 0, $_POST['startmonth'], $_POST['startday'], $_POST['startyear']));
- Exclude checks
Call to undeclared method \e_db::db_getList
Open
Open
$deacArray = $sql->db_getList();
- Exclude checks
Call to deprecated function \getperms()
defined at /code/class2.php:1322
Open
Open
if(!getperms("P") || !e107::isInstalled('rss_menu'))
- Exclude checks
Assigning array<string></string>
to property but \rss_admin->adminMenu
is array{main/list:array{caption:'Manage',perm:'P'},main/import:array{caption:'Import',perm:'P'},main/prefs:array{caption:'Preferences',perm:'P'}}
Open
Open
$this->adminMenu['main/create'] = array('caption' => LAN_CREATE, 'perm' => 'P');
- Exclude checks
Variable $ns
is undeclared Open
Open
$ns->tablerender(RSS_MENU_L2, $text);
- Exclude checks
Variable $conversion
was undeclared, but array fields are being added to it. Open
Open
$conversion[1] = 'news';
- Exclude checks
Call to undeclared method \e_db::db_getList
Open
Open
$tmp = $sql->db_getList();
- Exclude checks
Suspicious attempt to unset class \rssCreate's
property e107
declared at /code/e107_plugins/rss_menu/rss.php:205
(This can be done, but is more commonly done for dynamic properties and Phan does not expect this) Open
Open
unset($this->e107);
- Exclude checks
Reference to undeclared constant \THEME_DISCLAIMER
Open
Open
return (defined('THEME_DISCLAIMER') && $pref['displaythemeinfo'] ? THEME_DISCLAIMER : '');
- Exclude checks
Argument 2 (value)
is 1
but \e_admin_form_ui::button()
takes array|string
defined at /code/e107_handlers/form_handler.php:3876
Open
Open
$text .= "<div class='buttons-bar center'>".$frm->button('save_social_logins',1,'submit',LAN_ADD)."</div>";
- Exclude checks
Argument 2 (options)
is 'w=800'
but \e_parse::thumbUrl()
takes array
defined at /code/e107_handlers/e_parse_class.php:2531
Open
Open
$siteButton = (strpos($pref['sitebutton'],'{e_MEDIA') !== false) ? e107::getParser()->thumbUrl($pref['sitebutton'],'w=800',false, true) : e107::getParser()->replaceConstants($pref['sitebutton'],'full');
- Exclude checks
Argument 1 (name)
is 'og:image'
but \e107::meta()
takes null
defined at /code/e107_handlers/e107_class.php:2861
Open
Open
e107::meta('og:image',$siteLogo);
- Exclude checks
Reference to instance property channel
from undeclared class \MagpieRSS
Open
Open
if($rss->channel['description'])
- Exclude checks
Suspicious type void
of a variable or expression used to build a string. (Expected type to be able to cast to a string) Open
Open
if (NEWSFEED_DEBUG) echo NFLAN_48."<br /><br />".var_dump($dbData);
- Exclude checks
Call to undeclared method \e_db::db_getList
Open
Open
$nlArray = $sql->db_getList();
- Exclude checks
Returning type false
but showSelect()
is declared to return array
Open
Open
return false; // Return Nothing to avoid confusion.
- Exclude checks
Suspicious array access to nullable ?array
Open
Open
$text .= $tp->parseTemplate($LASTSEEN_TEMPLATE['end'], true, $online_shortcodes);
- Exclude checks
Variable $ONLINE_TEMPLATE
was undeclared, but array fields are being added to it. Open
Open
$ONLINE_TEMPLATE['enabled'] = "
- Exclude checks
Invalid offset "user_id"
of array type array{}
Open
Open
$uparams = array('id' => varset($this->currentUser['user_id']), 'name' => varset($this->currentUser['user_name']));
- Exclude checks