e107inc/e107

View on GitHub

Showing 6,974 of 6,975 total issues

Variable $text was undeclared, but it is being used as the left-hand side of an assignment operation
Open

        $text .= "<ul class='glyphicons well clearfix'>";

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

        if(($template == 'mainadmin.xml' && !getperms('0')) || ($template == 'admin.xml' && !ADMIN))

Call to method parse from undeclared class \Symfony\Component\Yaml\Yaml
Open

        $params = array_replace_recursive($params, Yaml::parse(file_get_contents($absolute_config_path)));
Severity: Critical
Found in e107_tests/lib/config.php by phan

Reference to instance property api2 from undeclared class \cpanelAPI
Open

        $listdbs = $cPanel->api2->MysqlFE->listdbs()->{'cpanelresult'}->{'data'};

Reference to instance property api2 from undeclared class \cpanelAPI
Open

        $cPanel->api2->Fileman

Argument 2 (options) is 'w=800' but \e_parse::thumbUrl() takes array defined at /code/e107_handlers/e_parse_class.php:2531
Open

            $siteLogo = (strpos($pref['sitelogo'],'{e_MEDIA') !== false) ? e107::getParser()->thumbUrl($pref['sitelogo'],'w=800',false, true) : e107::getParser()->replaceConstants($pref['sitelogo'],'full');
Severity: Minor
Found in e107_plugins/social/e_event.php by phan

Argument 1 (name) is 'twitter:image' but \e107::meta() takes null defined at /code/e107_handlers/e107_class.php:2861
Open

            e107::meta('twitter:image', $siteLogo);
Severity: Minor
Found in e107_plugins/social/e_event.php by phan

Default value for string $data can't be array{}
Open

    public function getShareUrl($type, $urlScheme, $data=array(), $options=array())
Severity: Minor
Found in e107_plugins/social/e_shortcode.php by phan

Argument 3 (subject) is int but \preg_replace() takes array|string
Open

        $normalizedProviderName = preg_replace('/(OpenID|OAuth1|OAuth2)$/i', '', $normalizedProviderName);

Returning type null but getMinLength() is declared to return int
Open

    return $this->minLength;

Variable $text was undeclared, but it is being used as the left-hand side of an assignment operation
Open

            $text .= "<tr><td>".$plugin."</td>

Variable $text was undeclared, but it is being used as the left-hand side of an assignment operation
Open

        $text .= "</ul>";    

Call with 2 arg(s) to \e_chart::setData() which only takes 1 arg(s) defined at /code/e107_handlers/chart_class.php:323
Open

        $cht->setData($data,'canvas');
Severity: Info
Found in e107_plugins/user/e_dashboard.php by phan

Reference to undeclared constant \APP_PATH
Open

            escapeshellarg(rtrim(APP_PATH, '/') . '/') . ' ' .

Reference to instance property uapi from undeclared class \cpanelAPI
Open

        $cPanel->uapi->Mysql->create_database(['name' => $db_id]);

Reference to instance property uapi from undeclared class \cpanelAPI
Open

        $cPanel->uapi->Mysql->create_user(['name' => $db_id, 'password' => $run_id]);

Returning type null but config() is declared to return array
Open

            return null;
Severity: Minor
Found in e107_plugins/social/e_menu.php by phan

Reference to undeclared property \TagCloud->orderBy
Open

        $this->orderBy['field'],

Reference to undeclared constant \TINYMCE_PARSER_DEBUG_TEXT
Open

                $text = TINYMCE_PARSER_DEBUG_TEXT;

false|string passed to foreach instead of array
Open

        foreach($config as $k=>$xml)
Severity
Category
Status
Source
Language