e107inc/e107

View on GitHub
e107_plugins/list_new/list_class.php

Summary

Maintainability
A
0 mins
Test Coverage
B
82%

Reference to undeclared property \listclass->row
Open

        $this->row['heading'] = '';
Severity: Minor
Found in e107_plugins/list_new/list_class.php by phan

Reference to undeclared property \listclass->e107
Open

        $this->e107 = e107::getInstance();
Severity: Minor
Found in e107_plugins/list_new/list_class.php by phan

Reference to undeclared property \listclass->settings
Open

                $this->mode_content = $this->settings['section'];
Severity: Minor
Found in e107_plugins/list_new/list_class.php by phan

Reference to undeclared property \listclass->mode_content
Open

                $this->mode_content = $this->settings['section'];
Severity: Minor
Found in e107_plugins/list_new/list_class.php by phan

Reference to undeclared property \listclass->plugin_dir
Open

        e107::includeLan($this->plugin_dir."languages/".e_LANGUAGE.".php");
Severity: Minor
Found in e107_plugins/list_new/list_class.php by phan

Reference to undeclared property \listclass->row
Open

        $this->row['info'] = '';
Severity: Minor
Found in e107_plugins/list_new/list_class.php by phan

Call to method filterProfanities from undeclared class \e_profanityFilter
Open

                            $listArray[$k]['heading'] = $this->pf->filterProfanities($v['heading']);
Severity: Critical
Found in e107_plugins/list_new/list_class.php by phan

Reference to undeclared property \listclass->plugin_dir
Open

            require_once($this->plugin_dir."list_template.php");
Severity: Minor
Found in e107_plugins/list_new/list_class.php by phan

Expected an object instance when accessing an instance property, but saw an expression with type false
Open

        $this->shortcodes->rc = $this;
Severity: Critical
Found in e107_plugins/list_new/list_class.php by phan

Reference to undeclared property \listclass->plugin_dir
Open

                require_once($this->plugin_dir."section/list_".$file.".php");
Severity: Minor
Found in e107_plugins/list_new/list_class.php by phan

Reference to undeclared property \listclass->plugin_dir
Open

                if(is_readable($this->plugin_dir."images/".$icon))
Severity: Minor
Found in e107_plugins/list_new/list_class.php by phan

Reference to undeclared property \listclass->plugin_dir
Open

                    $bullet = "<img src='".$this->plugin_dir."images/".$icon."' alt='' />";
Severity: Minor
Found in e107_plugins/list_new/list_class.php by phan

Reference to undeclared property \listclass->row
Open

            $this->row['timelapse'] .= $rs->form_select_open("timelapse", $selectjs).$rs->form_option(LIST_MENU_5, 0, $url);
Severity: Minor
Found in e107_plugins/list_new/list_class.php by phan

Reference to undeclared property \listclass->row
Open

                $this->row['timelapse'] .= $rs->form_option($a, ($timelapse == $a ? '1' : '0'), $url.".".$a);
Severity: Minor
Found in e107_plugins/list_new/list_class.php by phan

Call to method __construct from undeclared class \e_profanityFilter
Open

                        $this->pf = new e_profanityFilter;
Severity: Critical
Found in e107_plugins/list_new/list_class.php by phan

Reference to undeclared property \listclass->plugin_dir
Open

            $url = $this->plugin_dir."list.php?new";
Severity: Minor
Found in e107_plugins/list_new/list_class.php by phan

Reference to undeclared property \listclass->plugin_dir
Open

        require_once($this->plugin_dir."list_shortcodes.php");
Severity: Minor
Found in e107_plugins/list_new/list_class.php by phan

Reference to undeclared property \listclass->template
Open

        $this->template = $TEMPLATE_LIST_NEW;
Severity: Minor
Found in e107_plugins/list_new/list_class.php by phan

Reference to undeclared property \listclass->plugin_dir
Open

            require_once($this->plugin_dir."list_admin_class.php");
Severity: Minor
Found in e107_plugins/list_new/list_class.php by phan

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

                $arr[$s]['caption']     = vartrue($this->list_pref[$s."_".$mode."_caption"]);
Severity: Info
Found in e107_plugins/list_new/list_class.php by phan

Reference to undeclared property \listclass->row
Open

        $this->row['category'] = '';
Severity: Minor
Found in e107_plugins/list_new/list_class.php by phan

Returning type void but parseRecord() is declared to return string
Open

            return;
Severity: Minor
Found in e107_plugins/list_new/list_class.php by phan

Reference to undeclared property \listclass->settings
Open

            $file = $this->settings['section'];
Severity: Minor
Found in e107_plugins/list_new/list_class.php by phan

Reference to undeclared property \listclass->admin
Open

            $this->admin = new list_admin($this);
