ImpressCMS/impresscms

View on GitHub
htdocs/modules/system/admin/users/main.php

Summary

Maintainability
A
40 mins
Test Coverage

Consider simplifying this complex logical expression.
Open

                    if ($password == $username || $password == icms_core_DataFilter::utf8_strrev($username, TRUE)
                        || strripos($password, $username) === TRUE || $password == $login_name
                        || $password == icms_core_Datafilter::utf8_strrev($login_name, TRUE)
                        || strripos($password, $login_name) === TRUE
                    ) {
Severity: Major
Found in htdocs/modules/system/admin/users/main.php - About 40 mins to fix

    Reference to static property security from undeclared class \icms
    Open

                redirect_header('admin.php?fct=users', 3, implode('<br />', icms::$security->getErrors()));
    Severity: Critical
    Found in htdocs/modules/system/admin/users/main.php by phan

    Variable $url is undeclared
    Open

            updateUser($uid, $username, $login_name, $name, $url, $email, $user_icq, $user_aim,

    Variable $email is undeclared
    Open

            updateUser($uid, $username, $login_name, $name, $url, $email, $user_icq, $user_aim,

    Variable $user_sig is undeclared
    Open

                        $user_sig, $attachsig, $theme, $password, $pass2, $rank, $bio, $uorder, $umode, $notify_method,

    Variable $memberslist_id is undeclared
    Open

                        . $memberslist_uname[$memberslist_id[$i]] . "</a>";

    Variable $username is undeclared
    Open

                        if ($password == $username || $password == icms_core_DataFilter::utf8_strrev($username, TRUE)

    Variable $login_name is undeclared
    Open

                            || strripos($password, $username) === TRUE || $password == $login_name

    Variable $user_aim is undeclared
    Open

            updateUser($uid, $username, $login_name, $name, $url, $email, $user_icq, $user_aim,

    Variable $username is undeclared
    Open

            updateUser($uid, $username, $login_name, $name, $url, $email, $user_icq, $user_aim,

    Variable $user_mailok is undeclared
    Open

                        $notify_mode, $timezone_offset, $user_mailok, $language,

    Variable $user_msnm is undeclared
    Open

                        $user_yim, $user_msnm, $user_from, $user_occ, $user_intrest, $user_viewemail, $user_avatar,

    Variable $notify_mode is undeclared
    Open

                        $notify_mode, $timezone_offset, $user_mailok, $language,

    Reference to static property security from undeclared class \icms
    Open

                redirect_header('admin.php?fct=users', 3, implode('<br />', icms::$security->getErrors()));
    Severity: Critical
    Found in htdocs/modules/system/admin/users/main.php by phan

    Variable $memberslist_uname is undeclared
    Open

                    . $memberslist_uname[$memberslist_id[0]] . "</a>";

    Variable $url is undeclared
    Open

                    $newuser->setVar('url', formatURL($url));

    Variable $login_name is undeclared
    Open

            if (!$username || !$email || !$password || !$login_name) {

    Variable $login_name is undeclared
    Open

                            || strripos($password, $login_name) === TRUE

    Reference to static property xoopsDB from undeclared class \icms
    Open

                    "UPDATE " . icms::$xoopsDB->prefix('users') . " SET level='1' WHERE uid='". (int) $uid . "'"
    Severity: Critical
    Found in htdocs/modules/system/admin/users/main.php by phan

    Call to method __construct from undeclared class \icms_db_criteria_Item
    Open

                } elseif ($member_handler->getUserCount(new icms_db_criteria_Item('email', $email)) > 0) {
    Severity: Critical
    Found in htdocs/modules/system/admin/users/main.php by phan

    Reference to static property security from undeclared class \icms
    Open

                redirect_header('admin.php?fct=users', 3, implode('<br />', icms::$security->getErrors()));
    Severity: Critical
    Found in htdocs/modules/system/admin/users/main.php by phan

    Variable $icmsModule is undeclared
    Open

    if (!is_object(icms::$user) || !is_object($icmsModule) || !icms::$user->isAdmin($icmsModule->getVar('mid'))) {

    Variable $user_from is undeclared
    Open

                        $user_yim, $user_msnm, $user_from, $user_occ, $user_intrest, $user_viewemail, $user_avatar,

    Variable $pass2 is undeclared
    Open

                        $user_sig, $attachsig, $theme, $password, $pass2, $rank, $bio, $uorder, $umode, $notify_method,

    Variable $memberslist_id is undeclared
    Open

                $list = "<a href='" . ICMS_URL . "/userinfo.php?uid=" . $memberslist_id[0] . "' rel='external'>"

    Call to method __construct from undeclared class \icms_db_criteria_Item
    Open

                    || $member_handler->getUserCount(new icms_db_criteria_Item('login_name', $login_name)) > 0
    Severity: Critical
    Found in htdocs/modules/system/admin/users/main.php by phan

    Call to method utf8_strrev from undeclared class \icms_core_DataFilter
    Open

                        if ($password == $username || $password == icms_core_DataFilter::utf8_strrev($username, TRUE)
    Severity: Critical
    Found in htdocs/modules/system/admin/users/main.php by phan

    Reference to static property security from undeclared class \icms
    Open

            if (!icms::$security->check()) {
    Severity: Critical
    Found in htdocs/modules/system/admin/users/main.php by phan

    Reference to static property user from undeclared class \icms
    Open

    if (!is_object(icms::$user) || !is_object($icmsModule) || !icms::$user->isAdmin($icmsModule->getVar('mid'))) {
    Severity: Critical
    Found in htdocs/modules/system/admin/users/main.php by phan

    Variable $memberslist_id is undeclared
    Open

            $count = count($memberslist_id);

    Variable $memberslist_id is undeclared
    Open

                    . $memberslist_uname[$memberslist_id[0]] . "</a>";

    Call to method handler from undeclared class \icms
    Open

            $member_handler = icms::handler('icms_member');
    Severity: Critical
    Found in htdocs/modules/system/admin/users/main.php by phan

    Call to method handler from undeclared class \icms
    Open

            $member_handler = icms::handler('icms_member');
    Severity: Critical
    Found in htdocs/modules/system/admin/users/main.php by phan

    Variable $notify_method is undeclared
    Open

                        $user_sig, $attachsig, $theme, $password, $pass2, $rank, $bio, $uorder, $umode, $notify_method,

    Variable $pass2 is undeclared
    Open

                    if ($pass2 != '') {

    Call to method handler from undeclared class \icms
    Open

                $online_handler = icms::handler('icms_core_Online');
    Severity: Critical
    Found in htdocs/modules/system/admin/users/main.php by phan

    Reference to static property xoopsDB from undeclared class \icms
    Open

            $result = icms::$xoopsDB->query(
    Severity: Critical
    Found in htdocs/modules/system/admin/users/main.php by phan

    Reference to static property security from undeclared class \icms
    Open

                    . icms::$security->getTokenHTML()
    Severity: Critical
    Found in htdocs/modules/system/admin/users/main.php by phan

    Reference to static property security from undeclared class \icms
    Open

                redirect_header('admin.php?fct=users', 3, implode('<br />', icms::$security->getErrors()));
    Severity: Critical
    Found in htdocs/modules/system/admin/users/main.php by phan

    Variable $username is undeclared
    Open

            if (!$username || !$email || !$password || !$login_name) {

    Variable $password is undeclared
    Open

                        if ($password == $username || $password == icms_core_DataFilter::utf8_strrev($username, TRUE)

    Variable $password is undeclared
    Open

                            || $password == icms_core_Datafilter::utf8_strrev($login_name, TRUE)

    Variable $password is undeclared
    Open

                            || strripos($password, $login_name) === TRUE

    Variable $user_icq is undeclared
    Open

            updateUser($uid, $username, $login_name, $name, $url, $email, $user_icq, $user_aim,

    Variable $memberslist_id is undeclared
    Open

            $count = count($memberslist_id);

    Variable $deluser is undeclared
    Open

                echo _AM_ADMIN_CAN_NOT_BE_DELETEED . $deluser->getVar('uname');

    Reference to static property security from undeclared class \icms
    Open

            if (!icms::$security->check()) {
    Severity: Critical
    Found in htdocs/modules/system/admin/users/main.php by phan

    Call to method encryptPass from undeclared class \icms_core_Password
    Open

                        $password = $icmspass->encryptPass($password);
    Severity: Critical
    Found in htdocs/modules/system/admin/users/main.php by phan

    Variable $rank is undeclared
    Open

                        $user_sig, $attachsig, $theme, $password, $pass2, $rank, $bio, $uorder, $umode, $notify_method,

    Call to method confirm from undeclared class \icms_core_Message
    Open

            icms_core_Message::confirm(array('fct' => 'users',
    Severity: Critical
    Found in htdocs/modules/system/admin/users/main.php by phan

    Variable $del_uid is undeclared
    Open

                xoops_notification_deletebyuser($del_uid);

    Variable $user_occ is undeclared
    Open

                        $user_yim, $user_msnm, $user_from, $user_occ, $user_intrest, $user_viewemail, $user_avatar,

    Reference to static property security from undeclared class \icms
    Open

            if (!icms::$security->check()) {
    Severity: Critical
    Found in htdocs/modules/system/admin/users/main.php by phan

    Variable $email is undeclared
    Open

            if (!$username || !$email || !$password || !$login_name) {

    Variable $password is undeclared
    Open

                            || strripos($password, $username) === TRUE || $password == $login_name

    Call to method checkVarArray from undeclared class \icms_core_DataFilter
    Open

        $clean_POST = icms_core_DataFilter::checkVarArray($_POST, $filter_post, FALSE);
    Severity: Critical
    Found in htdocs/modules/system/admin/users/main.php by phan

    Variable $groups_hidden is undeclared
    Open

                $groups = array_unique(array_merge($groups, $groups_hidden)) ;

    Variable $user_yim is undeclared
    Open

                        $user_yim, $user_msnm, $user_from, $user_occ, $user_intrest, $user_viewemail, $user_avatar,

    Variable $bio is undeclared
    Open

                        $user_sig, $attachsig, $theme, $password, $pass2, $rank, $bio, $uorder, $umode, $notify_method,

    Variable $memberslist_id is undeclared
    Open

                $hidden = "<input type='hidden' name='memberslist_id[]' value='" . $memberslist_id[0] . "' />\n";

    Variable $memberslist_id is undeclared
    Open

                    $list .= ", <a href='" . ICMS_URL . "/userinfo.php?uid=" . $memberslist_id[$i] . "' rel='external'>"

    Reference to static property security from undeclared class \icms
    Open

            if (!icms::$security->check()) {
    Severity: Critical
    Found in htdocs/modules/system/admin/users/main.php by phan

    Variable $name is undeclared
    Open

            updateUser($uid, $username, $login_name, $name, $url, $email, $user_icq, $user_aim,

    Reference to undeclared constant \_NO
    Open

                    . "<input type='button' value='" . _NO

    Variable $password is undeclared
    Open

                        $user_sig, $attachsig, $theme, $password, $pass2, $rank, $bio, $uorder, $umode, $notify_method,

    Reference to static property security from undeclared class \icms
    Open

            if (!icms::$security->check()) {
    Severity: Critical
    Found in htdocs/modules/system/admin/users/main.php by phan

    Variable $uorder is undeclared
    Open

                        $user_sig, $attachsig, $theme, $password, $pass2, $rank, $bio, $uorder, $umode, $notify_method,

    Variable $password is undeclared
    Open

            if (!$username || !$email || !$password || !$login_name) {

    Variable $memberslist_id is undeclared
    Open

                    $hidden .= "<input type='hidden' name='memberslist_id[]' value='" . $memberslist_id[$i] . "' />\n";

    Call to method handler from undeclared class \icms
    Open

                $member_handler = icms::handler('icms_member');
    Severity: Critical
    Found in htdocs/modules/system/admin/users/main.php by phan

    Call to method __construct from undeclared class \icms_db_criteria_Item
    Open

                if ($member_handler->getUserCount(new icms_db_criteria_Item('uname', $username)) > 0
    Severity: Critical
    Found in htdocs/modules/system/admin/users/main.php by phan

    Argument 1 (user) is int but \modifyUser() takes object defined at /code/htdocs/modules/system/admin/users/users.php:155
    Open

            modifyUser($uid);

    Variable $username is undeclared
    Open

                    $adduser_errormsg = _AM_NICKNAME . ' ' . $username . ' ' . _AM_ALREADY_EXISTS;

    Call to method __construct from undeclared class \icms_db_criteria_Item
    Open

                                        new icms_db_criteria_Item('groupid', "(" . implode(", ", $groups_failed) . ")", 'IN')
    Severity: Critical
    Found in htdocs/modules/system/admin/users/main.php by phan

    Variable $password is undeclared
    Open

                        if ($password != $pass2) {

    Variable $id is undeclared
    Open

            synchronize($id, $type);

    Variable $groups_hidden is undeclared
    Open

            if (@is_array($groups_hidden)) {

    Variable $user_intrest is undeclared
    Open

                        $user_yim, $user_msnm, $user_from, $user_occ, $user_intrest, $user_viewemail, $user_avatar,

    Call to method __construct from undeclared class \icms_core_Password
    Open

                        $icmspass = new icms_core_Password();
    Severity: Critical
    Found in htdocs/modules/system/admin/users/main.php by phan

    Variable $timezone_offset is undeclared
    Open

                        $notify_mode, $timezone_offset, $user_mailok, $language,

    Variable $pass_expired is undeclared
    Open

                        $pass_expired, $groups

    Call to method checkVarArray from undeclared class \icms_core_DataFilter
    Open

        $clean_GET = icms_core_DataFilter::checkVarArray($_GET, $filter_get, FALSE);
    Severity: Critical
    Found in htdocs/modules/system/admin/users/main.php by phan

    Variable $memberslist_uname is undeclared
    Open

                        . $memberslist_uname[$memberslist_id[$i]] . "</a>";

    Variable $login_name is undeclared
    Open

            updateUser($uid, $username, $login_name, $name, $url, $email, $user_icq, $user_aim,

    Reference to undeclared constant \_YES
    Open

                    . "<input type='submit' value='" . _YES . "' />"

    Variable $umode is undeclared
    Open

                        $user_sig, $attachsig, $theme, $password, $pass2, $rank, $bio, $uorder, $umode, $notify_method,

    Call to method error from undeclared class \icms_core_Message
    Open

            icms_core_Message::error($adduser_errormsg);
    Severity: Critical
    Found in htdocs/modules/system/admin/users/main.php by phan

    Call to method handler from undeclared class \icms
    Open

            $member_handler = icms::handler('icms_member');
    Severity: Critical
    Found in htdocs/modules/system/admin/users/main.php by phan

    Reference to static property security from undeclared class \icms
    Open

                redirect_header('admin.php?fct=users', 3, implode('<br />', icms::$security->getErrors()));
    Severity: Critical
    Found in htdocs/modules/system/admin/users/main.php by phan

    Variable $email is undeclared
    Open

                    $adduser_errormsg = _AM_A_USER_WITH_THIS_EMAIL_ADDRESS . ' "' . $email . '" ' . _AM_ALREADY_EXISTS;

    Variable $pass2 is undeclared
    Open

                        if ($password != $pass2) {

    Variable $username is undeclared
    Open

                            || strripos($password, $username) === TRUE || $password == $login_name

    Call to method utf8_strrev from undeclared class \icms_core_DataFilter
    Open

                            || $password == icms_core_Datafilter::utf8_strrev($login_name, TRUE)
    Severity: Critical
    Found in htdocs/modules/system/admin/users/main.php by phan

    Variable $type is undeclared
    Open

            synchronize($id, $type);

    Tabs must be used to indent lines; spaces are not allowed
    Open

        extract($clean_GET);

    Tabs must be used to indent lines; spaces are not allowed
    Open

        'user_sig' => 'html',

    TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
    Open

                $user_viewemail = NULL;

    TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
    Open

                $attachsig = NULL;

    TRUE, FALSE and NULL must be lowercase; expected "true" but found "TRUE"
    Open

                            || $password == icms_core_Datafilter::utf8_strrev($login_name, TRUE)

    Tabs must be used to indent lines; spaces are not allowed
    Open

        'uid' => 'int',

    Tabs must be used to indent lines; spaces are not allowed
    Open

        $clean_POST = icms_core_DataFilter::checkVarArray($_POST, $filter_post, FALSE);

    TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
    Open

            $user_avatar = $theme = NULL;

    Tabs must be used to indent lines; spaces are not allowed
    Open

        extract($clean_POST);

    TRUE, FALSE and NULL must be lowercase; expected "false" but found "FALSE"
    Open

        $clean_GET = icms_core_DataFilter::checkVarArray($_GET, $filter_get, FALSE);

    TRUE, FALSE and NULL must be lowercase; expected "true" but found "TRUE"
    Open

                            || strripos($password, $username) === TRUE || $password == $login_name

    Space found before comma in function call
    Open

            redirect_header('admin.php?fct=users&amp;op=modifyUser&amp;uid=' . (int) $uid, 1 , _AM_DBUPDATED);

    Tabs must be used to indent lines; spaces are not allowed
    Open

        'bio'=> 'html',

    TRUE, FALSE and NULL must be lowercase; expected "false" but found "FALSE"
    Open

        $clean_POST = icms_core_DataFilter::checkVarArray($_POST, $filter_post, FALSE);

    Tabs must be used to indent lines; spaces are not allowed
    Open

        $clean_GET = icms_core_DataFilter::checkVarArray($_GET, $filter_get, FALSE);

    TRUE, FALSE and NULL must be lowercase; expected "true" but found "TRUE"
    Open

                        if ($password == $username || $password == icms_core_DataFilter::utf8_strrev($username, TRUE)

    TRUE, FALSE and NULL must be lowercase; expected "true" but found "TRUE"
    Open

                            || strripos($password, $login_name) === TRUE

    Only one argument is allowed per line in a multi-line function call
    Open

                        $user_yim, $user_msnm, $user_from, $user_occ, $user_intrest, $user_viewemail, $user_avatar,

    Only one argument is allowed per line in a multi-line function call
    Open

                        $user_yim, $user_msnm, $user_from, $user_occ, $user_intrest, $user_viewemail, $user_avatar,

    Only one argument is allowed per line in a multi-line function call
    Open

                        $user_sig, $attachsig, $theme, $password, $pass2, $rank, $bio, $uorder, $umode, $notify_method,

    Only one argument is allowed per line in a multi-line function call
    Open

            updateUser($uid, $username, $login_name, $name, $url, $email, $user_icq, $user_aim,

    Only one argument is allowed per line in a multi-line function call
    Open

            updateUser($uid, $username, $login_name, $name, $url, $email, $user_icq, $user_aim,

    Only one argument is allowed per line in a multi-line function call
    Open

                        $user_yim, $user_msnm, $user_from, $user_occ, $user_intrest, $user_viewemail, $user_avatar,

    Only one argument is allowed per line in a multi-line function call
    Open

            updateUser($uid, $username, $login_name, $name, $url, $email, $user_icq, $user_aim,

    Only one argument is allowed per line in a multi-line function call
    Open

                        $user_yim, $user_msnm, $user_from, $user_occ, $user_intrest, $user_viewemail, $user_avatar,

    Only one argument is allowed per line in a multi-line function call
    Open

                        $user_sig, $attachsig, $theme, $password, $pass2, $rank, $bio, $uorder, $umode, $notify_method,

    Only one argument is allowed per line in a multi-line function call
    Open

                        $user_sig, $attachsig, $theme, $password, $pass2, $rank, $bio, $uorder, $umode, $notify_method,

    Only one argument is allowed per line in a multi-line function call
    Open

                        $user_sig, $attachsig, $theme, $password, $pass2, $rank, $bio, $uorder, $umode, $notify_method,

    Only one argument is allowed per line in a multi-line function call
    Open

                        $user_sig, $attachsig, $theme, $password, $pass2, $rank, $bio, $uorder, $umode, $notify_method,

    Only one argument is allowed per line in a multi-line function call
    Open

                        $notify_mode, $timezone_offset, $user_mailok, $language,

    Only one argument is allowed per line in a multi-line function call
    Open

                        $notify_mode, $timezone_offset, $user_mailok, $language,

    Only one argument is allowed per line in a multi-line function call
    Open

                        $pass_expired, $groups

    Only one argument is allowed per line in a multi-line function call
    Open

            updateUser($uid, $username, $login_name, $name, $url, $email, $user_icq, $user_aim,

    Only one argument is allowed per line in a multi-line function call
    Open

                        $user_sig, $attachsig, $theme, $password, $pass2, $rank, $bio, $uorder, $umode, $notify_method,

    Only one argument is allowed per line in a multi-line function call
    Open

                        $notify_mode, $timezone_offset, $user_mailok, $language,

    Only one argument is allowed per line in a multi-line function call
    Open

            updateUser($uid, $username, $login_name, $name, $url, $email, $user_icq, $user_aim,

    Only one argument is allowed per line in a multi-line function call
    Open

                        $user_yim, $user_msnm, $user_from, $user_occ, $user_intrest, $user_viewemail, $user_avatar,

    Only one argument is allowed per line in a multi-line function call
    Open

            updateUser($uid, $username, $login_name, $name, $url, $email, $user_icq, $user_aim,

    Only one argument is allowed per line in a multi-line function call
    Open

                        $user_sig, $attachsig, $theme, $password, $pass2, $rank, $bio, $uorder, $umode, $notify_method,

    Only one argument is allowed per line in a multi-line function call
    Open

                        $user_yim, $user_msnm, $user_from, $user_occ, $user_intrest, $user_viewemail, $user_avatar,

    Only one argument is allowed per line in a multi-line function call
    Open

            updateUser($uid, $username, $login_name, $name, $url, $email, $user_icq, $user_aim,

    Only one argument is allowed per line in a multi-line function call
    Open

                        $user_sig, $attachsig, $theme, $password, $pass2, $rank, $bio, $uorder, $umode, $notify_method,

    Only one argument is allowed per line in a multi-line function call
    Open

                        $user_sig, $attachsig, $theme, $password, $pass2, $rank, $bio, $uorder, $umode, $notify_method,

    Inline control structures are not allowed
    Open

        if (isset($_POST['filter_get'])) unset ($_POST['filter_get']);

    Line indented incorrectly; expected 6 tabs, found 7
    Open

                                }

    Multi-line function call not indented correctly; expected 32 spaces but found 36
    Open

                                        new icms_db_criteria_Item('groupid', "(" . implode(", ", $groups_failed) . ")", 'IN')

    Multi-line function call not indented correctly; expected 12 spaces but found 16
    Open

                    "UPDATE " . icms::$xoopsDB->prefix('users') . " SET level='1' WHERE uid='". (int) $uid . "'"

    Multi-line function call not indented correctly; expected 12 spaces but found 20
    Open

                        $user_yim, $user_msnm, $user_from, $user_occ, $user_intrest, $user_viewemail, $user_avatar,

    Multi-line function call not indented correctly; expected 12 spaces but found 20
    Open

                        $user_sig, $attachsig, $theme, $password, $pass2, $rank, $bio, $uorder, $umode, $notify_method,

    Multi-line function call not indented correctly; expected 20 spaces but found 24
    Open

                            $deluser->getVar('uname')

    Line indented incorrectly; expected 5 tabs, found 6
    Open

                            } else {

    Line indented incorrectly; expected 5 tabs, found 6
    Open

                            if (!isset($_POST['groups'])) {

    Multi-line function call not indented correctly; expected 20 spaces but found 24
    Open

                            _AM_ADMIN_CAN_NOT_BE_DELETEED . ' (' ._AM_NICKNAME . ': %s)',

    Multi-line function call not indented correctly; expected 12 spaces but found 20
    Open

                        $pass_expired, $groups

    Line indented incorrectly; expected 5 tabs, found 6
    Open

                            foreach ($groups as $group) {

    Line indented incorrectly; expected 6 tabs, found 7
    Open

                                if (!$member_handler->addUserToGroup($group, $newuser->getVar('uid'))) {

    No space found after comma in function call
    Open

                                redirect_header('admin.php?fct=users', 1,_AM_DBUPDATED);

    Multi-line function call not indented correctly; expected 16 spaces but found 20
    Open

                        ) . '<br />';

    Line indented incorrectly; expected 5 tabs, found 6
    Open

                            }

    Space before opening parenthesis of function call prohibited
    Open

        if (isset($_POST['filter_get'])) unset ($_POST['filter_get']);

    Opening parenthesis of a multi-line function call must be the last content on the line
    Open

            updateUser($uid, $username, $login_name, $name, $url, $email, $user_icq, $user_aim,

    Newline required after opening brace
    Open

            } else {echo _AM_NOUSERS;}

    Line indented incorrectly; expected 5 tabs, found 6
    Open

                            }

    Multi-line function call not indented correctly; expected 12 spaces but found 20
    Open

                        $notify_mode, $timezone_offset, $user_mailok, $language,

    Line indented incorrectly; expected 5 tabs, found 6
    Open

                            if (!empty($groups_failed)) {

    Line indented incorrectly; expected 5 tabs, found 6
    Open

                            }

    Multi-line function call not indented correctly; expected 8 spaces but found 16
    Open

                    );

    Line indented incorrectly; expected 4 tabs, found 5
    Open

                        }

    Closing brace must be on a line by itself
    Open

            } else {echo _AM_NOUSERS;}

    Line indented incorrectly; expected 4 tabs, found 5
    Open

                        if (!$member_handler->insertUser($newuser)) {

    Line indented incorrectly; expected 4 tabs, found 5
    Open

                        } else {

    Unexpected spaces found.
    Open

        'user_sig' => 'html',

    Unexpected spaces found.
    Open

        extract($clean_POST);

    Unexpected spaces found.
    Open

        'uid' => 'int',

    Unexpected spaces found.
    Open

        'bio'=> 'html',

    Unexpected spaces found.
    Open

        extract($clean_GET);

    Unexpected spaces found.
    Open

        $clean_GET = icms_core_DataFilter::checkVarArray($_GET, $filter_get, FALSE);

    Unexpected spaces found.
    Open

        $clean_POST = icms_core_DataFilter::checkVarArray($_POST, $filter_post, FALSE);

    There are no issues that match your filters.

    Category
    Status