e107inc/e107

View on GitHub

Showing 6,974 of 6,975 total issues

Variable $ns is undeclared
Open

            $ns->tablerender(LAN_PM, $pm->breadcrumb(LAN_PLUGIN_PM_NEW) . $mes->render() . $pm->show_send($pm_proc_id));
Severity: Minor
Found in e107_plugins/pm/pm.php by phan

Variable $ns is undeclared
Open

                    $ns->tablerender(LAN_PM, $pm->breadcrumb(LAN_PM_55) . $mes->render() . $pm->show_send($pm_info));
Severity: Minor
Found in e107_plugins/pm/pm.php by phan

Method \private_message::__construct is declared to return \none but has no return value
Open

    public    function __construct($prefs=null)
Severity: Minor
Found in e107_plugins/pm/pm_class.php by phan

Reference to undeclared property \e_db->total_results
Open

            $total_messages = $sql->total_results;        // Total number of messages
Severity: Minor
Found in e107_plugins/pm/pm_class.php by phan

When fetching an array index from a value of type array<int>,</int> found an array index of type string, but expected the index to be of type int
Open

        $fname = $attachments[$filenum];
Severity: Minor
Found in e107_plugins/pm/pm_class.php by phan

Argument 1 (user) is string but \e_file::getUserDir() takes int defined at /code/e107_handlers/file_class.php:1261
Open

        $pathList[] = e107::getFile()->getUserDir($fromid, false, 'attachments'); // new media path.
Severity: Minor
Found in e107_plugins/pm/pm_class.php by phan

Returning type false but send_file() is declared to return \none
Open

            return false;
Severity: Minor
Found in e107_plugins/pm/pm_class.php by phan

Returning type false but send_file() is declared to return \none
Open

            return false;
Severity: Minor
Found in e107_plugins/pm/pm_class.php by phan

Invalid offset "total" of array type array{limit:mixed}|array{new:0}|array{new:int}
Open

                $pm_info['inbox']['limit_val'] = ($this->pmPrefs['pm_limits'] == 1 ? varset($pm_info['inbox']['total'],'') : varset($pm_info['inbox']['size'],''));
Severity: Minor
Found in e107_plugins/pm/pm_func.php by phan

Invalid offset "start" of array type array{}
Open

            return e107::getParser()->parseTemplate("{NEXTPREV={$this->pmNextPrev['total']},{$this->pmPrefs['perpage']},{$this->pmNextPrev['start']},".e_SELF."?{$parm}.[FROM]}");
Severity: Minor
Found in e107_plugins/pm/pm_shortcodes.php by phan

Variable $poll_allow_multiple is undeclared
Open

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

Reference to undeclared constant \ADMIN_EDIT_ICON
Open

                    <button class='btn btn-default btn-secondary btn-large' type='submit' name='edit[{$poll_id}]' value='edit' alt='".LAN_EDIT."' title='".LAN_EDIT."' >".ADMIN_EDIT_ICON."</button>
Severity: Minor
Found in e107_plugins/poll/admin_config.php by phan

Static call to non-static method \poll::clean_poll_array defined at /code/e107_plugins/poll/poll_class.php:104
Open

        $pollOption = array_filter($pollOption, 'poll::clean_poll_array');
Severity: Minor
Found in e107_plugins/poll/poll_class.php by phan

Variable $POLL_NOTVOTED_END is undeclared
Open

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

Variable $POLL_VOTED_START is undeclared (Did you mean $POLL_NOTVOTED_START)
Open

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

Argument 4 (options) is array{label:array{}} but \e_form::radio() takes null defined at /code/e107_handlers/form_handler.php:2942
Open

            return $frm->radio('votea', $this->answerCount,false, $opt);
Severity: Minor
Found in e107_plugins/poll/poll_class.php by phan

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

    $res['link'] = e_PLUGIN."poll/oldpolls.php?".$row['poll_id'];

Saw an @param annotation for closing, but it was not found in the param list of function buildTag(string $name = '', array $attributes = null) : string
Open

     * @param bool $closing
Severity: Info
Found in e107_plugins/rss_menu/rss.php by phan

Argument 2 (content) is 'website' but \e107::meta() takes null defined at /code/e107_handlers/e107_class.php:2861
Open

            e107::meta('og:type', 'website');
Severity: Minor
Found in e107_plugins/social/e_event.php by phan

Call to deprecated function \getperms() defined at /code/class2.php:1322
Open

if (!getperms("P") || !e107::isInstalled('poll')) 
Severity: Minor
Found in e107_plugins/poll/admin_config.php by phan
Severity
Category
Status
Source
Language