e107inc/e107

View on GitHub

Showing 6,974 of 6,975 total issues

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

        $data[] = array('Day', "Registered" );
Severity: Info
Found in e107_plugins/user/e_dashboard.php by phan

Returning type false but registered() is declared to return string
Open

            return false;
Severity: Minor
Found in e107_plugins/user/e_dashboard.php by phan

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

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

Suspicious type null of a variable or expression used to build a string. (Expected type to be able to cast to a string)
Open

        return "<div class='height:50%'>".$cht->render($id, $width, $height)."</div>";
Severity: Minor
Found in e107_plugins/user/e_dashboard.php by phan

Call to undeclared function \codecept_debug()
Open

        codecept_debug($text);
Severity: Critical
Found in e107_tests/lib/deployers/Deployer.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', $siteButton);
Severity: Minor
Found in e107_plugins/social/e_event.php by phan

Reference to instance property uapi from undeclared class \cpanelAPI
Open

        $cPanel->uapi->Mysql->set_privileges_on_database(['user' => $db_id,

Argument 2 (fname) is false but \e107::lan() takes string defined at /code/e107_handlers/e107_class.php:3987
Open

e107::lan('social',false, true);
Severity: Minor
Found in e107_plugins/social/e_shortcode.php by phan

Argument 3 (subject) is 255 but \str_replace() takes array|string
Open

            $nobody_regexp = "'(^|,)(" . str_replace(",", "|", e_UC_NOBODY) . ")(,|$)'";

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

        $text .= $frm->button('bbcodeInsert','go','other','Insert');

Argument 3 (default) is false but \e107::pref() takes null defined at /code/e107_handlers/e107_class.php:4016
Open

        if(e107::pref('core','smiley_activate',false))

Suspicious array access to nullable ?array|?mixed|?string|null
Open

        if($string === 'true' || $string === 'false' || $string[0] == '[')

Argument 3 (default) is false but \e107::pref() takes null defined at /code/e107_handlers/e107_class.php:4016
Open

        if(e107::pref('core','smiley_activate',false))

Reference to undeclared property \user_mailout->mail_read (Did you mean expr->mailRead)
Open

        $this->mail_read++;
Severity: Minor
Found in e107_plugins/user/e_mailout.php by phan

Returning type int but normalizeProviderName() is declared to return string
Open

        return $providerName;

Reference to undeclared property \TagCloud->orderBy
Open

    $this->orderBy = array(

Reference to undeclared property \tagcloud_menu->template
Open

$start = $tag->template['start'];

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

            $text .= '<div class="area"><span class="label'.$classLabel.'">'.$type.'</span>&nbsp;';

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

        $text .= "</div>";

Argument 4 (offset) is null but \file_get_contents() takes int
Open

            $content = file_get_contents($f['path'].$f['fname'], null, null, null, 140);
Severity
Category
Status
Source
Language