e107inc/e107

View on GitHub

Showing 6,974 of 6,975 total issues

Argument 2 (checked_enabled) is '' but \e_form::radio_switch() takes bool|false defined at /code/e107_handlers/form_handler.php:3024
Open

        <td>".$frm->radio_switch('pm_maint_blocked', '', LAN_YES, LAN_NO)."</td>
Severity: Minor
Found in e107_plugins/pm/pm_conf.php by phan

Argument 2 (checked_enabled) is '' but \e_form::radio_switch() takes bool|false defined at /code/e107_handlers/form_handler.php:3024
Open

            <td>".$frm->radio_switch('pm_maint_expired', '', LAN_YES, LAN_NO)."</td>
Severity: Minor
Found in e107_plugins/pm/pm_conf.php by phan

Variable $poll_start_datestamp is undeclared
Open

            $tmp = getdate($poll_start_datestamp);
Severity: Minor
Found in e107_plugins/poll/admin_config.php by phan

Argument 5 (day) is string|string[] but \mktime() takes int
Open

        $active_end        = (!$_POST['endmonth'] || !$_POST['endday'] || !$_POST['endyear'] ? 0 : mktime (0, 0, 0, $_POST['endmonth'], $_POST['endday'], $_POST['endyear']));
Severity: Minor
Found in e107_plugins/poll/poll_class.php by phan

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

                    $siteUnique += $row['log_data'];

Argument 1 (url) is true but \e_parse::createConstants() takes string defined at /code/e107_handlers/e_parse_class.php:3255
Open

                $path = e107::getParser()->createConstants($resized);
Severity: Minor
Found in e107_plugins/siteinfo/e_shortcode.php by phan

Invalid operator: left operand of << is bool (expected int)
Open

                        !!$_POST['social_login_active'] << social_login_config::ENABLE_BIT_GLOBAL |
Severity: Minor
Found in e107_plugins/social/admin_config.php by phan

Saw an @param annotation for text, but it was not found in the param list of function generateSocialLoginSection(array $provider_names, mixed $readonly = null) : string
Open

     * @param $text
Severity: Info
Found in e107_plugins/social/admin_config.php by phan

Method \social_admin_tree_model::loadBatch is declared to return \e_tree_model but has no return value
Open

    function loadBatch($force=false)
Severity: Minor
Found in e107_plugins/social/admin_config.php by phan

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

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

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

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

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

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

Comment declares @param $data multiple times
Open

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

Argument 1 (str) is int but \mb_strtolower() takes string
Open

            if (mb_strtolower($providerName) == mb_strtolower($providerProperCaps))

Variable $parm is undeclared
Open

$body = $sc->sc_xurl_icons($parm);
Severity: Minor
Found in e107_plugins/social/xurl_menu.php by phan

Assigning int to property but \TagCloud->limit is null
Open

    $this->limit = $limit;

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

    return $this->limit;

Argument 2 (sizeRange) is float|int but \TagCloud::htmlizeTag() takes string defined at /code/e107_plugins/tagcloud/tagcloud_class.php:458
Open

          $return .= $this->htmlizeTag($arrayInfo, $sizeRange);

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

                return $tp->simpleParse($this->template['item'], $var);

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

            $text .= '<span class="badge'.$classBadge.'">'.$type.'</span>';
Severity
Category
Status
Source
Language