e107inc/e107

View on GitHub

Showing 6,974 of 6,975 total issues

Assigning array<string></string> to property but \private_msg_ui->fields is array{checkboxes:array{title:'',type:null,data:null,width:'5%',thclass:'center',forced:'1',class:'center',toggle:'e-multiselect'},pm_id:array{title:'ID',data:'int',width:'5%',help:'',readParms:array{},writeParms:array{},class:'left',thclass:'left'},pm_from:array{title:'From',type:'method',noedit:true,data:'int',filter:true,width:'5%%',help:'',readParms:array{},writeParms:array{},class:'left',thclass:'left'},pm_to:array{title:'To',type:'user',data:'int',width:'5%',help:'',readParms:array{},writeParms:array{},class:'left',thclass:'left'},pm_sent:array{title:'Date',type:'datestamp',data:'int',width:'15%',help:'',readParms:array{},writeParms:'auto=1&readonly=1',class:'center',thclass:'center'},pm_subject:array{title:'Subject',type:'text',data:'str',width:'15%',help:'',readParms:array{},writeParms:array{size:'xlarge'},class:'left',thclass:'left'},pm_text:array{title:'Message',type:'bbarea',data:'str',width:'40%',help:'',readParms:'expand=1&truncate=50',writeParms:'rows=5&size=block&cols=80',class:'left',thclass:'left'},pm_read:array{title:'Read',type:'boolean',noedit:1,data:'int',batch:true,filter:true,width:'5%',help:'',readParms:array{},writeParms:array{},class:'center',thclass:'center'},pm_sent_del:array{title:'Delete PM',type:'boolean',noedit:true,data:'int',width:'auto',help:'',readParms:array{},writeParms:array{},class:'center',thclass:'center'},pm_read_del:array{title:'Delete PM',type:'boolean',noedit:true,data:'int',width:'auto',help:'',readParms:array{},writeParms:array{},class:'center',thclass:'center'},pm_attachments:array{title:'Attachment',type:'text',noedit:true,data:'str',width:'auto',help:'',readParms:array{},writeParms:array{},class:'center',thclass:'center'},pm_option:array{title:'Option',type:'text',noedit:true,data:'str',width:'auto',help:'',readParms:array{},writeParms:array{},class:'center',thclass:'center'},pm_size:array{title:'Size',type:'boolean',noedit:true,data:'int',width:'auto',help:'',readParms:array{},writeParms:array{},class:'center',thclass:'center'},options:array{title:'Options',type:'method',data:null,width:'10%',thclass:'center last',class:'center last',forced:'1'}}
Open

                $this->fields['options']['readParms'] = 'editClass='.e_UC_NOBODY;
Severity: Minor
Found in e107_plugins/pm/admin_config.php by phan

Assigning array<string></string> to property but \private_msg_ui->fields is array{checkboxes:array{title:'',type:null,data:null,width:'5%',thclass:'center',forced:'1',class:'center',toggle:'e-multiselect'},pm_id:array{title:'ID',data:'int',width:'5%',help:'',readParms:array{},writeParms:array{},class:'left',thclass:'left'},pm_from:array{title:'From',type:'method',noedit:true,data:'int',filter:true,width:'5%%',help:'',readParms:array{},writeParms:array{},class:'left',thclass:'left'},pm_to:array{title:'To',type:'user',data:'int',width:'5%',help:'',readParms:array{},writeParms:array{},class:'left',thclass:'left'},pm_sent:array{title:'Date',type:'datestamp',data:'int',width:'15%',help:'',readParms:array{},writeParms:'auto=1&readonly=1',class:'center',thclass:'center'},pm_subject:array{title:'Subject',type:'text',data:'str',width:'15%',help:'',readParms:array{},writeParms:array{size:'xlarge'},class:'left',thclass:'left'},pm_text:array{title:'Message',type:'bbarea',data:'str',width:'40%',help:'',readParms:'expand=1&truncate=50',writeParms:'rows=5&size=block&cols=80',class:'left',thclass:'left'},pm_read:array{title:'Read',type:'boolean',noedit:1,data:'int',batch:true,filter:true,width:'5%',help:'',readParms:array{},writeParms:array{},class:'center',thclass:'center'},pm_sent_del:array{title:'Delete PM',type:'boolean',noedit:true,data:'int',width:'auto',help:'',readParms:array{},writeParms:array{},class:'center',thclass:'center'},pm_read_del:array{title:'Delete PM',type:'boolean',noedit:true,data:'int',width:'auto',help:'',readParms:array{},writeParms:array{},class:'center',thclass:'center'},pm_attachments:array{title:'Attachment',type:'text',noedit:true,data:'str',width:'auto',help:'',readParms:array{},writeParms:array{},class:'center',thclass:'center'},pm_option:array{title:'Option',type:'text',noedit:true,data:'str',width:'auto',help:'',readParms:array{},writeParms:array{},class:'center',thclass:'center'},pm_size:array{title:'Size',type:'boolean',noedit:true,data:'int',width:'auto',help:'',readParms:array{},writeParms:array{},class:'center',thclass:'center'},options:array{title:'Options',type:'method',data:null,width:'10%',thclass:'center last',class:'center last',forced:'1'}}
Open

                    $this->fields['pm_subject']['writeParms']['default'] = "Re: ". base64_decode($_GET['subject']);
