e107inc/e107

View on GitHub
e107_handlers/e_signup_class.php

Summary

Maintainability
A
30 mins
Test Coverage
F
19%

Avoid too many return statements within this method.
Open

        return $result;
Severity: Major
Found in e107_handlers/e_signup_class.php - About 30 mins to fix

    Argument 1 (caption) is null but \e_render::tablerender() takes string defined at /code/e107_handlers/e_render_class.php:314
    Open

                $ns->tablerender(null, e107::getMessage()->render());
    Severity: Minor
    Found in e107_handlers/e_signup_class.php by phan

    Argument #1 of this call to \str_replace is typically a literal or constant but isn't, but argument #3 (which is typically a variable) is a literal or constant. The arguments may be in the wrong order.
    Open

                $text .= (intval($pref['user_reg_veri']) === 2) ?  LAN_SIGNUP_37 : str_replace($srch,$repl, LAN_SIGNUP_72);
    Severity: Minor
    Found in e107_handlers/e_signup_class.php by phan

    Argument 1 (caption) is null but \e_render::tablerender() takes string defined at /code/e107_handlers/e_render_class.php:314
    Open

                $ns->tablerender(null,e107::getMessage()->render());
    Severity: Minor
    Found in e107_handlers/e_signup_class.php by phan

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

                $do_log['signup_result'] = LAN_SIGNUP_62;
    Severity: Info
    Found in e107_handlers/e_signup_class.php by phan

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

            if(getperms('0'))
    Severity: Minor
    Found in e107_handlers/e_signup_class.php by phan

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

                $do_log['signup_result'] = LAN_SIGNUP_61;
    Severity: Info
    Found in e107_handlers/e_signup_class.php by phan

    Argument 1 (caption) is null but \e_render::tablerender() takes string defined at /code/e107_handlers/e_render_class.php:314
    Open

                $ns->tablerender(null, e107::getMessage()->render());
    Severity: Minor
    Found in e107_handlers/e_signup_class.php by phan

    Argument 1 (caption) is null but \e_render::tablerender() takes string defined at /code/e107_handlers/e_render_class.php:314
    Open

                $ns->tablerender(null,e107::getMessage()->render());
    Severity: Minor
    Found in e107_handlers/e_signup_class.php by phan

    There are no issues that match your filters.

    Category
    Status