Severity: Minor
Found in e107_plugins/list_new/list_class.php by phan

Reference to undeclared property \listclass->row
Open

            foreach($this->data['records'] as $this->row)
Severity: Minor
Found in e107_plugins/list_new/list_class.php by phan

Reference to undeclared property \listclass->row
Open

                $this->shortcodes->row = $this->row;
Severity: Minor
Found in e107_plugins/list_new/list_class.php by phan

Returning type void but displayTimelapse() is declared to return string
Open

        return;
Severity: Minor
Found in e107_plugins/list_new/list_class.php by phan

Expected an object instance when accessing an instance property, but saw an expression with type false
Open

            $this->shortcodes->plugin = $sect['section'];
Severity: Critical
Found in e107_plugins/list_new/list_class.php by phan

Reference to undeclared property \listclass->row
Open

        $this->row['caption'] = '';
Severity: Minor
Found in e107_plugins/list_new/list_class.php by phan

Reference to undeclared property \listclass->settings
Open

        if(is_array($this->content_types) && in_array($this->settings['section'], $this->content_types))
Severity: Minor
Found in e107_plugins/list_new/list_class.php by phan

Expected an object instance when accessing an instance property, but saw an expression with type false
Open

                $this->shortcodes->row = $this->row;
Severity: Critical
Found in e107_plugins/list_new/list_class.php by phan

Expected an object instance when accessing an instance property, but saw an expression with type false
Open

                $this->shortcodes->row['heading'] = $this->data['records'];
Severity: Critical
Found in e107_plugins/list_new/list_class.php by phan

Reference to undeclared property \listclass->row
Open

            $this->row['timelapse'] = LIST_MENU_6;
Severity: Minor
Found in e107_plugins/list_new/list_class.php by phan

Expected an object instance when accessing an instance property, but saw an expression with type false
Open

            $this->shortcodes->list_pref = $this->list_pref;
Severity: Critical
Found in e107_plugins/list_new/list_class.php by phan

Reference to undeclared property \listclass->plugin_dir
Open

        $this->plugin_dir = e_PLUGIN."list_new/";
Severity: Minor
Found in e107_plugins/list_new/list_class.php by phan

Argument 1 (parent) is \listclass but \list_admin::__construct() takes \list_admin_class defined at /code/e107_plugins/list_new/list_admin_class.php:31
Open

            $this->admin = new list_admin($this);
Severity: Minor
Found in e107_plugins/list_new/list_class.php by phan

Reference to undeclared property \listclass->row
Open

        $this->row['author'] = '';
Severity: Minor
Found in e107_plugins/list_new/list_class.php by phan

Expected an object instance when accessing an instance property, but saw an expression with type false
Open

            $this->shortcodes->list_pref = $this->list_pref;
Severity: Critical
Found in e107_plugins/list_new/list_class.php by phan

Assigning \list_shortcodes to property but \listclass->shortcodes is false
Open

        $this->shortcodes = new list_shortcodes();
Severity: Minor
Found in e107_plugins/list_new/list_class.php by phan

Reference to undeclared constant \BULLET
Open

                $default_bullet = '<img src="'.THEME.'images/'.BULLET.'" alt="" class="icon" />';
Severity: Minor
Found in e107_plugins/list_new/list_class.php by phan

Argument 3 (extraCodes) is false but \e_parse::parseTemplate() takes array|object defined at /code/e107_handlers/e_parse_class.php:846
Open

        return e107::getParser()->parseTemplate(varset($this->template[$template]), true, $this->shortcodes);
Severity: Minor
Found in e107_plugins/list_new/list_class.php by phan

Reference to undeclared property \listclass->settings
Open

        $this->settings = $arr;
Severity: Minor
Found in e107_plugins/list_new/list_class.php by phan

Reference to undeclared property \listclass->row
Open

        $this->row['date'] = '';
Severity: Minor
Found in e107_plugins/list_new/list_class.php by phan

Reference to undeclared property \listclass->row
Open

            $this->row['timelapse'] .= $rs->form_select_close();
Severity: Minor
Found in e107_plugins/list_new/list_class.php by phan

Reference to undeclared property \listclass->template (Did you mean $template)
Open

        return e107::getParser()->parseTemplate(varset($this->template[$template]), true, $this->shortcodes);
Severity: Minor
Found in e107_plugins/list_new/list_class.php by phan

Reference to undeclared property \listclass->row
Open

        $this->row = array();
Severity: Minor
Found in e107_plugins/list_new/list_class.php by phan

Reference to undeclared property \listclass->row
Open

        $this->row['icon'] = '';
Severity: Minor
Found in e107_plugins/list_new/list_class.php by phan

There are no issues that match your filters.

Category
Status