Severity: Minor
Found in e107_plugins/pm/admin_config.php by phan

Return type of processPM() is undeclared type \none
Open

    public function processPM()
Severity: Minor
Found in e107_plugins/pm/e_cron.php by phan

Argument 4 (mon) is string but \mktime() takes int
Open

        $this->startTime = mktime(0, 0, 0, date('n'), date('d'), date('Y'));    // Date for start processing
Severity: Minor
Found in e107_plugins/pm/e_cron.php by phan

Variable $ns is undeclared
Open

        $ns->tablerender(LAN_PM, LAN_PM_12);
Severity: Minor
Found in e107_plugins/pm/pm.php by phan

Return type of __construct() is undeclared type \none
Open

        public function __construct($prefs, $manager)
Severity: Minor
Found in e107_plugins/pm/pm.php by phan

Variable $sql is undeclared
Open

            $delList = $sql->db_getList();
Severity: Minor
Found in e107_plugins/pm/pm.php by phan

Reference to undeclared property \db->sql
Open

            $results[E_MESSAGE_ERROR][$start] = str_replace(array('[y]', '[z]'), array($db2->sql->getLastErrorNum, $db2->sql->getLastErrorText), ADLAN_PM_70);
Severity: Minor
Found in e107_plugins/pm/pm_conf.php by phan

Reference to undeclared property \db->sql
Open

            $results[E_MESSAGE_ERROR][$start] = str_replace(array('[y]', '[z]'), array($db2->sql->getLastErrorNum, $db2->sql->getLastErrorText), ADLAN_PM_70);
Severity: Minor
Found in e107_plugins/pm/pm_conf.php by phan

Variable $poll_active is undeclared
Open

        $_POST['activate'] = $poll_active;
Severity: Minor
Found in e107_plugins/poll/admin_config.php by phan

Variable $poll_id is undeclared
Open

                <td>$poll_id</td>";
Severity: Minor
Found in e107_plugins/poll/admin_config.php by phan

Variable $var was undeclared, but array fields are being added to it.
Open

    $var['list']['text'] = LAN_MANAGE;
Severity: Info
Found in e107_plugins/poll/admin_config.php by phan

Argument 3 (event_type) is '' but \e_admin_log::add() takes int defined at /code/e107_handlers/admin_log_class.php:178
Open

            e107::getLog()->add('POLL_01',POLLAN_3.': '.LAN_DELETED.': '.$existing,'');
Severity: Minor
Found in e107_plugins/poll/poll_class.php by phan

Argument 6 (year) is string|string[] but \mktime() takes int
Open

        $active_start    = (!$_POST['startmonth'] || !$_POST['startday'] || !$_POST['startyear'] ? 0 : mktime (0, 0, 0, $_POST['startmonth'], $_POST['startday'], $_POST['startyear']));
Severity: Minor
Found in e107_plugins/poll/poll_class.php by phan

Variable $POLL_VOTED_END is undeclared
Open

            $template['results']['end'] = $POLL_VOTED_END;
Severity: Minor
Found in e107_plugins/poll/poll_class.php by phan

Variable $sql is undeclared
Open

        $row = $sql->fetch();
Severity: Minor
Found in e107_plugins/rss_menu/rss.php by phan

Found a return statement with a value in the implementation of the magic method \rssCreate::__construct, expected void return type
Open

    public function __construct($content_type, $rss_type, $topic_id, $row)
Severity: Info
Found in e107_plugins/rss_menu/rss.php by phan

Variable $eplug_rss is undeclared
Open

                        if(!empty($eplug_rss['enc_type']))
Severity: Minor
Found in e107_plugins/rss_menu/rss.php by phan

Variable $pageInfo is undeclared
Open

        $uniqueever = ($pageInfo[$pageName]['unqv'] ? $pageInfo[$pageName]['unqv'] : 0) + $uniquePageEver + $unique;
Severity: Minor
Found in e107_plugins/siteinfo/counter_menu.php by phan

Argument #1 of this call to \str_replace is typically a literal or constant but isn't, but argument #3 (which is typically a variable) is a literal or constant. The arguments may be in the wrong order.
Open

                e107::getMessage()->addInfo(str_replace($srch,$repl, LAN_SOCIAL_ADMIN_43));
Severity: Minor
Found in e107_plugins/social/admin_config.php by phan
Severity
Category
Status
Source
Language