ImpressCMS/impresscms

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

Summary

Maintainability
D
3 days
Test Coverage

displayUsers accesses the super-global variable $_GET.
Open

function displayUsers() {
    global $icmsConfig, $icmsModule, $icmsConfigUser;
    $userstart = isset($_GET['userstart']) ? (int) $_GET['userstart'] : 0;

    icms_cp_header();

Superglobals

Since: 0.2

Accessing a super-global variable directly is considered a bad practice. These variables should be encapsulated in objects that are provided by a framework, for instance.

Example

class Foo {
    public function bar() {
        $name = $_POST['foo'];
    }
}

Source

displayUsers accesses the super-global variable $_GET.
Open

function displayUsers() {
    global $icmsConfig, $icmsModule, $icmsConfigUser;
    $userstart = isset($_GET['userstart']) ? (int) $_GET['userstart'] : 0;

    icms_cp_header();

Superglobals

Since: 0.2

Accessing a super-global variable directly is considered a bad practice. These variables should be encapsulated in objects that are provided by a framework, for instance.

Example

class Foo {
    public function bar() {
        $name = $_POST['foo'];
    }
}

Source

Function updateUser has a Cognitive Complexity of 31 (exceeds 5 allowed). Consider refactoring.
Open

function updateUser($uid, $uname, $login_name, $name, $url, $email, $user_icq, $user_aim, $user_yim,
                    $user_msnm, $user_from, $user_occ, $user_intrest, $user_viewemail, $user_avatar,
                    $user_sig, $attachsig, $theme, $pass, $pass2, $rank, $bio, $uorder, $umode, $notify_method,
                    $notify_mode, $timezone_offset, $user_mailok, $language,
                    $pass_expired, $groups = array()
Severity: Minor
Found in htdocs/modules/system/admin/users/users.php - About 4 hrs to fix

Cognitive Complexity

Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

A method's cognitive complexity is based on a few simple rules:

  • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
  • Code is considered more complex for each "break in the linear flow of the code"
  • Code is considered more complex when "flow breaking structures are nested"

Further reading

Method updateUser has 31 arguments (exceeds 4 allowed). Consider refactoring.
Open

function updateUser($uid, $uname, $login_name, $name, $url, $email, $user_icq, $user_aim, $user_yim,
                    $user_msnm, $user_from, $user_occ, $user_intrest, $user_viewemail, $user_avatar,
                    $user_sig, $attachsig, $theme, $pass, $pass2, $rank, $bio, $uorder, $umode, $notify_method,
                    $notify_mode, $timezone_offset, $user_mailok, $language,
                    $pass_expired, $groups = array()
Severity: Major
Found in htdocs/modules/system/admin/users/users.php - About 3 hrs to fix

    Method displayUsers has 88 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

    function displayUsers() {
        global $icmsConfig, $icmsModule, $icmsConfigUser;
        $userstart = isset($_GET['userstart']) ? (int) $_GET['userstart'] : 0;
    
        icms_cp_header();
    Severity: Major
    Found in htdocs/modules/system/admin/users/users.php - About 3 hrs to fix

      Method updateUser has 76 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

      function updateUser($uid, $uname, $login_name, $name, $url, $email, $user_icq, $user_aim, $user_yim,
                          $user_msnm, $user_from, $user_occ, $user_intrest, $user_viewemail, $user_avatar,
                          $user_sig, $attachsig, $theme, $pass, $pass2, $rank, $bio, $uorder, $umode, $notify_method,
                          $notify_mode, $timezone_offset, $user_mailok, $language,
                          $pass_expired, $groups = array()
      Severity: Major
      Found in htdocs/modules/system/admin/users/users.php - About 3 hrs to fix

        File users.php has 276 lines of code (exceeds 250 allowed). Consider refactoring.
        Open

        <?php
        // $Id: users.php 12313 2013-09-15 21:14:35Z skenow $
        //  ------------------------------------------------------------------------ //
        //                XOOPS - PHP Content Management System                      //
        //                    Copyright (c) 2000 XOOPS.org                           //
        Severity: Minor
        Found in htdocs/modules/system/admin/users/users.php - About 2 hrs to fix

          Method modifyUser has 60 lines of code (exceeds 25 allowed). Consider refactoring.
          Open

          function modifyUser($user) {
              global $icmsConfig, $icmsModule;
              icms_cp_header();
              echo '<div class="CPbigTitle" style="background-image: url(' . ICMS_MODULES_URL . '/system/admin/users/images/users_big.png)">' . _MD_AM_USER . '</div><br />';
              $member_handler = icms::handler('icms_member');
          Severity: Major
          Found in htdocs/modules/system/admin/users/users.php - About 2 hrs to fix

            Function synchronize has a Cognitive Complexity of 16 (exceeds 5 allowed). Consider refactoring.
            Open

            function synchronize($id, $type) {
                switch($type) {
                    case 'user':
                        // Array of tables from which to count 'posts'
                        $tables = array();
            Severity: Minor
            Found in htdocs/modules/system/admin/users/users.php - About 2 hrs to fix

            Cognitive Complexity

            Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

            A method's cognitive complexity is based on a few simple rules:

            • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
            • Code is considered more complex for each "break in the linear flow of the code"
            • Code is considered more complex when "flow breaking structures are nested"

            Further reading

            Method synchronize has 32 lines of code (exceeds 25 allowed). Consider refactoring.
            Open

            function synchronize($id, $type) {
                switch($type) {
                    case 'user':
                        // Array of tables from which to count 'posts'
                        $tables = array();
            Severity: Minor
            Found in htdocs/modules/system/admin/users/users.php - About 1 hr to fix

              Consider simplifying this complex logical expression.
              Open

                  if ($edituser->getVar('uname') != $uname && $member_handler->getUserCount(new icms_db_criteria_Item('uname', $uname)) > 0 || $edituser->getVar('login_name') != $login_name && $member_handler->getUserCount(new icms_db_criteria_Item('login_name', $login_name)) > 0) {
                      icms_cp_header();
                      echo '<div class="CPbigTitle" style="background-image: url(' . ICMS_MODULES_URL . '/system/admin/users/images/users_big.png)">' . _MD_AM_USER . '</div><br />';
                      echo _AM_UNAME . ' ' . $uname . ' ' . _AM_ALREADY_EXISTS;
                      icms_cp_footer();
              Severity: Major
              Found in htdocs/modules/system/admin/users/users.php - About 40 mins to fix

                The function updateUser has 31 parameters. Consider reducing the number of parameters to less than 10.
                Open

                function updateUser($uid, $uname, $login_name, $name, $url, $email, $user_icq, $user_aim, $user_yim,
                                    $user_msnm, $user_from, $user_occ, $user_intrest, $user_viewemail, $user_avatar,
                                    $user_sig, $attachsig, $theme, $pass, $pass2, $rank, $bio, $uorder, $umode, $notify_method,
                                    $notify_mode, $timezone_offset, $user_mailok, $language,
                                    $pass_expired, $groups = array()

                The function updateUser() has an NPath complexity of 1948. The configured NPath complexity threshold is 200.
                Open

                function updateUser($uid, $uname, $login_name, $name, $url, $email, $user_icq, $user_aim, $user_yim,
                                    $user_msnm, $user_from, $user_occ, $user_intrest, $user_viewemail, $user_avatar,
                                    $user_sig, $attachsig, $theme, $pass, $pass2, $rank, $bio, $uorder, $umode, $notify_method,
                                    $notify_mode, $timezone_offset, $user_mailok, $language,
                                    $pass_expired, $groups = array()

                NPathComplexity

                Since: 0.1

                The NPath complexity of a method is the number of acyclic execution paths through that method. A threshold of 200 is generally considered the point where measures should be taken to reduce complexity.

                Example

                class Foo {
                    function bar() {
                        // lots of complicated code
                    }
                }

                Source https://phpmd.org/rules/codesize.html#npathcomplexity

                The function synchronize() has a Cyclomatic Complexity of 10. The configured cyclomatic complexity threshold is 10.
                Open

                function synchronize($id, $type) {
                    switch($type) {
                        case 'user':
                            // Array of tables from which to count 'posts'
                            $tables = array();

                CyclomaticComplexity

                Since: 0.1

                Complexity is determined by the number of decision points in a method plus one for the method entry. The decision points are 'if', 'while', 'for', and 'case labels'. Generally, 1-4 is low complexity, 5-7 indicates moderate complexity, 8-10 is high complexity, and 11+ is very high complexity.

                Example

                // Cyclomatic Complexity = 11
                class Foo {
                1   public function example() {
                2       if ($a == $b) {
                3           if ($a1 == $b1) {
                                fiddle();
                4           } elseif ($a2 == $b2) {
                                fiddle();
                            } else {
                                fiddle();
                            }
                5       } elseif ($c == $d) {
                6           while ($c == $d) {
                                fiddle();
                            }
                7        } elseif ($e == $f) {
                8           for ($n = 0; $n < $h; $n++) {
                                fiddle();
                            }
                        } else {
                            switch ($z) {
                9               case 1:
                                    fiddle();
                                    break;
                10              case 2:
                                    fiddle();
                                    break;
                11              case 3:
                                    fiddle();
                                    break;
                                default:
                                    fiddle();
                                    break;
                            }
                        }
                    }
                }

                Source https://phpmd.org/rules/codesize.html#cyclomaticcomplexity

                The function updateUser() has a Cyclomatic Complexity of 20. The configured cyclomatic complexity threshold is 10.
                Open

                function updateUser($uid, $uname, $login_name, $name, $url, $email, $user_icq, $user_aim, $user_yim,
                                    $user_msnm, $user_from, $user_occ, $user_intrest, $user_viewemail, $user_avatar,
                                    $user_sig, $attachsig, $theme, $pass, $pass2, $rank, $bio, $uorder, $umode, $notify_method,
                                    $notify_mode, $timezone_offset, $user_mailok, $language,
                                    $pass_expired, $groups = array()

                CyclomaticComplexity

                Since: 0.1

                Complexity is determined by the number of decision points in a method plus one for the method entry. The decision points are 'if', 'while', 'for', and 'case labels'. Generally, 1-4 is low complexity, 5-7 indicates moderate complexity, 8-10 is high complexity, and 11+ is very high complexity.

                Example

                // Cyclomatic Complexity = 11
                class Foo {
                1   public function example() {
                2       if ($a == $b) {
                3           if ($a1 == $b1) {
                                fiddle();
                4           } elseif ($a2 == $b2) {
                                fiddle();
                            } else {
                                fiddle();
                            }
                5       } elseif ($c == $d) {
                6           while ($c == $d) {
                                fiddle();
                            }
                7        } elseif ($e == $f) {
                8           for ($n = 0; $n < $h; $n++) {
                                fiddle();
                            }
                        } else {
                            switch ($z) {
                9               case 1:
                                    fiddle();
                                    break;
                10              case 2:
                                    fiddle();
                                    break;
                11              case 3:
                                    fiddle();
                                    break;
                                default:
                                    fiddle();
                                    break;
                            }
                        }
                    }
                }

                Source https://phpmd.org/rules/codesize.html#cyclomaticcomplexity

                Missing class import via use statement (line '105', column '23').
                Open

                    $submit_button = new icms_form_elements_Button('', 'submit', _AM_GO, 'submit');

                MissingImport

                Since: 2.7.0

                Importing all external classes in a file through use statements makes them clearly visible.

                Example

                function make() {
                    return new \stdClass();
                }

                Source http://phpmd.org/rules/cleancode.html#MissingImport

                Missing class import via use statement (line '58', column '49').
                Open

                    $usercount = $member_handler->getUserCount(new icms_db_criteria_Item('level', '-1', '!='));

                MissingImport

                Since: 2.7.0

                Importing all external classes in a file through use statements makes them clearly visible.

                Example

                function make() {
                    return new \stdClass();
                }

                Source http://phpmd.org/rules/cleancode.html#MissingImport

                Missing class import via use statement (line '63', column '21').
                Open

                    $criteria->add(new icms_db_criteria_Item('level', '-1', '!='));

                MissingImport

                Since: 2.7.0

                Importing all external classes in a file through use statements makes them clearly visible.

                Example

                function make() {
                    return new \stdClass();
                }

                Source http://phpmd.org/rules/cleancode.html#MissingImport

                Missing class import via use statement (line '77', column '23').
                Open

                    $submit_button = new icms_form_elements_Button('', 'submit', _AM_GO, 'submit');

                MissingImport

                Since: 2.7.0

                Importing all external classes in a file through use statements makes them clearly visible.

                Example

                function make() {
                    return new \stdClass();
                }

                Source http://phpmd.org/rules/cleancode.html#MissingImport

                Missing class import via use statement (line '90', column '18').
                Open

                    $criteria = new icms_db_criteria_Compo();

                MissingImport

                Since: 2.7.0

                Importing all external classes in a file through use statements makes them clearly visible.

                Example

                function make() {
                    return new \stdClass();
                }

                Source http://phpmd.org/rules/cleancode.html#MissingImport

                Missing class import via use statement (line '106', column '20').
                Open

                    $fct_hidden = new icms_form_elements_Hidden('fct', 'users');

                MissingImport

                Since: 2.7.0

                Importing all external classes in a file through use statements makes them clearly visible.

                Example

                function make() {
                    return new \stdClass();
                }

                Source http://phpmd.org/rules/cleancode.html#MissingImport

                Missing class import via use statement (line '354', column '101').
                Open

                            $tables[] = array ('table_name' => 'xoopscomments', 'uid_column' => 'com_uid', 'criteria' => new icms_db_criteria_Item('com_status', XOOPS_COMMENT_ACTIVE));

                MissingImport

                Since: 2.7.0

                Importing all external classes in a file through use statements makes them clearly visible.

                Example

                function make() {
                    return new \stdClass();
                }

                Source http://phpmd.org/rules/cleancode.html#MissingImport

                Missing class import via use statement (line '69', column '26').
                Open

                    $user_select_tray = new icms_form_elements_Tray(_AM_NICKNAME, '<br />');

                MissingImport

                Since: 2.7.0

                Importing all external classes in a file through use statements makes them clearly visible.

                Example

                function make() {
                    return new \stdClass();
                }

                Source http://phpmd.org/rules/cleancode.html#MissingImport

                Missing class import via use statement (line '89', column '21').
                Open

                    $user_select = new icms_form_elements_Select('', 'uid');

                MissingImport

                Since: 2.7.0

                Importing all external classes in a file through use statements makes them clearly visible.

                Example

                function make() {
                    return new \stdClass();
                }

                Source http://phpmd.org/rules/cleancode.html#MissingImport

                Missing class import via use statement (line '60', column '18').
                Open

                    $editform = new icms_form_Theme(_AM_EDEUSER, 'edituser', 'admin.php');

                MissingImport

                Since: 2.7.0

                Importing all external classes in a file through use statements makes them clearly visible.

                Example

                function make() {
                    return new \stdClass();
                }

                Source http://phpmd.org/rules/cleancode.html#MissingImport

                Missing class import via use statement (line '87', column '13').
                Open

                    $nav = new icms_view_PageNav($usercount, 200, $userstart, 'userstart', 'fct=users');

                MissingImport

                Since: 2.7.0

                Importing all external classes in a file through use statements makes them clearly visible.

                Example

                function make() {
                    return new \stdClass();
                }

                Source http://phpmd.org/rules/cleancode.html#MissingImport

                Missing class import via use statement (line '359', column '21').
                Open

                                $criteria = new icms_db_criteria_Compo();

                MissingImport

                Since: 2.7.0

                Importing all external classes in a file through use statements makes them clearly visible.

                Example

                function make() {
                    return new \stdClass();
                }

                Source http://phpmd.org/rules/cleancode.html#MissingImport

                Missing class import via use statement (line '263', column '80').
                Open

                    if ($edituser->getVar('uname') != $uname && $member_handler->getUserCount(new icms_db_criteria_Item('uname', $uname)) > 0 || $edituser->getVar('login_name') != $login_name && $member_handler->getUserCount(new icms_db_criteria_Item('login_name', $login_name)) > 0) {

                MissingImport

                Since: 2.7.0

                Importing all external classes in a file through use statements makes them clearly visible.

                Example

                function make() {
                    return new \stdClass();
                }

                Source http://phpmd.org/rules/cleancode.html#MissingImport

                Missing class import via use statement (line '74', column '19').
                Open

                    $op_select = new icms_form_elements_Select('', 'op');

                MissingImport

                Since: 2.7.0

                Importing all external classes in a file through use statements makes them clearly visible.

                Example

                function make() {
                    return new \stdClass();
                }

                Source http://phpmd.org/rules/cleancode.html#MissingImport

                Missing class import via use statement (line '88', column '18').
                Open

                    $editform = new icms_form_Theme(_AM_REMOVED_USERS, 'edituser', 'admin.php');

                MissingImport

                Since: 2.7.0

                Importing all external classes in a file through use statements makes them clearly visible.

                Example

                function make() {
                    return new \stdClass();
                }

                Source http://phpmd.org/rules/cleancode.html#MissingImport

                Missing class import via use statement (line '91', column '21').
                Open

                    $criteria->add(new icms_db_criteria_Item('level', '-1'));

                MissingImport

                Since: 2.7.0

                Importing all external classes in a file through use statements makes them clearly visible.

                Example

                function make() {
                    return new \stdClass();
                }

                Source http://phpmd.org/rules/cleancode.html#MissingImport

                Missing class import via use statement (line '97', column '26').
                Open

                    $user_select_tray = new icms_form_elements_Tray(_AM_NICKNAME, '<br />');

                MissingImport

                Since: 2.7.0

                Importing all external classes in a file through use statements makes them clearly visible.

                Example

                function make() {
                    return new \stdClass();
                }

                Source http://phpmd.org/rules/cleancode.html#MissingImport

                Missing class import via use statement (line '62', column '18').
                Open

                    $criteria = new icms_db_criteria_Compo();

                MissingImport

                Since: 2.7.0

                Importing all external classes in a file through use statements makes them clearly visible.

                Example

                function make() {
                    return new \stdClass();
                }

                Source http://phpmd.org/rules/cleancode.html#MissingImport

                Missing class import via use statement (line '71', column '25').
                Open

                    $user_select_nav = new icms_form_elements_Label('', $nav->renderNav(4));

                MissingImport

                Since: 2.7.0

                Importing all external classes in a file through use statements makes them clearly visible.

                Example

                function make() {
                    return new \stdClass();
                }

                Source http://phpmd.org/rules/cleancode.html#MissingImport

                Missing class import via use statement (line '86', column '49').
                Open

                    $usercount = $member_handler->getUserCount(new icms_db_criteria_Item('level', '-1'));

                MissingImport

                Since: 2.7.0

                Importing all external classes in a file through use statements makes them clearly visible.

                Example

                function make() {
                    return new \stdClass();
                }

                Source http://phpmd.org/rules/cleancode.html#MissingImport

                Missing class import via use statement (line '61', column '21').
                Open

                    $user_select = new icms_form_elements_Select('', 'uid');

                MissingImport

                Since: 2.7.0

                Importing all external classes in a file through use statements makes them clearly visible.

                Example

                function make() {
                    return new \stdClass();
                }

                Source http://phpmd.org/rules/cleancode.html#MissingImport

                Missing class import via use statement (line '99', column '25').
                Open

                    $user_select_nav = new icms_form_elements_Label('', $nav->renderNav(4));

                MissingImport

                Since: 2.7.0

                Importing all external classes in a file through use statements makes them clearly visible.

                Example

                function make() {
                    return new \stdClass();
                }

                Source http://phpmd.org/rules/cleancode.html#MissingImport

                Missing class import via use statement (line '360', column '25').
                Open

                                $criteria->add (new icms_db_criteria_Item($table['uid_column'], $id));

                MissingImport

                Since: 2.7.0

                Importing all external classes in a file through use statements makes them clearly visible.

                Example

                function make() {
                    return new \stdClass();
                }

                Source http://phpmd.org/rules/cleancode.html#MissingImport

                Missing class import via use statement (line '263', column '211').
                Open

                    if ($edituser->getVar('uname') != $uname && $member_handler->getUserCount(new icms_db_criteria_Item('uname', $uname)) > 0 || $edituser->getVar('login_name') != $login_name && $member_handler->getUserCount(new icms_db_criteria_Item('login_name', $login_name)) > 0) {

                MissingImport

                Since: 2.7.0

                Importing all external classes in a file through use statements makes them clearly visible.

                Example

                function make() {
                    return new \stdClass();
                }

                Source http://phpmd.org/rules/cleancode.html#MissingImport

                Missing class import via use statement (line '310', column '20').
                Open

                            $icmspass = new icms_core_Password();

                MissingImport

                Since: 2.7.0

                Importing all external classes in a file through use statements makes them clearly visible.

                Example

                function make() {
                    return new \stdClass();
                }

                Source http://phpmd.org/rules/cleancode.html#MissingImport

                Missing class import via use statement (line '59', column '13').
                Open

                    $nav = new icms_view_PageNav($usercount, 200, $userstart, 'userstart', 'fct=users');

                MissingImport

                Since: 2.7.0

                Importing all external classes in a file through use statements makes them clearly visible.

                Example

                function make() {
                    return new \stdClass();
                }

                Source http://phpmd.org/rules/cleancode.html#MissingImport

                Missing class import via use statement (line '78', column '20').
                Open

                    $fct_hidden = new icms_form_elements_Hidden('fct', 'users');

                MissingImport

                Since: 2.7.0

                Importing all external classes in a file through use statements makes them clearly visible.

                Example

                function make() {
                    return new \stdClass();
                }

                Source http://phpmd.org/rules/cleancode.html#MissingImport

                Missing class import via use statement (line '102', column '19').
                Open

                    $op_select = new icms_form_elements_Select('', 'op');

                MissingImport

                Since: 2.7.0

                Importing all external classes in a file through use statements makes them clearly visible.

                Example

                function make() {
                    return new \stdClass();
                }

                Source http://phpmd.org/rules/cleancode.html#MissingImport

                The method updateUser uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them.
                Open

                    } else {
                        $edituser->setVar('name', $name);
                        $edituser->setVar('uname', $uname);
                        $edituser->setVar('login_name', $login_name);
                        $edituser->setVar('email', $email);

                ElseExpression

                Since: 1.4.0

                An if expression with an else branch is basically not necessary. You can rewrite the conditions in a way that the else clause is not necessary and the code becomes simpler to read. To achieve this, use early return statements, though you may need to split the code it several smaller methods. For very simple assignments you could also use the ternary operations.

                Example

                class Foo
                {
                    public function bar($flag)
                    {
                        if ($flag) {
                            // one branch
                        } else {
                            // another branch
                        }
                    }
                }

                Source https://phpmd.org/rules/cleancode.html#elseexpression

                The method modifyUser uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them.
                Open

                    } else {
                        echo "<h4 style='text-align:" . _GLOBAL_LEFT . ";'>" . _AM_USERDONEXIT . "</h4>";
                    }

                ElseExpression

                Since: 1.4.0

                An if expression with an else branch is basically not necessary. You can rewrite the conditions in a way that the else clause is not necessary and the code becomes simpler to read. To achieve this, use early return statements, though you may need to split the code it several smaller methods. For very simple assignments you could also use the ternary operations.

                Example

                class Foo
                {
                    public function bar($flag)
                    {
                        if ($flag) {
                            // one branch
                        } else {
                            // another branch
                        }
                    }
                }

                Source https://phpmd.org/rules/cleancode.html#elseexpression

                Avoid assigning values to variables in if clauses and the like (line '373', column '9').
                Open

                function synchronize($id, $type) {
                    switch($type) {
                        case 'user':
                            // Array of tables from which to count 'posts'
                            $tables = array();

                IfStatementAssignment

                Since: 2.7.0

                Assignments in if clauses and the like are considered a code smell. Assignments in PHP return the right operand as their result. In many cases, this is an expected behavior, but can lead to many difficult to spot bugs, especially when the right operand could result in zero, null or an empty string and the like.

                Example

                class Foo
                {
                    public function bar($flag)
                    {
                        if ($foo = 'bar') { // possible typo
                            // ...
                        }
                        if ($baz = 0) { // always false
                            // ...
                        }
                    }
                }

                Source http://phpmd.org/rules/cleancode.html#ifstatementassignment

                Avoid using static access to class 'icms' in method 'updateUser'.
                Open

                    $member_handler = icms::handler('icms_member');

                StaticAccess

                Since: 1.4.0

                Static access causes unexchangeable dependencies to other classes and leads to hard to test code. Avoid using static access at all costs and instead inject dependencies through the constructor. The only case when static access is acceptable is when used for factory methods.

                Example

                class Foo
                {
                    public function bar()
                    {
                        Bar::baz();
                    }
                }

                Source https://phpmd.org/rules/cleancode.html#staticaccess

                The method updateUser uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them.
                Open

                        } else {
                            $signature = icms_core_DataFilter::checkVar($user_sig, 'html', 'input');
                            $edituser->setVar('user_sig', $signature);
                        }

                ElseExpression

                Since: 1.4.0

                An if expression with an else branch is basically not necessary. You can rewrite the conditions in a way that the else clause is not necessary and the code becomes simpler to read. To achieve this, use early return statements, though you may need to split the code it several smaller methods. For very simple assignments you could also use the ternary operations.

                Example

                class Foo
                {
                    public function bar($flag)
                    {
                        if ($flag) {
                            // one branch
                        } else {
                            // another branch
                        }
                    }
                }

                Source https://phpmd.org/rules/cleancode.html#elseexpression

                Avoid using static access to class 'icms_core_DataFilter' in method 'updateUser'.
                Open

                            $signature = icms_core_DataFilter::checkVar($user_sig, 'html', 'input');

                StaticAccess

                Since: 1.4.0

                Static access causes unexchangeable dependencies to other classes and leads to hard to test code. Avoid using static access at all costs and instead inject dependencies through the constructor. The only case when static access is acceptable is when used for factory methods.

                Example

                class Foo
                {
                    public function bar()
                    {
                        Bar::baz();
                    }
                }

                Source https://phpmd.org/rules/cleancode.html#staticaccess

                Avoid using static access to class 'icms_core_DataFilter' in method 'updateUser'.
                Open

                            $edituser->setVar('user_sig', icms_core_DataFilter::icms_substr($signature, 0, (int) $icmsConfigUser['sig_max_length']));

                StaticAccess

                Since: 1.4.0

                Static access causes unexchangeable dependencies to other classes and leads to hard to test code. Avoid using static access at all costs and instead inject dependencies through the constructor. The only case when static access is acceptable is when used for factory methods.

                Example

                class Foo
                {
                    public function bar()
                    {
                        Bar::baz();
                    }
                }

                Source https://phpmd.org/rules/cleancode.html#staticaccess

                Avoid using static access to class 'icms_core_Message' in method 'modifyUser'.
                Open

                            icms_core_Message::confirm(array('fct' => 'users', 'op' => 'reactivate', 'uid' => $user->getVar('uid')), 'admin.php', _AM_NOTACTIVE);

                StaticAccess

                Since: 1.4.0

                Static access causes unexchangeable dependencies to other classes and leads to hard to test code. Avoid using static access at all costs and instead inject dependencies through the constructor. The only case when static access is acceptable is when used for factory methods.

                Example

                class Foo
                {
                    public function bar()
                    {
                        Bar::baz();
                    }
                }

                Source https://phpmd.org/rules/cleancode.html#staticaccess

                Avoid using static access to class 'icms' in method 'displayUsers'.
                Open

                    $member_handler = icms::handler('icms_member');

                StaticAccess

                Since: 1.4.0

                Static access causes unexchangeable dependencies to other classes and leads to hard to test code. Avoid using static access at all costs and instead inject dependencies through the constructor. The only case when static access is acceptable is when used for factory methods.

                Example

                class Foo
                {
                    public function bar()
                    {
                        Bar::baz();
                    }
                }

                Source https://phpmd.org/rules/cleancode.html#staticaccess

                Avoid assigning values to variables in if clauses and the like (line '368', column '9').
                Open

                function synchronize($id, $type) {
                    switch($type) {
                        case 'user':
                            // Array of tables from which to count 'posts'
                            $tables = array();

                IfStatementAssignment

                Since: 2.7.0

                Assignments in if clauses and the like are considered a code smell. Assignments in PHP return the right operand as their result. In many cases, this is an expected behavior, but can lead to many difficult to spot bugs, especially when the right operand could result in zero, null or an empty string and the like.

                Example

                class Foo
                {
                    public function bar($flag)
                    {
                        if ($foo = 'bar') { // possible typo
                            // ...
                        }
                        if ($baz = 0) { // always false
                            // ...
                        }
                    }
                }

                Source http://phpmd.org/rules/cleancode.html#ifstatementassignment

                Avoid assigning values to variables in if clauses and the like (line '363', column '9').
                Open

                function synchronize($id, $type) {
                    switch($type) {
                        case 'user':
                            // Array of tables from which to count 'posts'
                            $tables = array();

                IfStatementAssignment

                Since: 2.7.0

                Assignments in if clauses and the like are considered a code smell. Assignments in PHP return the right operand as their result. In many cases, this is an expected behavior, but can lead to many difficult to spot bugs, especially when the right operand could result in zero, null or an empty string and the like.

                Example

                class Foo
                {
                    public function bar($flag)
                    {
                        if ($foo = 'bar') { // possible typo
                            // ...
                        }
                        if ($baz = 0) { // always false
                            // ...
                        }
                    }
                }

                Source http://phpmd.org/rules/cleancode.html#ifstatementassignment

                Avoid using static access to class 'icms' in method 'modifyUser'.
                Open

                    $member_handler = icms::handler('icms_member');

                StaticAccess

                Since: 1.4.0

                Static access causes unexchangeable dependencies to other classes and leads to hard to test code. Avoid using static access at all costs and instead inject dependencies through the constructor. The only case when static access is acceptable is when used for factory methods.

                Example

                class Foo
                {
                    public function bar()
                    {
                        Bar::baz();
                    }
                }

                Source https://phpmd.org/rules/cleancode.html#staticaccess

                The method updateUser uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them.
                Open

                        } else {
                            if ($groups != array()) {
                                $oldgroups = $edituser->getGroups();
                                //If the edited user is the current user and the current user WAS in the webmaster's group and is NOT in the new groups array
                                if ($edituser->getVar('uid') == icms::$user->getVar('uid') && (in_array(XOOPS_GROUP_ADMIN, $oldgroups)) && !(in_array(XOOPS_GROUP_ADMIN, $groups))) {

                ElseExpression

                Since: 1.4.0

                An if expression with an else branch is basically not necessary. You can rewrite the conditions in a way that the else clause is not necessary and the code becomes simpler to read. To achieve this, use early return statements, though you may need to split the code it several smaller methods. For very simple assignments you could also use the ternary operations.

                Example

                class Foo
                {
                    public function bar($flag)
                    {
                        if ($flag) {
                            // one branch
                        } else {
                            // another branch
                        }
                    }
                }

                Source https://phpmd.org/rules/cleancode.html#elseexpression

                Avoid using static access to class 'icms' in method 'updateUser'.
                Open

                                $member_handler = icms::handler('icms_member');

                StaticAccess

                Since: 1.4.0

                Static access causes unexchangeable dependencies to other classes and leads to hard to test code. Avoid using static access at all costs and instead inject dependencies through the constructor. The only case when static access is acceptable is when used for factory methods.

                Example

                class Foo
                {
                    public function bar()
                    {
                        Bar::baz();
                    }
                }

                Source https://phpmd.org/rules/cleancode.html#staticaccess

                Avoid assigning values to variables in if clauses and the like (line '364', column '10').
                Open

                function synchronize($id, $type) {
                    switch($type) {
                        case 'user':
                            // Array of tables from which to count 'posts'
                            $tables = array();

                IfStatementAssignment

                Since: 2.7.0

                Assignments in if clauses and the like are considered a code smell. Assignments in PHP return the right operand as their result. In many cases, this is an expected behavior, but can lead to many difficult to spot bugs, especially when the right operand could result in zero, null or an empty string and the like.

                Example

                class Foo
                {
                    public function bar($flag)
                    {
                        if ($foo = 'bar') { // possible typo
                            // ...
                        }
                        if ($baz = 0) { // always false
                            // ...
                        }
                    }
                }

                Source http://phpmd.org/rules/cleancode.html#ifstatementassignment

                Avoid using static access to class 'icms_core_DataFilter' in method 'updateUser'.
                Open

                            $signature = strip_tags(icms_core_DataFilter::codeDecode($user_sig, 1));

                StaticAccess

                Since: 1.4.0

                Static access causes unexchangeable dependencies to other classes and leads to hard to test code. Avoid using static access at all costs and instead inject dependencies through the constructor. The only case when static access is acceptable is when used for factory methods.

                Example

                class Foo
                {
                    public function bar()
                    {
                        Bar::baz();
                    }
                }

                Source https://phpmd.org/rules/cleancode.html#staticaccess

                Avoid unused local variables such as '$groups'.
                Open

                    $groups = array(XOOPS_GROUP_USERS);

                UnusedLocalVariable

                Since: 0.2

                Detects when a local variable is declared and/or assigned, but not used.

                Example

                class Foo {
                    public function doSomething()
                    {
                        $i = 5; // Unused
                    }
                }

                Source https://phpmd.org/rules/unusedcode.html#unusedlocalvariable

                Avoid unused local variables such as '$pass_expired_value'.
                Open

                        $pass_expired_value = $user->getVar('pass_expired') ? 1 : 0;

                UnusedLocalVariable

                Since: 0.2

                Detects when a local variable is declared and/or assigned, but not used.

                Example

                class Foo {
                    public function doSomething()
                    {
                        $i = 5; // Unused
                    }
                }

                Source https://phpmd.org/rules/unusedcode.html#unusedlocalvariable

                Avoid unused local variables such as '$uname_value'.
                Open

                    $uname_value = '';

                UnusedLocalVariable

                Since: 0.2

                Detects when a local variable is declared and/or assigned, but not used.

                Example

                class Foo {
                    public function doSomething()
                    {
                        $i = 5; // Unused
                    }
                }

                Source https://phpmd.org/rules/unusedcode.html#unusedlocalvariable

                Avoid unused local variables such as '$notify_mode_value'.
                Open

                    $notify_mode_value = XOOPS_NOTIFICATION_MODE_SENDALWAYS;

                UnusedLocalVariable

                Since: 0.2

                Detects when a local variable is declared and/or assigned, but not used.

                Example

                class Foo {
                    public function doSomething()
                    {
                        $i = 5; // Unused
                    }
                }

                Source https://phpmd.org/rules/unusedcode.html#unusedlocalvariable

                Avoid unused local variables such as '$form_title'.
                Open

                    $form_title = _AM_ADDUSER;

                UnusedLocalVariable

                Since: 0.2

                Detects when a local variable is declared and/or assigned, but not used.

                Example

                class Foo {
                    public function doSomething()
                    {
                        $i = 5; // Unused
                    }
                }

                Source https://phpmd.org/rules/unusedcode.html#unusedlocalvariable

                Avoid unused local variables such as '$icmsConfig'.
                Open

                    global $icmsConfig, $icmsModule;

                UnusedLocalVariable

                Since: 0.2

                Detects when a local variable is declared and/or assigned, but not used.

                Example

                class Foo {
                    public function doSomething()
                    {
                        $i = 5; // Unused
                    }
                }

                Source https://phpmd.org/rules/unusedcode.html#unusedlocalvariable

                Avoid unused local variables such as '$icmsModule'.
                Open

                    global $icmsConfig, $icmsModule;

                UnusedLocalVariable

                Since: 0.2

                Detects when a local variable is declared and/or assigned, but not used.

                Example

                class Foo {
                    public function doSomething()
                    {
                        $i = 5; // Unused
                    }
                }

                Source https://phpmd.org/rules/unusedcode.html#unusedlocalvariable

                Avoid unused local variables such as '$temp'.
                Open

                        $temp = $user->getVar('theme');

                UnusedLocalVariable

                Since: 0.2

                Detects when a local variable is declared and/or assigned, but not used.

                Example

                class Foo {
                    public function doSomething()
                    {
                        $i = 5; // Unused
                    }
                }

                Source https://phpmd.org/rules/unusedcode.html#unusedlocalvariable

                Avoid unused local variables such as '$name_value'.
                Open

                    $name_value = '';

                UnusedLocalVariable

                Since: 0.2

                Detects when a local variable is declared and/or assigned, but not used.

                Example

                class Foo {
                    public function doSomething()
                    {
                        $i = 5; // Unused
                    }
                }

                Source https://phpmd.org/rules/unusedcode.html#unusedlocalvariable

                Avoid unused local variables such as '$uorder_value'.
                Open

                    $uorder_value = $icmsConfig['com_order'];

                UnusedLocalVariable

                Since: 0.2

                Detects when a local variable is declared and/or assigned, but not used.

                Example

                class Foo {
                    public function doSomething()
                    {
                        $i = 5; // Unused
                    }
                }

                Source https://phpmd.org/rules/unusedcode.html#unusedlocalvariable

                Avoid unused local variables such as '$language_value'.
                Open

                    $language_value = $icmsConfig['language'];

                UnusedLocalVariable

                Since: 0.2

                Detects when a local variable is declared and/or assigned, but not used.

                Example

                class Foo {
                    public function doSomething()
                    {
                        $i = 5; // Unused
                    }
                }

                Source https://phpmd.org/rules/unusedcode.html#unusedlocalvariable

                Avoid unused local variables such as '$timezone_value'.
                Open

                        $timezone_value = $user->getVar('timezone_offset');

                UnusedLocalVariable

                Since: 0.2

                Detects when a local variable is declared and/or assigned, but not used.

                Example

                class Foo {
                    public function doSomething()
                    {
                        $i = 5; // Unused
                    }
                }

                Source https://phpmd.org/rules/unusedcode.html#unusedlocalvariable

                Avoid unused local variables such as '$email_cbox_value'.
                Open

                    $email_cbox_value = 0;

                UnusedLocalVariable

                Since: 0.2

                Detects when a local variable is declared and/or assigned, but not used.

                Example

                class Foo {
                    public function doSomething()
                    {
                        $i = 5; // Unused
                    }
                }

                Source https://phpmd.org/rules/unusedcode.html#unusedlocalvariable

                Avoid unused local variables such as '$location_value'.
                Open

                    $location_value = '';

                UnusedLocalVariable

                Since: 0.2

                Detects when a local variable is declared and/or assigned, but not used.

                Example

                class Foo {
                    public function doSomething()
                    {
                        $i = 5; // Unused
                    }
                }

                Source https://phpmd.org/rules/unusedcode.html#unusedlocalvariable

                Avoid unused local variables such as '$url_value'.
                Open

                        $url_value = $user->getVar('url', 'E');

                UnusedLocalVariable

                Since: 0.2

                Detects when a local variable is declared and/or assigned, but not used.

                Example

                class Foo {
                    public function doSomething()
                    {
                        $i = 5; // Unused
                    }
                }

                Source https://phpmd.org/rules/unusedcode.html#unusedlocalvariable

                Avoid unused local variables such as '$op_value'.
                Open

                        $op_value = 'updateUser';

                UnusedLocalVariable

                Since: 0.2

                Detects when a local variable is declared and/or assigned, but not used.

                Example

                class Foo {
                    public function doSomething()
                    {
                        $i = 5; // Unused
                    }
                }

                Source https://phpmd.org/rules/unusedcode.html#unusedlocalvariable

                Avoid unused local variables such as '$icmsConfig'.
                Open

                    global $icmsConfig, $icmsModule, $icmsConfigUser;

                UnusedLocalVariable

                Since: 0.2

                Detects when a local variable is declared and/or assigned, but not used.

                Example

                class Foo {
                    public function doSomething()
                    {
                        $i = 5; // Unused
                    }
                }

                Source https://phpmd.org/rules/unusedcode.html#unusedlocalvariable

                Avoid unused local variables such as '$icq_value'.
                Open

                    $icq_value = '';

                UnusedLocalVariable

                Since: 0.2

                Detects when a local variable is declared and/or assigned, but not used.

                Example

                class Foo {
                    public function doSomething()
                    {
                        $i = 5; // Unused
                    }
                }

                Source https://phpmd.org/rules/unusedcode.html#unusedlocalvariable

                Avoid unused local variables such as '$msnm_value'.
                Open

                    $msnm_value = '';

                UnusedLocalVariable

                Since: 0.2

                Detects when a local variable is declared and/or assigned, but not used.

                Example

                class Foo {
                    public function doSomething()
                    {
                        $i = 5; // Unused
                    }
                }

                Source https://phpmd.org/rules/unusedcode.html#unusedlocalvariable

                Avoid unused local variables such as '$login_name_value'.
                Open

                        $login_name_value = $user->getVar('login_name', 'E');

                UnusedLocalVariable

                Since: 0.2

                Detects when a local variable is declared and/or assigned, but not used.

                Example

                class Foo {
                    public function doSomething()
                    {
                        $i = 5; // Unused
                    }
                }

                Source https://phpmd.org/rules/unusedcode.html#unusedlocalvariable

                Avoid unused local variables such as '$yim_value'.
                Open

                        $yim_value = $user->getVar('user_yim', "E");

                UnusedLocalVariable

                Since: 0.2

                Detects when a local variable is declared and/or assigned, but not used.

                Example

                class Foo {
                    public function doSomething()
                    {
                        $i = 5; // Unused
                    }
                }

                Source https://phpmd.org/rules/unusedcode.html#unusedlocalvariable

                Avoid unused local variables such as '$form_title'.
                Open

                        $form_title = _AM_UPDATEUSER . ': ' . $user->getVar('uname');

                UnusedLocalVariable

                Since: 0.2

                Detects when a local variable is declared and/or assigned, but not used.

                Example

                class Foo {
                    public function doSomething()
                    {
                        $i = 5; // Unused
                    }
                }

                Source https://phpmd.org/rules/unusedcode.html#unusedlocalvariable

                Avoid unused local variables such as '$sig_cbox_value'.
                Open

                    $sig_cbox_value = 0;

                UnusedLocalVariable

                Since: 0.2

                Detects when a local variable is declared and/or assigned, but not used.

                Example

                class Foo {
                    public function doSomething()
                    {
                        $i = 5; // Unused
                    }
                }

                Source https://phpmd.org/rules/unusedcode.html#unusedlocalvariable

                Avoid unused local variables such as '$umode_value'.
                Open

                    $umode_value = $icmsConfig['com_mode'];

                UnusedLocalVariable

                Since: 0.2

                Detects when a local variable is declared and/or assigned, but not used.

                Example

                class Foo {
                    public function doSomething()
                    {
                        $i = 5; // Unused
                    }
                }

                Source https://phpmd.org/rules/unusedcode.html#unusedlocalvariable

                Avoid unused local variables such as '$bio_value'.
                Open

                    $bio_value = '';

                UnusedLocalVariable

                Since: 0.2

                Detects when a local variable is declared and/or assigned, but not used.

                Example

                class Foo {
                    public function doSomething()
                    {
                        $i = 5; // Unused
                    }
                }

                Source https://phpmd.org/rules/unusedcode.html#unusedlocalvariable

                Avoid unused local variables such as '$mailok_value'.
                Open

                    $mailok_value = 0;

                UnusedLocalVariable

                Since: 0.2

                Detects when a local variable is declared and/or assigned, but not used.

                Example

                class Foo {
                    public function doSomething()
                    {
                        $i = 5; // Unused
                    }
                }

                Source https://phpmd.org/rules/unusedcode.html#unusedlocalvariable

                Avoid unused local variables such as '$op_value'.
                Open

                    $op_value = 'addUser';

                UnusedLocalVariable

                Since: 0.2

                Detects when a local variable is declared and/or assigned, but not used.

                Example

                class Foo {
                    public function doSomething()
                    {
                        $i = 5; // Unused
                    }
                }

                Source https://phpmd.org/rules/unusedcode.html#unusedlocalvariable

                The function modifyUser() contains an exit expression.
                Open

                            exit();

                ExitExpression

                Since: 0.2

                An exit-expression within regular code is untestable and therefore it should be avoided. Consider to move the exit-expression into some kind of startup script where an error/exception code is returned to the calling environment.

                Example

                class Foo {
                    public function bar($param)  {
                        if ($param === 42) {
                            exit(23);
                        }
                    }
                }

                Source https://phpmd.org/rules/design.html#exitexpression

                Avoid unused local variables such as '$email_value'.
                Open

                    $email_value = '';

                UnusedLocalVariable

                Since: 0.2

                Detects when a local variable is declared and/or assigned, but not used.

                Example

                class Foo {
                    public function doSomething()
                    {
                        $i = 5; // Unused
                    }
                }

                Source https://phpmd.org/rules/unusedcode.html#unusedlocalvariable

                Avoid unused local variables such as '$interest_value'.
                Open

                        $interest_value = $user->getVar('user_intrest', 'E');

                UnusedLocalVariable

                Since: 0.2

                Detects when a local variable is declared and/or assigned, but not used.

                Example

                class Foo {
                    public function doSomething()
                    {
                        $i = 5; // Unused
                    }
                }

                Source https://phpmd.org/rules/unusedcode.html#unusedlocalvariable

                Avoid unused local variables such as '$sig_cbox_value'.
                Open

                        $sig_cbox_value = ($user->getVar('attachsig') == 1) ? 1 : 0;

                UnusedLocalVariable

                Since: 0.2

                Detects when a local variable is declared and/or assigned, but not used.

                Example

                class Foo {
                    public function doSomething()
                    {
                        $i = 5; // Unused
                    }
                }

                Source https://phpmd.org/rules/unusedcode.html#unusedlocalvariable

                Avoid unused local variables such as '$uorder_value'.
                Open

                        $uorder_value = $user->getVar('uorder');

                UnusedLocalVariable

                Since: 0.2

                Detects when a local variable is declared and/or assigned, but not used.

                Example

                class Foo {
                    public function doSomething()
                    {
                        $i = 5; // Unused
                    }
                }

                Source https://phpmd.org/rules/unusedcode.html#unusedlocalvariable

                Avoid unused local variables such as '$notify_mode_value'.
                Open

                        $notify_mode_value = $user->getVar('notify_mode');

                UnusedLocalVariable

                Since: 0.2

                Detects when a local variable is declared and/or assigned, but not used.

                Example

                class Foo {
                    public function doSomething()
                    {
                        $i = 5; // Unused
                    }
                }

                Source https://phpmd.org/rules/unusedcode.html#unusedlocalvariable

                Avoid unused local variables such as '$rank_value'.
                Open

                        $rank_value = $user->rank(FALSE);

                UnusedLocalVariable

                Since: 0.2

                Detects when a local variable is declared and/or assigned, but not used.

                Example

                class Foo {
                    public function doSomething()
                    {
                        $i = 5; // Unused
                    }
                }

                Source https://phpmd.org/rules/unusedcode.html#unusedlocalvariable

                Avoid unused local variables such as '$language_value'.
                Open

                        $language_value = $user->getVar('language');

                UnusedLocalVariable

                Since: 0.2

                Detects when a local variable is declared and/or assigned, but not used.

                Example

                class Foo {
                    public function doSomething()
                    {
                        $i = 5; // Unused
                    }
                }

                Source https://phpmd.org/rules/unusedcode.html#unusedlocalvariable

                Avoid unused local variables such as '$icmsModule'.
                Open

                    global $icmsConfig, $icmsModule, $icmsConfigUser;

                UnusedLocalVariable

                Since: 0.2

                Detects when a local variable is declared and/or assigned, but not used.

                Example

                class Foo {
                    public function doSomething()
                    {
                        $i = 5; // Unused
                    }
                }

                Source https://phpmd.org/rules/unusedcode.html#unusedlocalvariable

                Avoid unused parameters such as '$theme'.
                Open

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

                UnusedFormalParameter

                Since: 0.2

                Avoid passing parameters to methods or constructors and then not using those parameters.

                Example

                class Foo
                {
                    private function bar($howdy)
                    {
                        // $howdy is not used
                    }
                }

                Source https://phpmd.org/rules/unusedcode.html#unusedformalparameter

                Avoid unused local variables such as '$name_value'.
                Open

                        $name_value = $user->getVar('name', 'E');

                UnusedLocalVariable

                Since: 0.2

                Detects when a local variable is declared and/or assigned, but not used.

                Example

                class Foo {
                    public function doSomething()
                    {
                        $i = 5; // Unused
                    }
                }

                Source https://phpmd.org/rules/unusedcode.html#unusedlocalvariable

                Avoid unused local variables such as '$aim_value'.
                Open

                        $aim_value = $user->getVar('user_aim', "E");

                UnusedLocalVariable

                Since: 0.2

                Detects when a local variable is declared and/or assigned, but not used.

                Example

                class Foo {
                    public function doSomething()
                    {
                        $i = 5; // Unused
                    }
                }

                Source https://phpmd.org/rules/unusedcode.html#unusedlocalvariable

                Avoid unused local variables such as '$uid_value'.
                Open

                    $uid_value = '';

                UnusedLocalVariable

                Since: 0.2

                Detects when a local variable is declared and/or assigned, but not used.

                Example

                class Foo {
                    public function doSomething()
                    {
                        $i = 5; // Unused
                    }
                }

                Source https://phpmd.org/rules/unusedcode.html#unusedlocalvariable

                Avoid unused local variables such as '$email_value'.
                Open

                        $email_value = $user->getVar('email', 'E');

                UnusedLocalVariable

                Since: 0.2

                Detects when a local variable is declared and/or assigned, but not used.

                Example

                class Foo {
                    public function doSomething()
                    {
                        $i = 5; // Unused
                    }
                }

                Source https://phpmd.org/rules/unusedcode.html#unusedlocalvariable

                Avoid unused local variables such as '$occ_value'.
                Open

                        $occ_value = $user->getVar('user_occ', 'E');

                UnusedLocalVariable

                Since: 0.2

                Detects when a local variable is declared and/or assigned, but not used.

                Example

                class Foo {
                    public function doSomething()
                    {
                        $i = 5; // Unused
                    }
                }

                Source https://phpmd.org/rules/unusedcode.html#unusedlocalvariable

                Avoid unused local variables such as '$icq_value'.
                Open

                        $icq_value = $user->getVar('user_icq', 'E');

                UnusedLocalVariable

                Since: 0.2

                Detects when a local variable is declared and/or assigned, but not used.

                Example

                class Foo {
                    public function doSomething()
                    {
                        $i = 5; // Unused
                    }
                }

                Source https://phpmd.org/rules/unusedcode.html#unusedlocalvariable

                Avoid unused local variables such as '$umode_value'.
                Open

                        $umode_value = $user->getVar('umode');

                UnusedLocalVariable

                Since: 0.2

                Detects when a local variable is declared and/or assigned, but not used.

                Example

                class Foo {
                    public function doSomething()
                    {
                        $i = 5; // Unused
                    }
                }

                Source https://phpmd.org/rules/unusedcode.html#unusedlocalvariable

                Avoid unused local variables such as '$aim_value'.
                Open

                    $aim_value = '';

                UnusedLocalVariable

                Since: 0.2

                Detects when a local variable is declared and/or assigned, but not used.

                Example

                class Foo {
                    public function doSomething()
                    {
                        $i = 5; // Unused
                    }
                }

                Source https://phpmd.org/rules/unusedcode.html#unusedlocalvariable

                Avoid unused local variables such as '$yim_value'.
                Open

                    $yim_value = '';

                UnusedLocalVariable

                Since: 0.2

                Detects when a local variable is declared and/or assigned, but not used.

                Example

                class Foo {
                    public function doSomething()
                    {
                        $i = 5; // Unused
                    }
                }

                Source https://phpmd.org/rules/unusedcode.html#unusedlocalvariable

                Avoid unused local variables such as '$rank_value'.
                Open

                    $rank_value = 0;

                UnusedLocalVariable

                Since: 0.2

                Detects when a local variable is declared and/or assigned, but not used.

                Example

                class Foo {
                    public function doSomething()
                    {
                        $i = 5; // Unused
                    }
                }

                Source https://phpmd.org/rules/unusedcode.html#unusedlocalvariable

                Avoid unused parameters such as '$user_avatar'.
                Open

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

                UnusedFormalParameter

                Since: 0.2

                Avoid passing parameters to methods or constructors and then not using those parameters.

                Example

                class Foo
                {
                    private function bar($howdy)
                    {
                        // $howdy is not used
                    }
                }

                Source https://phpmd.org/rules/unusedcode.html#unusedformalparameter

                Avoid unused local variables such as '$icmsModule'.
                Open

                    global $icmsConfig, $icmsModule, $icmsConfigUser;

                UnusedLocalVariable

                Since: 0.2

                Detects when a local variable is declared and/or assigned, but not used.

                Example

                class Foo {
                    public function doSomething()
                    {
                        $i = 5; // Unused
                    }
                }

                Source https://phpmd.org/rules/unusedcode.html#unusedlocalvariable

                Avoid unused local variables such as '$form_isedit'.
                Open

                    $form_isedit = FALSE;

                UnusedLocalVariable

                Since: 0.2

                Detects when a local variable is declared and/or assigned, but not used.

                Example

                class Foo {
                    public function doSomething()
                    {
                        $i = 5; // Unused
                    }
                }

                Source https://phpmd.org/rules/unusedcode.html#unusedlocalvariable

                Avoid unused local variables such as '$form_isedit'.
                Open

                        $form_isedit = TRUE;

                UnusedLocalVariable

                Since: 0.2

                Detects when a local variable is declared and/or assigned, but not used.

                Example

                class Foo {
                    public function doSomething()
                    {
                        $i = 5; // Unused
                    }
                }

                Source https://phpmd.org/rules/unusedcode.html#unusedlocalvariable

                Avoid unused local variables such as '$notify_method_value'.
                Open

                    $notify_method_value = XOOPS_NOTIFICATION_METHOD_PM;

                UnusedLocalVariable

                Since: 0.2

                Detects when a local variable is declared and/or assigned, but not used.

                Example

                class Foo {
                    public function doSomething()
                    {
                        $i = 5; // Unused
                    }
                }

                Source https://phpmd.org/rules/unusedcode.html#unusedlocalvariable

                Avoid unused local variables such as '$uname_value'.
                Open

                        $uname_value = $user->getVar('uname', 'E');

                UnusedLocalVariable

                Since: 0.2

                Detects when a local variable is declared and/or assigned, but not used.

                Example

                class Foo {
                    public function doSomething()
                    {
                        $i = 5; // Unused
                    }
                }

                Source https://phpmd.org/rules/unusedcode.html#unusedlocalvariable

                Avoid unused local variables such as '$location_value'.
                Open

                        $location_value = $user->getVar('user_from', 'E');

                UnusedLocalVariable

                Since: 0.2

                Detects when a local variable is declared and/or assigned, but not used.

                Example

                class Foo {
                    public function doSomething()
                    {
                        $i = 5; // Unused
                    }
                }

                Source https://phpmd.org/rules/unusedcode.html#unusedlocalvariable

                Avoid unused local variables such as '$sig_value'.
                Open

                        $sig_value = $user->getVar('user_sig', 'E');

                UnusedLocalVariable

                Since: 0.2

                Detects when a local variable is declared and/or assigned, but not used.

                Example

                class Foo {
                    public function doSomething()
                    {
                        $i = 5; // Unused
                    }
                }

                Source https://phpmd.org/rules/unusedcode.html#unusedlocalvariable

                Avoid unused local variables such as '$mailok_value'.
                Open

                        $mailok_value = $user->getVar('user_mailok', 'E');

                UnusedLocalVariable

                Since: 0.2

                Detects when a local variable is declared and/or assigned, but not used.

                Example

                class Foo {
                    public function doSomething()
                    {
                        $i = 5; // Unused
                    }
                }

                Source https://phpmd.org/rules/unusedcode.html#unusedlocalvariable

                The function updateUser() contains an exit expression.
                Open

                    exit();

                ExitExpression

                Since: 0.2

                An exit-expression within regular code is untestable and therefore it should be avoided. Consider to move the exit-expression into some kind of startup script where an error/exception code is returned to the calling environment.

                Example

                class Foo {
                    public function bar($param)  {
                        if ($param === 42) {
                            exit(23);
                        }
                    }
                }

                Source https://phpmd.org/rules/design.html#exitexpression

                The function synchronize() contains an exit expression.
                Open

                            if (!$result = icms::$xoopsDB->query($sql)) {exit(_AM_CNGUSERID);}

                ExitExpression

                Since: 0.2

                An exit-expression within regular code is untestable and therefore it should be avoided. Consider to move the exit-expression into some kind of startup script where an error/exception code is returned to the calling environment.

                Example

                class Foo {
                    public function bar($param)  {
                        if ($param === 42) {
                            exit(23);
                        }
                    }
                }

                Source https://phpmd.org/rules/design.html#exitexpression

                The function synchronize() contains an exit expression.
                Open

                            if (!$result = icms::$xoopsDB->query($sql)) {exit(sprintf(_AM_CNUUSER %s , $id));}

                ExitExpression

                Since: 0.2

                An exit-expression within regular code is untestable and therefore it should be avoided. Consider to move the exit-expression into some kind of startup script where an error/exception code is returned to the calling environment.

                Example

                class Foo {
                    public function bar($param)  {
                        if ($param === 42) {
                            exit(23);
                        }
                    }
                }

                Source https://phpmd.org/rules/design.html#exitexpression

                Avoid unused local variables such as '$login_name_value'.
                Open

                    $login_name_value = '';

                UnusedLocalVariable

                Since: 0.2

                Detects when a local variable is declared and/or assigned, but not used.

                Example

                class Foo {
                    public function doSomething()
                    {
                        $i = 5; // Unused
                    }
                }

                Source https://phpmd.org/rules/unusedcode.html#unusedlocalvariable

                Avoid unused local variables such as '$interest_value'.
                Open

                    $interest_value = '';

                UnusedLocalVariable

                Since: 0.2

                Detects when a local variable is declared and/or assigned, but not used.

                Example

                class Foo {
                    public function doSomething()
                    {
                        $i = 5; // Unused
                    }
                }

                Source https://phpmd.org/rules/unusedcode.html#unusedlocalvariable

                Avoid unused local variables such as '$sig_value'.
                Open

                    $sig_value = '';

                UnusedLocalVariable

                Since: 0.2

                Detects when a local variable is declared and/or assigned, but not used.

                Example

                class Foo {
                    public function doSomething()
                    {
                        $i = 5; // Unused
                    }
                }

                Source https://phpmd.org/rules/unusedcode.html#unusedlocalvariable

                Avoid unused local variables such as '$msnm_value'.
                Open

                        $msnm_value = $user->getVar('user_msnm', 'E');

                UnusedLocalVariable

                Since: 0.2

                Detects when a local variable is declared and/or assigned, but not used.

                Example

                class Foo {
                    public function doSomething()
                    {
                        $i = 5; // Unused
                    }
                }

                Source https://phpmd.org/rules/unusedcode.html#unusedlocalvariable

                Avoid unused local variables such as '$notify_method_value'.
                Open

                        $notify_method_value = $user->getVar('notify_method');

                UnusedLocalVariable

                Since: 0.2

                Detects when a local variable is declared and/or assigned, but not used.

                Example

                class Foo {
                    public function doSomething()
                    {
                        $i = 5; // Unused
                    }
                }

                Source https://phpmd.org/rules/unusedcode.html#unusedlocalvariable

                The function updateUser() contains an exit expression.
                Open

                                exit();

                ExitExpression

                Since: 0.2

                An exit-expression within regular code is untestable and therefore it should be avoided. Consider to move the exit-expression into some kind of startup script where an error/exception code is returned to the calling environment.

                Example

                class Foo {
                    public function bar($param)  {
                        if ($param === 42) {
                            exit(23);
                        }
                    }
                }

                Source https://phpmd.org/rules/design.html#exitexpression

                Avoid unused local variables such as '$url_value'.
                Open

                    $url_value = '';

                UnusedLocalVariable

                Since: 0.2

                Detects when a local variable is declared and/or assigned, but not used.

                Example

                class Foo {
                    public function doSomething()
                    {
                        $i = 5; // Unused
                    }
                }

                Source https://phpmd.org/rules/unusedcode.html#unusedlocalvariable

                Avoid unused local variables such as '$timezone_value'.
                Open

                    $timezone_value = $icmsConfig['default_TZ'];

                UnusedLocalVariable

                Since: 0.2

                Detects when a local variable is declared and/or assigned, but not used.

                Example

                class Foo {
                    public function doSomething()
                    {
                        $i = 5; // Unused
                    }
                }

                Source https://phpmd.org/rules/unusedcode.html#unusedlocalvariable

                Avoid unused local variables such as '$pass_expired_value'.
                Open

                    $pass_expired_value = 0;

                UnusedLocalVariable

                Since: 0.2

                Detects when a local variable is declared and/or assigned, but not used.

                Example

                class Foo {
                    public function doSomething()
                    {
                        $i = 5; // Unused
                    }
                }

                Source https://phpmd.org/rules/unusedcode.html#unusedlocalvariable

                Avoid unused local variables such as '$icmsConfigUser'.
                Open

                    global $icmsConfig, $icmsModule, $icmsConfigUser;

                UnusedLocalVariable

                Since: 0.2

                Detects when a local variable is declared and/or assigned, but not used.

                Example

                class Foo {
                    public function doSomething()
                    {
                        $i = 5; // Unused
                    }
                }

                Source https://phpmd.org/rules/unusedcode.html#unusedlocalvariable

                Avoid unused local variables such as '$occ_value'.
                Open

                    $occ_value = '';

                UnusedLocalVariable

                Since: 0.2

                Detects when a local variable is declared and/or assigned, but not used.

                Example

                class Foo {
                    public function doSomething()
                    {
                        $i = 5; // Unused
                    }
                }

                Source https://phpmd.org/rules/unusedcode.html#unusedlocalvariable

                Avoid unused local variables such as '$uid_value'.
                Open

                        $uid_value = $user->getVar('uid');

                UnusedLocalVariable

                Since: 0.2

                Detects when a local variable is declared and/or assigned, but not used.

                Example

                class Foo {
                    public function doSomething()
                    {
                        $i = 5; // Unused
                    }
                }

                Source https://phpmd.org/rules/unusedcode.html#unusedlocalvariable

                Avoid unused local variables such as '$groups'.
                Open

                        $groups = array_values($user->getGroups());

                UnusedLocalVariable

                Since: 0.2

                Detects when a local variable is declared and/or assigned, but not used.

                Example

                class Foo {
                    public function doSomething()
                    {
                        $i = 5; // Unused
                    }
                }

                Source https://phpmd.org/rules/unusedcode.html#unusedlocalvariable

                Avoid unused local variables such as '$email_cbox_value'.
                Open

                        $email_cbox_value = $user->getVar('user_viewemail') ? 1 : 0;

                UnusedLocalVariable

                Since: 0.2

                Detects when a local variable is declared and/or assigned, but not used.

                Example

                class Foo {
                    public function doSomething()
                    {
                        $i = 5; // Unused
                    }
                }

                Source https://phpmd.org/rules/unusedcode.html#unusedlocalvariable

                Avoid unused local variables such as '$bio_value'.
                Open

                        $bio_value = $user->getVar('bio', 'E');

                UnusedLocalVariable

                Since: 0.2

                Detects when a local variable is declared and/or assigned, but not used.

                Example

                class Foo {
                    public function doSomething()
                    {
                        $i = 5; // Unused
                    }
                }

                Source https://phpmd.org/rules/unusedcode.html#unusedlocalvariable

                The function synchronize() contains an exit expression.
                Open

                    exit();

                ExitExpression

                Since: 0.2

                An exit-expression within regular code is untestable and therefore it should be avoided. Consider to move the exit-expression into some kind of startup script where an error/exception code is returned to the calling environment.

                Example

                class Foo {
                    public function bar($param)  {
                        if ($param === 42) {
                            exit(23);
                        }
                    }
                }

                Source https://phpmd.org/rules/design.html#exitexpression

                Call to method setOrder from undeclared class \icms_db_criteria_Compo
                Open

                    $criteria->setOrder('ASC');

                Call to method handler from undeclared class \icms
                Open

                    $member_handler = icms::handler('icms_member');

                Call to method __construct from undeclared class \icms_db_criteria_Item
                Open

                    if ($edituser->getVar('uname') != $uname && $member_handler->getUserCount(new icms_db_criteria_Item('uname', $uname)) > 0 || $edituser->getVar('login_name') != $login_name && $member_handler->getUserCount(new icms_db_criteria_Item('login_name', $login_name)) > 0) {

                Call to method __construct from undeclared class \icms_core_Password
                Open

                            $icmspass = new icms_core_Password();

                Call to method __construct from undeclared class \icms_form_elements_Tray
                Open

                    $user_select_tray = new icms_form_elements_Tray(_AM_NICKNAME, '<br />');

                Call to method addElement from undeclared class \icms_form_Theme
                Open

                    $editform->addElement($submit_button);

                Reference to static property xoopsDB from undeclared class \icms
                Open

                                    if ($row = icms::$xoopsDB->fetchArray($result)) {$total_posts = $total_posts + $row['total'];}

                Call to method __construct from undeclared class \icms_view_PageNav
                Open

                    $nav = new icms_view_PageNav($usercount, 200, $userstart, 'userstart', 'fct=users');

                Call to method setLimit from undeclared class \icms_db_criteria_Compo
                Open

                    $criteria->setLimit(200);

                Call to method addElement from undeclared class \icms_form_elements_Tray
                Open

                    $user_select_tray->addElement($user_select);

                Call to method __construct from undeclared class \icms_form_elements_Button
                Open

                    $submit_button = new icms_form_elements_Button('', 'submit', _AM_GO, 'submit');

                Invalid offset "com_mode" of array type array{template_set:mixed}
                Open

                    $umode_value = $icmsConfig['com_mode'];

                Parameter $type has undeclared type \str
                Open

                function synchronize($id, $type) {

                Call to method add from undeclared class \icms_db_criteria_Compo
                Open

                                if (!empty($table['criteria'])) {$criteria->add ($table['criteria']);}

                Call to method add from undeclared class \icms_db_criteria_Compo
                Open

                    $criteria->add(new icms_db_criteria_Item('level', '-1', '!='));

                Call to method __construct from undeclared class \icms_db_criteria_Item
                Open

                    $usercount = $member_handler->getUserCount(new icms_db_criteria_Item('level', '-1'));

                Call to method __construct from undeclared class \icms_form_Theme
                Open

                    $editform = new icms_form_Theme(_AM_REMOVED_USERS, 'edituser', 'admin.php');

                Call to method __construct from undeclared class \icms_db_criteria_Compo
                Open

                    $criteria = new icms_db_criteria_Compo();

                Reference to static property security from undeclared class \icms
                Open

                            . icms::$security->getTokenHTML() . "\n"

                Call to method setSort from undeclared class \icms_db_criteria_Compo
                Open

                    $criteria->setSort('uname');

                Call to method addElement from undeclared class \icms_form_elements_Tray
                Open

                    $user_select_tray->addElement($user_select_nav);

                Invalid offset "default_TZ" of array type array{template_set:mixed}
                Open

                    $timezone_value = $icmsConfig['default_TZ'];

                Reference to static property xoopsDB from undeclared class \icms
                Open

                            if (!$result = icms::$xoopsDB->query($sql)) {exit(sprintf(_AM_CNUUSER %s , $id));}

                Reference to static property xoopsDB from undeclared class \icms
                Open

                            while ($row = icms::$xoopsDB->fetchArray($result)) {

                Reference to static property user from undeclared class \icms
                Open

                                if ($edituser->getVar('uid') == icms::$user->getVar('uid') && (in_array(XOOPS_GROUP_ADMIN, $oldgroups)) && !(in_array(XOOPS_GROUP_ADMIN, $groups))) {

                Reference to static property xoopsDB from undeclared class \icms
                Open

                            $sql = "SELECT uid FROM " . icms::$xoopsDB->prefix('users') . "";

                Call to method __construct from undeclared class \icms_db_criteria_Item
                Open

                            $tables[] = array ('table_name' => 'xoopscomments', 'uid_column' => 'com_uid', 'criteria' => new icms_db_criteria_Item('com_status', XOOPS_COMMENT_ACTIVE));

                Reference to static property xoopsDB from undeclared class \icms
                Open

                                if ($result = icms::$xoopsDB->query($sql)) {

                Call to method __construct from undeclared class \icms_view_PageNav
                Open

                    $nav = new icms_view_PageNav($usercount, 200, $userstart, 'userstart', 'fct=users');

                Call to method __construct from undeclared class \icms_db_criteria_Item
                Open

                    $criteria->add(new icms_db_criteria_Item('level', '-1', '!='));

                Call to method addElement from undeclared class \icms_form_Theme
                Open

                    $editform->addElement($fct_hidden);

                Call to method addOptionArray from undeclared class \icms_form_elements_Select
                Open

                    $user_select->addOptionArray($member_handler->getUserList($criteria));

                Call to method addElement from undeclared class \icms_form_Theme
                Open

                    $editform->addElement($op_select);

                Invalid offset "language" of array type array{template_set:mixed}
                Open

                    $language_value = $icmsConfig['language'];

                Call to method handler from undeclared class \icms
                Open

                                $member_handler = icms::handler('icms_member');

                Reference to static property user from undeclared class \icms
                Open

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

                Call to method __construct from undeclared class \icms_form_elements_Select
                Open

                    $user_select = new icms_form_elements_Select('', 'uid');

                Call to method setSort from undeclared class \icms_db_criteria_Compo
                Open

                    $criteria->setSort('uname');

                Call to method __construct from undeclared class \icms_form_elements_Button
                Open

                    $submit_button = new icms_form_elements_Button('', 'submit', _AM_GO, 'submit');

                Call to method __construct from undeclared class \icms_form_elements_Hidden
                Open

                    $fct_hidden = new icms_form_elements_Hidden('fct', 'users');

                Call to method __construct from undeclared class \icms_form_elements_Select
                Open

                    $user_select = new icms_form_elements_Select('', 'uid');

                Call to method add from undeclared class \icms_db_criteria_Compo
                Open

                    $criteria->add(new icms_db_criteria_Item('level', '-1'));

                Call to method __construct from undeclared class \icms_form_elements_Select
                Open

                    $op_select = new icms_form_elements_Select('', 'op');

                Call to method __construct from undeclared class \icms_form_elements_Hidden
                Open

                    $fct_hidden = new icms_form_elements_Hidden('fct', 'users');

                Call to method codeDecode from undeclared class \icms_core_DataFilter
                Open

                            $signature = strip_tags(icms_core_DataFilter::codeDecode($user_sig, 1));

                Call to method encryptPass from undeclared class \icms_core_Password
                Open

                            $pass = $icmspass->encryptPass($pass);

                Call to method handler from undeclared class \icms
                Open

                    $member_handler = icms::handler('icms_member');

                Call to method __construct from undeclared class \icms_form_elements_Select
                Open

                    $op_select = new icms_form_elements_Select('', 'op');

                Call to method display from undeclared class \icms_form_Theme
                Open

                    $editform->display();

                Call to method __construct from undeclared class \icms_form_elements_Label
                Open

                    $user_select_nav = new icms_form_elements_Label('', $nav->renderNav(4));

                Call to method renderNav from undeclared class \icms_view_PageNav
                Open

                    $user_select_nav = new icms_form_elements_Label('', $nav->renderNav(4));

                Call to method icms_substr from undeclared class \icms_core_DataFilter
                Open

                            $edituser->setVar('user_sig', icms_core_DataFilter::icms_substr($signature, 0, (int) $icmsConfigUser['sig_max_length']));

                Call to method renderWhere from undeclared class \icms_db_criteria_Compo
                Open

                                $sql = "SELECT COUNT(*) AS total FROM " . icms::$xoopsDB->prefix($table['table_name']) . ' ' . $criteria->renderWhere();

                Reference to static property xoopsDB from undeclared class \icms
                Open

                            $sql = "UPDATE " . icms::$xoopsDB->prefix("users") . " SET posts = '". (int) $total_posts . "' WHERE uid = '". (int) $id . "'";

                Variable $icmsModule is undeclared
                Open

                    || !is_object($icmsModule)

                Call to method __construct from undeclared class \icms_db_criteria_Item
                Open

                    $usercount = $member_handler->getUserCount(new icms_db_criteria_Item('level', '-1', '!='));

                Call to method __construct from undeclared class \icms_form_Theme
                Open

                    $editform = new icms_form_Theme(_AM_EDEUSER, 'edituser', 'admin.php');

                Call to method __construct from undeclared class \icms_form_elements_Label
                Open

                    $user_select_nav = new icms_form_elements_Label('', $nav->renderNav(4));

                Call to method handler from undeclared class \icms
                Open

                    $member_handler = icms::handler('icms_member');

                Call to method checkVar from undeclared class \icms_core_DataFilter
                Open

                            $signature = icms_core_DataFilter::checkVar($user_sig, 'html', 'input');

                Call to method __construct from undeclared class \icms_db_criteria_Item
                Open

                                $criteria->add (new icms_db_criteria_Item($table['uid_column'], $id));

                Call to method add from undeclared class \icms_db_criteria_Compo
                Open

                                $criteria->add (new icms_db_criteria_Item($table['uid_column'], $id));

                Call to method setLimit from undeclared class \icms_db_criteria_Compo
                Open

                    $criteria->setLimit(200);

                Call to method addElement from undeclared class \icms_form_Theme
                Open

                    $editform->addElement($op_select);

                Call to method setStart from undeclared class \icms_db_criteria_Compo
                Open

                    $criteria->setStart($userstart);

                Call to method __construct from undeclared class \icms_form_elements_Tray
                Open

                    $user_select_tray = new icms_form_elements_Tray(_AM_NICKNAME, '<br />');

                Call to method addOptionArray from undeclared class \icms_form_elements_Select
                Open

                    $op_select->addOptionArray(array('modifyUser'=>_AM_MODIFYUSER));

                Reference to undeclared constant \s
                Open

                            if (!$result = icms::$xoopsDB->query($sql)) {exit(sprintf(_AM_CNUUSER %s , $id));}

                Call to method __construct from undeclared class \icms_db_criteria_Compo
                Open

                    $criteria = new icms_db_criteria_Compo();

                Call to method addOptionArray from undeclared class \icms_form_elements_Select
                Open

                    $user_select->addOptionArray($member_handler->getUserList($criteria));

                Call to method addElement from undeclared class \icms_form_Theme
                Open

                    $editform->addElement($user_select_tray);

                Call to method addElement from undeclared class \icms_form_Theme
                Open

                    $editform->addElement($fct_hidden);

                Call to method renderNav from undeclared class \icms_view_PageNav
                Open

                    $user_select_nav = new icms_form_elements_Label('', $nav->renderNav(4));

                Variable $icmsModule is undeclared
                Open

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

                Invalid offset "com_order" of array type array{template_set:mixed}
                Open

                    $uorder_value = $icmsConfig['com_order'];

                Call to method addElement from undeclared class \icms_form_elements_Tray
                Open

                    $user_select_tray->addElement($user_select);

                Call to method addElement from undeclared class \icms_form_Theme
                Open

                    $editform->addElement($submit_button);

                Call to method confirm from undeclared class \icms_core_Message
                Open

                            icms_core_Message::confirm(array('fct' => 'users', 'op' => 'reactivate', 'uid' => $user->getVar('uid')), 'admin.php', _AM_NOTACTIVE);

                Call to method setOrder from undeclared class \icms_db_criteria_Compo
                Open

                    $criteria->setOrder('ASC');

                Call to method addElement from undeclared class \icms_form_elements_Tray
                Open

                    $user_select_tray->addElement($user_select_nav);

                Call to method addElement from undeclared class \icms_form_Theme
                Open

                    $editform->addElement($user_select_tray);

                Call to method addOptionArray from undeclared class \icms_form_elements_Select
                Open

                    $op_select->addOptionArray(array('modifyUser'=>_AM_MODIFYUSER, 'delUser'=>_AM_DELUSER));

                Call to method __construct from undeclared class \icms_db_criteria_Compo
                Open

                                $criteria = new icms_db_criteria_Compo();

                Reference to static property xoopsDB from undeclared class \icms
                Open

                                $sql = "SELECT COUNT(*) AS total FROM " . icms::$xoopsDB->prefix($table['table_name']) . ' ' . $criteria->renderWhere();

                Reference to static property xoopsDB from undeclared class \icms
                Open

                            if (!$result = icms::$xoopsDB->query($sql)) {exit(_AM_CNGUSERID);}

                Argument 1 (format) is int but \sprintf() takes string
                Open

                            if (!$result = icms::$xoopsDB->query($sql)) {exit(sprintf(_AM_CNUUSER %s , $id));}

                Argument 2 (type) is 'user' but \synchronize() takes \str defined at /code/htdocs/modules/system/admin/users/users.php:347
                Open

                                synchronize($id, "user");

                Reference to static property user from undeclared class \icms
                Open

                if (!is_object(icms::$user)

                Call to method setStart from undeclared class \icms_db_criteria_Compo
                Open

                    $criteria->setStart($userstart);

                Call to method __construct from undeclared class \icms_db_criteria_Item
                Open

                    $criteria->add(new icms_db_criteria_Item('level', '-1'));

                Call to method display from undeclared class \icms_form_Theme
                Open

                    $editform->display();

                The parameter $timezone_offset is not named in camelCase.
                Open

                function updateUser($uid, $uname, $login_name, $name, $url, $email, $user_icq, $user_aim, $user_yim,
                                    $user_msnm, $user_from, $user_occ, $user_intrest, $user_viewemail, $user_avatar,
                                    $user_sig, $attachsig, $theme, $pass, $pass2, $rank, $bio, $uorder, $umode, $notify_method,
                                    $notify_mode, $timezone_offset, $user_mailok, $language,
                                    $pass_expired, $groups = array()

                CamelCaseParameterName

                Since: 0.2

                It is considered best practice to use the camelCase notation to name parameters.

                Example

                class ClassName {
                    public function doSomething($user_name) {
                    }
                }

                Source

                The parameter $user_mailok is not named in camelCase.
                Open

                function updateUser($uid, $uname, $login_name, $name, $url, $email, $user_icq, $user_aim, $user_yim,
                                    $user_msnm, $user_from, $user_occ, $user_intrest, $user_viewemail, $user_avatar,
                                    $user_sig, $attachsig, $theme, $pass, $pass2, $rank, $bio, $uorder, $umode, $notify_method,
                                    $notify_mode, $timezone_offset, $user_mailok, $language,
                                    $pass_expired, $groups = array()

                CamelCaseParameterName

                Since: 0.2

                It is considered best practice to use the camelCase notation to name parameters.

                Example

                class ClassName {
                    public function doSomething($user_name) {
                    }
                }

                Source

                The parameter $user_aim is not named in camelCase.
                Open

                function updateUser($uid, $uname, $login_name, $name, $url, $email, $user_icq, $user_aim, $user_yim,
                                    $user_msnm, $user_from, $user_occ, $user_intrest, $user_viewemail, $user_avatar,
                                    $user_sig, $attachsig, $theme, $pass, $pass2, $rank, $bio, $uorder, $umode, $notify_method,
                                    $notify_mode, $timezone_offset, $user_mailok, $language,
                                    $pass_expired, $groups = array()

                CamelCaseParameterName

                Since: 0.2

                It is considered best practice to use the camelCase notation to name parameters.

                Example

                class ClassName {
                    public function doSomething($user_name) {
                    }
                }

                Source

                The parameter $user_occ is not named in camelCase.
                Open

                function updateUser($uid, $uname, $login_name, $name, $url, $email, $user_icq, $user_aim, $user_yim,
                                    $user_msnm, $user_from, $user_occ, $user_intrest, $user_viewemail, $user_avatar,
                                    $user_sig, $attachsig, $theme, $pass, $pass2, $rank, $bio, $uorder, $umode, $notify_method,
                                    $notify_mode, $timezone_offset, $user_mailok, $language,
                                    $pass_expired, $groups = array()

                CamelCaseParameterName

                Since: 0.2

                It is considered best practice to use the camelCase notation to name parameters.

                Example

                class ClassName {
                    public function doSomething($user_name) {
                    }
                }

                Source

                The parameter $user_viewemail is not named in camelCase.
                Open

                function updateUser($uid, $uname, $login_name, $name, $url, $email, $user_icq, $user_aim, $user_yim,
                                    $user_msnm, $user_from, $user_occ, $user_intrest, $user_viewemail, $user_avatar,
                                    $user_sig, $attachsig, $theme, $pass, $pass2, $rank, $bio, $uorder, $umode, $notify_method,
                                    $notify_mode, $timezone_offset, $user_mailok, $language,
                                    $pass_expired, $groups = array()

                CamelCaseParameterName

                Since: 0.2

                It is considered best practice to use the camelCase notation to name parameters.

                Example

                class ClassName {
                    public function doSomething($user_name) {
                    }
                }

                Source

                The parameter $login_name is not named in camelCase.
                Open

                function updateUser($uid, $uname, $login_name, $name, $url, $email, $user_icq, $user_aim, $user_yim,
                                    $user_msnm, $user_from, $user_occ, $user_intrest, $user_viewemail, $user_avatar,
                                    $user_sig, $attachsig, $theme, $pass, $pass2, $rank, $bio, $uorder, $umode, $notify_method,
                                    $notify_mode, $timezone_offset, $user_mailok, $language,
                                    $pass_expired, $groups = array()

                CamelCaseParameterName

                Since: 0.2

                It is considered best practice to use the camelCase notation to name parameters.

                Example

                class ClassName {
                    public function doSomething($user_name) {
                    }
                }

                Source

                The parameter $user_sig is not named in camelCase.
                Open

                function updateUser($uid, $uname, $login_name, $name, $url, $email, $user_icq, $user_aim, $user_yim,
                                    $user_msnm, $user_from, $user_occ, $user_intrest, $user_viewemail, $user_avatar,
                                    $user_sig, $attachsig, $theme, $pass, $pass2, $rank, $bio, $uorder, $umode, $notify_method,
                                    $notify_mode, $timezone_offset, $user_mailok, $language,
                                    $pass_expired, $groups = array()

                CamelCaseParameterName

                Since: 0.2

                It is considered best practice to use the camelCase notation to name parameters.

                Example

                class ClassName {
                    public function doSomething($user_name) {
                    }
                }

                Source

                The parameter $user_avatar is not named in camelCase.
                Open

                function updateUser($uid, $uname, $login_name, $name, $url, $email, $user_icq, $user_aim, $user_yim,
                                    $user_msnm, $user_from, $user_occ, $user_intrest, $user_viewemail, $user_avatar,
                                    $user_sig, $attachsig, $theme, $pass, $pass2, $rank, $bio, $uorder, $umode, $notify_method,
                                    $notify_mode, $timezone_offset, $user_mailok, $language,
                                    $pass_expired, $groups = array()

                CamelCaseParameterName

                Since: 0.2

                It is considered best practice to use the camelCase notation to name parameters.

                Example

                class ClassName {
                    public function doSomething($user_name) {
                    }
                }

                Source

                The parameter $user_yim is not named in camelCase.
                Open

                function updateUser($uid, $uname, $login_name, $name, $url, $email, $user_icq, $user_aim, $user_yim,
                                    $user_msnm, $user_from, $user_occ, $user_intrest, $user_viewemail, $user_avatar,
                                    $user_sig, $attachsig, $theme, $pass, $pass2, $rank, $bio, $uorder, $umode, $notify_method,
                                    $notify_mode, $timezone_offset, $user_mailok, $language,
                                    $pass_expired, $groups = array()

                CamelCaseParameterName

                Since: 0.2

                It is considered best practice to use the camelCase notation to name parameters.

                Example

                class ClassName {
                    public function doSomething($user_name) {
                    }
                }

                Source

                Avoid variables with short names like $id. Configured minimum length is 3.
                Open

                function synchronize($id, $type) {

                ShortVariable

                Since: 0.2

                Detects when a field, local, or parameter has a very short name.

                Example

                class Something {
                    private $q = 15; // VIOLATION - Field
                    public static function main( array $as ) { // VIOLATION - Formal
                        $r = 20 + $this->q; // VIOLATION - Local
                        for (int $i = 0; $i < 10; $i++) { // Not a Violation (inside FOR)
                            $r += $this->q;
                        }
                    }
                }

                Source https://phpmd.org/rules/naming.html#shortvariable

                The parameter $user_from is not named in camelCase.
                Open

                function updateUser($uid, $uname, $login_name, $name, $url, $email, $user_icq, $user_aim, $user_yim,
                                    $user_msnm, $user_from, $user_occ, $user_intrest, $user_viewemail, $user_avatar,
                                    $user_sig, $attachsig, $theme, $pass, $pass2, $rank, $bio, $uorder, $umode, $notify_method,
                                    $notify_mode, $timezone_offset, $user_mailok, $language,
                                    $pass_expired, $groups = array()

                CamelCaseParameterName

                Since: 0.2

                It is considered best practice to use the camelCase notation to name parameters.

                Example

                class ClassName {
                    public function doSomething($user_name) {
                    }
                }

                Source

                The parameter $notify_mode is not named in camelCase.
                Open

                function updateUser($uid, $uname, $login_name, $name, $url, $email, $user_icq, $user_aim, $user_yim,
                                    $user_msnm, $user_from, $user_occ, $user_intrest, $user_viewemail, $user_avatar,
                                    $user_sig, $attachsig, $theme, $pass, $pass2, $rank, $bio, $uorder, $umode, $notify_method,
                                    $notify_mode, $timezone_offset, $user_mailok, $language,
                                    $pass_expired, $groups = array()

                CamelCaseParameterName

                Since: 0.2

                It is considered best practice to use the camelCase notation to name parameters.

                Example

                class ClassName {
                    public function doSomething($user_name) {
                    }
                }

                Source

                The parameter $user_msnm is not named in camelCase.
                Open

                function updateUser($uid, $uname, $login_name, $name, $url, $email, $user_icq, $user_aim, $user_yim,
                                    $user_msnm, $user_from, $user_occ, $user_intrest, $user_viewemail, $user_avatar,
                                    $user_sig, $attachsig, $theme, $pass, $pass2, $rank, $bio, $uorder, $umode, $notify_method,
                                    $notify_mode, $timezone_offset, $user_mailok, $language,
                                    $pass_expired, $groups = array()

                CamelCaseParameterName

                Since: 0.2

                It is considered best practice to use the camelCase notation to name parameters.

                Example

                class ClassName {
                    public function doSomething($user_name) {
                    }
                }

                Source

                The parameter $user_icq is not named in camelCase.
                Open

                function updateUser($uid, $uname, $login_name, $name, $url, $email, $user_icq, $user_aim, $user_yim,
                                    $user_msnm, $user_from, $user_occ, $user_intrest, $user_viewemail, $user_avatar,
                                    $user_sig, $attachsig, $theme, $pass, $pass2, $rank, $bio, $uorder, $umode, $notify_method,
                                    $notify_mode, $timezone_offset, $user_mailok, $language,
                                    $pass_expired, $groups = array()

                CamelCaseParameterName

                Since: 0.2

                It is considered best practice to use the camelCase notation to name parameters.

                Example

                class ClassName {
                    public function doSomething($user_name) {
                    }
                }

                Source

                The parameter $user_intrest is not named in camelCase.
                Open

                function updateUser($uid, $uname, $login_name, $name, $url, $email, $user_icq, $user_aim, $user_yim,
                                    $user_msnm, $user_from, $user_occ, $user_intrest, $user_viewemail, $user_avatar,
                                    $user_sig, $attachsig, $theme, $pass, $pass2, $rank, $bio, $uorder, $umode, $notify_method,
                                    $notify_mode, $timezone_offset, $user_mailok, $language,
                                    $pass_expired, $groups = array()

                CamelCaseParameterName

                Since: 0.2

                It is considered best practice to use the camelCase notation to name parameters.

                Example

                class ClassName {
                    public function doSomething($user_name) {
                    }
                }

                Source

                The parameter $notify_method is not named in camelCase.
                Open

                function updateUser($uid, $uname, $login_name, $name, $url, $email, $user_icq, $user_aim, $user_yim,
                                    $user_msnm, $user_from, $user_occ, $user_intrest, $user_viewemail, $user_avatar,
                                    $user_sig, $attachsig, $theme, $pass, $pass2, $rank, $bio, $uorder, $umode, $notify_method,
                                    $notify_mode, $timezone_offset, $user_mailok, $language,
                                    $pass_expired, $groups = array()

                CamelCaseParameterName

                Since: 0.2

                It is considered best practice to use the camelCase notation to name parameters.

                Example

                class ClassName {
                    public function doSomething($user_name) {
                    }
                }

                Source

                The parameter $pass_expired is not named in camelCase.
                Open

                function updateUser($uid, $uname, $login_name, $name, $url, $email, $user_icq, $user_aim, $user_yim,
                                    $user_msnm, $user_from, $user_occ, $user_intrest, $user_viewemail, $user_avatar,
                                    $user_sig, $attachsig, $theme, $pass, $pass2, $rank, $bio, $uorder, $umode, $notify_method,
                                    $notify_mode, $timezone_offset, $user_mailok, $language,
                                    $pass_expired, $groups = array()

                CamelCaseParameterName

                Since: 0.2

                It is considered best practice to use the camelCase notation to name parameters.

                Example

                class ClassName {
                    public function doSomething($user_name) {
                    }
                }

                Source

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

                    $form_isedit = FALSE;

                Multi-line function declarations must define one parameter per line
                Open

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

                Multi-line function declarations must define one parameter per line
                Open

                                    $pass_expired, $groups = array()

                Space found before comma in function call
                Open

                            if (!$result = icms::$xoopsDB->query($sql)) {exit(sprintf(_AM_CNUUSER %s , $id));}

                Multi-line function declaration not indented correctly; expected 4 spaces but found 20
                Open

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

                Multi-line function declarations must define one parameter per line
                Open

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

                Multi-line function declarations must define one parameter per line
                Open

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

                Multi-line function declaration not indented correctly; expected 0 spaces but found 20
                Open

                                    ) {

                Multi-line function declarations must define one parameter per line
                Open

                function updateUser($uid, $uname, $login_name, $name, $url, $email, $user_icq, $user_aim, $user_yim,

                Multi-line function declarations must define one parameter per line
                Open

                function updateUser($uid, $uname, $login_name, $name, $url, $email, $user_icq, $user_aim, $user_yim,

                Multi-line function declarations must define one parameter per line
                Open

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

                Multi-line function declarations must define one parameter per line
                Open

                function updateUser($uid, $uname, $login_name, $name, $url, $email, $user_icq, $user_aim, $user_yim,

                Multi-line function declarations must define one parameter per line
                Open

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

                Multi-line function declarations must define one parameter per line
                Open

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

                Multi-line function declarations must define one parameter per line
                Open

                function updateUser($uid, $uname, $login_name, $name, $url, $email, $user_icq, $user_aim, $user_yim,

                Multi-line function declarations must define one parameter per line
                Open

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

                Multi-line function declarations must define one parameter per line
                Open

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

                Multi-line function declaration not indented correctly; expected 4 spaces but found 20
                Open

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

                Multi-line function declarations must define one parameter per line
                Open

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

                Multi-line function declarations must define one parameter per line
                Open

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

                Multi-line function declarations must define one parameter per line
                Open

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

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

                        $form_isedit = TRUE;

                Multi-line function declarations must define one parameter per line
                Open

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

                Multi-line function declarations must define one parameter per line
                Open

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

                Multi-line function declaration not indented correctly; expected 4 spaces but found 20
                Open

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

                Multi-line function declaration not indented correctly; expected 4 spaces but found 20
                Open

                                    $pass_expired, $groups = array()

                Space found after opening bracket of FOREACH loop
                Open

                                foreach (

                Multi-line function declarations must define one parameter per line
                Open

                function updateUser($uid, $uname, $login_name, $name, $url, $email, $user_icq, $user_aim, $user_yim,

                Multi-line function declarations must define one parameter per line
                Open

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

                Multi-line function declarations must define one parameter per line
                Open

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

                Multi-line function declarations must define one parameter per line
                Open

                function updateUser($uid, $uname, $login_name, $name, $url, $email, $user_icq, $user_aim, $user_yim,

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

                        $rank_value = $user->rank(FALSE);

                Multi-line function declarations must define one parameter per line
                Open

                function updateUser($uid, $uname, $login_name, $name, $url, $email, $user_icq, $user_aim, $user_yim,

                The first parameter of a multi-line function declaration must be on the line after the opening bracket
                Open

                function updateUser($uid, $uname, $login_name, $name, $url, $email, $user_icq, $user_aim, $user_yim,

                Multi-line function declarations must define one parameter per line
                Open

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

                Multi-line function declarations must define one parameter per line
                Open

                function updateUser($uid, $uname, $login_name, $name, $url, $email, $user_icq, $user_aim, $user_yim,

                Multi-line function declarations must define one parameter per line
                Open

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

                Space before opening parenthesis of function call prohibited
                Open

                                if (!empty($table['criteria'])) {$criteria->add ($table['criteria']);}

                Newline required after opening brace
                Open

                                if (!empty($table['criteria'])) {$criteria->add ($table['criteria']);}

                Closing brace must be on a line by itself
                Open

                            if (!$result = icms::$xoopsDB->query($sql)) {exit(_AM_CNGUSERID);}

                Space before opening parenthesis of function call prohibited
                Open

                                $criteria->add (new icms_db_criteria_Item($table['uid_column'], $id));

                Newline required after opening brace
                Open

                                    if ($row = icms::$xoopsDB->fetchArray($result)) {$total_posts = $total_posts + $row['total'];}

                Closing brace must be on a line by itself
                Open

                                    if ($row = icms::$xoopsDB->fetchArray($result)) {$total_posts = $total_posts + $row['total'];}

                Expected 1 space after SWITCH keyword; 0 found
                Open

                    switch($type) {

                Newline required after opening brace
                Open

                            if (!$result = icms::$xoopsDB->query($sql)) {exit(sprintf(_AM_CNUUSER %s , $id));}

                Closing brace must be on a line by itself
                Open

                            if (!$result = icms::$xoopsDB->query($sql)) {exit(sprintf(_AM_CNUUSER %s , $id));}

                Closing brace must be on a line by itself
                Open

                                if (!empty($table['criteria'])) {$criteria->add ($table['criteria']);}

                Newline required after opening brace
                Open

                                    $groups as $groupid) {$member_handler->addUserToGroup($groupid, $edituser->getVar('uid'));

                Newline required after opening brace
                Open

                            if (!$result = icms::$xoopsDB->query($sql)) {exit(_AM_CNGUSERID);}

                Expected 0 spaces after opening bracket; newline found
                Open

                                foreach (

                The variable $user_select_tray is not named in camelCase.
                Open

                function displayUsers() {
                    global $icmsConfig, $icmsModule, $icmsConfigUser;
                    $userstart = isset($_GET['userstart']) ? (int) $_GET['userstart'] : 0;
                
                    icms_cp_header();

                CamelCaseVariableName

                Since: 0.2

                It is considered best practice to use the camelCase notation to name variables.

                Example

                class ClassName {
                    public function doSomething() {
                        $data_module = new DataModule();
                    }
                }

                Source

                The variable $op_select is not named in camelCase.
                Open

                function displayUsers() {
                    global $icmsConfig, $icmsModule, $icmsConfigUser;
                    $userstart = isset($_GET['userstart']) ? (int) $_GET['userstart'] : 0;
                
                    icms_cp_header();

                CamelCaseVariableName

                Since: 0.2

                It is considered best practice to use the camelCase notation to name variables.

                Example

                class ClassName {
                    public function doSomething() {
                        $data_module = new DataModule();
                    }
                }

                Source

                The variable $name_value is not named in camelCase.
                Open

                function displayUsers() {
                    global $icmsConfig, $icmsModule, $icmsConfigUser;
                    $userstart = isset($_GET['userstart']) ? (int) $_GET['userstart'] : 0;
                
                    icms_cp_header();

                CamelCaseVariableName

                Since: 0.2

                It is considered best practice to use the camelCase notation to name variables.

                Example

                class ClassName {
                    public function doSomething() {
                        $data_module = new DataModule();
                    }
                }

                Source

                The variable $msnm_value is not named in camelCase.
                Open

                function displayUsers() {
                    global $icmsConfig, $icmsModule, $icmsConfigUser;
                    $userstart = isset($_GET['userstart']) ? (int) $_GET['userstart'] : 0;
                
                    icms_cp_header();

                CamelCaseVariableName

                Since: 0.2

                It is considered best practice to use the camelCase notation to name variables.

                Example

                class ClassName {
                    public function doSomething() {
                        $data_module = new DataModule();
                    }
                }

                Source

                The variable $form_title is not named in camelCase.
                Open

                function displayUsers() {
                    global $icmsConfig, $icmsModule, $icmsConfigUser;
                    $userstart = isset($_GET['userstart']) ? (int) $_GET['userstart'] : 0;
                
                    icms_cp_header();

                CamelCaseVariableName

                Since: 0.2

                It is considered best practice to use the camelCase notation to name variables.

                Example

                class ClassName {
                    public function doSomething() {
                        $data_module = new DataModule();
                    }
                }

                Source

                The variable $yim_value is not named in camelCase.
                Open

                function modifyUser($user) {
                    global $icmsConfig, $icmsModule;
                    icms_cp_header();
                    echo '<div class="CPbigTitle" style="background-image: url(' . ICMS_MODULES_URL . '/system/admin/users/images/users_big.png)">' . _MD_AM_USER . '</div><br />';
                    $member_handler = icms::handler('icms_member');

                CamelCaseVariableName

                Since: 0.2

                It is considered best practice to use the camelCase notation to name variables.

                Example

                class ClassName {
                    public function doSomething() {
                        $data_module = new DataModule();
                    }
                }

                Source

                The variable $interest_value is not named in camelCase.
                Open

                function modifyUser($user) {
                    global $icmsConfig, $icmsModule;
                    icms_cp_header();
                    echo '<div class="CPbigTitle" style="background-image: url(' . ICMS_MODULES_URL . '/system/admin/users/images/users_big.png)">' . _MD_AM_USER . '</div><br />';
                    $member_handler = icms::handler('icms_member');

                CamelCaseVariableName

                Since: 0.2

                It is considered best practice to use the camelCase notation to name variables.

                Example

                class ClassName {
                    public function doSomething() {
                        $data_module = new DataModule();
                    }
                }

                Source

                The variable $notify_mode is not named in camelCase.
                Open

                function updateUser($uid, $uname, $login_name, $name, $url, $email, $user_icq, $user_aim, $user_yim,
                                    $user_msnm, $user_from, $user_occ, $user_intrest, $user_viewemail, $user_avatar,
                                    $user_sig, $attachsig, $theme, $pass, $pass2, $rank, $bio, $uorder, $umode, $notify_method,
                                    $notify_mode, $timezone_offset, $user_mailok, $language,
                                    $pass_expired, $groups = array()

                CamelCaseVariableName

                Since: 0.2

                It is considered best practice to use the camelCase notation to name variables.

                Example

                class ClassName {
                    public function doSomething() {
                        $data_module = new DataModule();
                    }
                }

                Source

                The variable $user_select_nav is not named in camelCase.
                Open

                function displayUsers() {
                    global $icmsConfig, $icmsModule, $icmsConfigUser;
                    $userstart = isset($_GET['userstart']) ? (int) $_GET['userstart'] : 0;
                
                    icms_cp_header();

                CamelCaseVariableName

                Since: 0.2

                It is considered best practice to use the camelCase notation to name variables.

                Example

                class ClassName {
                    public function doSomething() {
                        $data_module = new DataModule();
                    }
                }

                Source

                The variable $user_select_tray is not named in camelCase.
                Open

                function displayUsers() {
                    global $icmsConfig, $icmsModule, $icmsConfigUser;
                    $userstart = isset($_GET['userstart']) ? (int) $_GET['userstart'] : 0;
                
                    icms_cp_header();

                CamelCaseVariableName

                Since: 0.2

                It is considered best practice to use the camelCase notation to name variables.

                Example

                class ClassName {
                    public function doSomething() {
                        $data_module = new DataModule();
                    }
                }

                Source

                The variable $aim_value is not named in camelCase.
                Open

                function displayUsers() {
                    global $icmsConfig, $icmsModule, $icmsConfigUser;
                    $userstart = isset($_GET['userstart']) ? (int) $_GET['userstart'] : 0;
                
                    icms_cp_header();

                CamelCaseVariableName

                Since: 0.2

                It is considered best practice to use the camelCase notation to name variables.

                Example

                class ClassName {
                    public function doSomething() {
                        $data_module = new DataModule();
                    }
                }

                Source

                The variable $mailok_value is not named in camelCase.
                Open

                function displayUsers() {
                    global $icmsConfig, $icmsModule, $icmsConfigUser;
                    $userstart = isset($_GET['userstart']) ? (int) $_GET['userstart'] : 0;
                
                    icms_cp_header();

                CamelCaseVariableName

                Since: 0.2

                It is considered best practice to use the camelCase notation to name variables.

                Example

                class ClassName {
                    public function doSomething() {
                        $data_module = new DataModule();
                    }
                }

                Source

                The variable $login_name_value is not named in camelCase.
                Open

                function modifyUser($user) {
                    global $icmsConfig, $icmsModule;
                    icms_cp_header();
                    echo '<div class="CPbigTitle" style="background-image: url(' . ICMS_MODULES_URL . '/system/admin/users/images/users_big.png)">' . _MD_AM_USER . '</div><br />';
                    $member_handler = icms::handler('icms_member');

                CamelCaseVariableName

                Since: 0.2

                It is considered best practice to use the camelCase notation to name variables.

                Example

                class ClassName {
                    public function doSomething() {
                        $data_module = new DataModule();
                    }
                }

                Source

                The variable $timezone_offset is not named in camelCase.
                Open

                function updateUser($uid, $uname, $login_name, $name, $url, $email, $user_icq, $user_aim, $user_yim,
                                    $user_msnm, $user_from, $user_occ, $user_intrest, $user_viewemail, $user_avatar,
                                    $user_sig, $attachsig, $theme, $pass, $pass2, $rank, $bio, $uorder, $umode, $notify_method,
                                    $notify_mode, $timezone_offset, $user_mailok, $language,
                                    $pass_expired, $groups = array()

                CamelCaseVariableName

                Since: 0.2

                It is considered best practice to use the camelCase notation to name variables.

                Example

                class ClassName {
                    public function doSomething() {
                        $data_module = new DataModule();
                    }
                }

                Source

                The variable $user_select is not named in camelCase.
                Open

                function displayUsers() {
                    global $icmsConfig, $icmsModule, $icmsConfigUser;
                    $userstart = isset($_GET['userstart']) ? (int) $_GET['userstart'] : 0;
                
                    icms_cp_header();

                CamelCaseVariableName

                Since: 0.2

                It is considered best practice to use the camelCase notation to name variables.

                Example

                class ClassName {
                    public function doSomething() {
                        $data_module = new DataModule();
                    }
                }

                Source

                The variable $user_select is not named in camelCase.
                Open

                function displayUsers() {
                    global $icmsConfig, $icmsModule, $icmsConfigUser;
                    $userstart = isset($_GET['userstart']) ? (int) $_GET['userstart'] : 0;
                
                    icms_cp_header();

                CamelCaseVariableName

                Since: 0.2

                It is considered best practice to use the camelCase notation to name variables.

                Example

                class ClassName {
                    public function doSomething() {
                        $data_module = new DataModule();
                    }
                }

                Source

                The variable $sig_cbox_value is not named in camelCase.
                Open

                function displayUsers() {
                    global $icmsConfig, $icmsModule, $icmsConfigUser;
                    $userstart = isset($_GET['userstart']) ? (int) $_GET['userstart'] : 0;
                
                    icms_cp_header();

                CamelCaseVariableName

                Since: 0.2

                It is considered best practice to use the camelCase notation to name variables.

                Example

                class ClassName {
                    public function doSomething() {
                        $data_module = new DataModule();
                    }
                }

                Source

                The variable $pass_expired_value is not named in camelCase.
                Open

                function modifyUser($user) {
                    global $icmsConfig, $icmsModule;
                    icms_cp_header();
                    echo '<div class="CPbigTitle" style="background-image: url(' . ICMS_MODULES_URL . '/system/admin/users/images/users_big.png)">' . _MD_AM_USER . '</div><br />';
                    $member_handler = icms::handler('icms_member');

                CamelCaseVariableName

                Since: 0.2

                It is considered best practice to use the camelCase notation to name variables.

                Example

                class ClassName {
                    public function doSomething() {
                        $data_module = new DataModule();
                    }
                }

                Source

                The variable $login_name is not named in camelCase.
                Open

                function updateUser($uid, $uname, $login_name, $name, $url, $email, $user_icq, $user_aim, $user_yim,
                                    $user_msnm, $user_from, $user_occ, $user_intrest, $user_viewemail, $user_avatar,
                                    $user_sig, $attachsig, $theme, $pass, $pass2, $rank, $bio, $uorder, $umode, $notify_method,
                                    $notify_mode, $timezone_offset, $user_mailok, $language,
                                    $pass_expired, $groups = array()

                CamelCaseVariableName

                Since: 0.2

                It is considered best practice to use the camelCase notation to name variables.

                Example

                class ClassName {
                    public function doSomething() {
                        $data_module = new DataModule();
                    }
                }

                Source

                The variable $member_handler is not named in camelCase.
                Open

                function updateUser($uid, $uname, $login_name, $name, $url, $email, $user_icq, $user_aim, $user_yim,
                                    $user_msnm, $user_from, $user_occ, $user_intrest, $user_viewemail, $user_avatar,
                                    $user_sig, $attachsig, $theme, $pass, $pass2, $rank, $bio, $uorder, $umode, $notify_method,
                                    $notify_mode, $timezone_offset, $user_mailok, $language,
                                    $pass_expired, $groups = array()

                CamelCaseVariableName

                Since: 0.2

                It is considered best practice to use the camelCase notation to name variables.

                Example

                class ClassName {
                    public function doSomething() {
                        $data_module = new DataModule();
                    }
                }

                Source

                The variable $member_handler is not named in camelCase.
                Open

                function updateUser($uid, $uname, $login_name, $name, $url, $email, $user_icq, $user_aim, $user_yim,
                                    $user_msnm, $user_from, $user_occ, $user_intrest, $user_viewemail, $user_avatar,
                                    $user_sig, $attachsig, $theme, $pass, $pass2, $rank, $bio, $uorder, $umode, $notify_method,
                                    $notify_mode, $timezone_offset, $user_mailok, $language,
                                    $pass_expired, $groups = array()

                CamelCaseVariableName

                Since: 0.2

                It is considered best practice to use the camelCase notation to name variables.

                Example

                class ClassName {
                    public function doSomething() {
                        $data_module = new DataModule();
                    }
                }

                Source

                The variable $op_select is not named in camelCase.
                Open

                function displayUsers() {
                    global $icmsConfig, $icmsModule, $icmsConfigUser;
                    $userstart = isset($_GET['userstart']) ? (int) $_GET['userstart'] : 0;
                
                    icms_cp_header();

                CamelCaseVariableName

                Since: 0.2

                It is considered best practice to use the camelCase notation to name variables.

                Example

                class ClassName {
                    public function doSomething() {
                        $data_module = new DataModule();
                    }
                }

                Source

                The variable $member_handler is not named in camelCase.
                Open

                function displayUsers() {
                    global $icmsConfig, $icmsModule, $icmsConfigUser;
                    $userstart = isset($_GET['userstart']) ? (int) $_GET['userstart'] : 0;
                
                    icms_cp_header();

                CamelCaseVariableName

                Since: 0.2

                It is considered best practice to use the camelCase notation to name variables.

                Example

                class ClassName {
                    public function doSomething() {
                        $data_module = new DataModule();
                    }
                }

                Source

                The variable $fct_hidden is not named in camelCase.
                Open

                function displayUsers() {
                    global $icmsConfig, $icmsModule, $icmsConfigUser;
                    $userstart = isset($_GET['userstart']) ? (int) $_GET['userstart'] : 0;
                
                    icms_cp_header();

                CamelCaseVariableName

                Since: 0.2

                It is considered best practice to use the camelCase notation to name variables.

                Example

                class ClassName {
                    public function doSomething() {
                        $data_module = new DataModule();
                    }
                }

                Source

                The variable $language_value is not named in camelCase.
                Open

                function displayUsers() {
                    global $icmsConfig, $icmsModule, $icmsConfigUser;
                    $userstart = isset($_GET['userstart']) ? (int) $_GET['userstart'] : 0;
                
                    icms_cp_header();

                CamelCaseVariableName

                Since: 0.2

                It is considered best practice to use the camelCase notation to name variables.

                Example

                class ClassName {
                    public function doSomething() {
                        $data_module = new DataModule();
                    }
                }

                Source

                The variable $notify_mode_value is not named in camelCase.
                Open

                function modifyUser($user) {
                    global $icmsConfig, $icmsModule;
                    icms_cp_header();
                    echo '<div class="CPbigTitle" style="background-image: url(' . ICMS_MODULES_URL . '/system/admin/users/images/users_big.png)">' . _MD_AM_USER . '</div><br />';
                    $member_handler = icms::handler('icms_member');

                CamelCaseVariableName

                Since: 0.2

                It is considered best practice to use the camelCase notation to name variables.

                Example

                class ClassName {
                    public function doSomething() {
                        $data_module = new DataModule();
                    }
                }

                Source

                The variable $user_occ is not named in camelCase.
                Open

                function updateUser($uid, $uname, $login_name, $name, $url, $email, $user_icq, $user_aim, $user_yim,
                                    $user_msnm, $user_from, $user_occ, $user_intrest, $user_viewemail, $user_avatar,
                                    $user_sig, $attachsig, $theme, $pass, $pass2, $rank, $bio, $uorder, $umode, $notify_method,
                                    $notify_mode, $timezone_offset, $user_mailok, $language,
                                    $pass_expired, $groups = array()

                CamelCaseVariableName

                Since: 0.2

                It is considered best practice to use the camelCase notation to name variables.

                Example

                class ClassName {
                    public function doSomething() {
                        $data_module = new DataModule();
                    }
                }

                Source

                The variable $member_handler is not named in camelCase.
                Open

                function updateUser($uid, $uname, $login_name, $name, $url, $email, $user_icq, $user_aim, $user_yim,
                                    $user_msnm, $user_from, $user_occ, $user_intrest, $user_viewemail, $user_avatar,
                                    $user_sig, $attachsig, $theme, $pass, $pass2, $rank, $bio, $uorder, $umode, $notify_method,
                                    $notify_mode, $timezone_offset, $user_mailok, $language,
                                    $pass_expired, $groups = array()

                CamelCaseVariableName

                Since: 0.2

                It is considered best practice to use the camelCase notation to name variables.

                Example

                class ClassName {
                    public function doSomething() {
                        $data_module = new DataModule();
                    }
                }

                Source

                The variable $fct_hidden is not named in camelCase.
                Open

                function displayUsers() {
                    global $icmsConfig, $icmsModule, $icmsConfigUser;
                    $userstart = isset($_GET['userstart']) ? (int) $_GET['userstart'] : 0;
                
                    icms_cp_header();

                CamelCaseVariableName

                Since: 0.2

                It is considered best practice to use the camelCase notation to name variables.

                Example

                class ClassName {
                    public function doSomething() {
                        $data_module = new DataModule();
                    }
                }

                Source

                The variable $notify_method_value is not named in camelCase.
                Open

                function displayUsers() {
                    global $icmsConfig, $icmsModule, $icmsConfigUser;
                    $userstart = isset($_GET['userstart']) ? (int) $_GET['userstart'] : 0;
                
                    icms_cp_header();

                CamelCaseVariableName

                Since: 0.2

                It is considered best practice to use the camelCase notation to name variables.

                Example

                class ClassName {
                    public function doSomething() {
                        $data_module = new DataModule();
                    }
                }

                Source

                The variable $login_name is not named in camelCase.
                Open

                function updateUser($uid, $uname, $login_name, $name, $url, $email, $user_icq, $user_aim, $user_yim,
                                    $user_msnm, $user_from, $user_occ, $user_intrest, $user_viewemail, $user_avatar,
                                    $user_sig, $attachsig, $theme, $pass, $pass2, $rank, $bio, $uorder, $umode, $notify_method,
                                    $notify_mode, $timezone_offset, $user_mailok, $language,
                                    $pass_expired, $groups = array()

                CamelCaseVariableName

                Since: 0.2

                It is considered best practice to use the camelCase notation to name variables.

                Example

                class ClassName {
                    public function doSomething() {
                        $data_module = new DataModule();
                    }
                }

                Source

                The variable $op_select is not named in camelCase.
                Open

                function displayUsers() {
                    global $icmsConfig, $icmsModule, $icmsConfigUser;
                    $userstart = isset($_GET['userstart']) ? (int) $_GET['userstart'] : 0;
                
                    icms_cp_header();

                CamelCaseVariableName

                Since: 0.2

                It is considered best practice to use the camelCase notation to name variables.

                Example

                class ClassName {
                    public function doSomething() {
                        $data_module = new DataModule();
                    }
                }

                Source

                The variable $user_select_tray is not named in camelCase.
                Open

                function displayUsers() {
                    global $icmsConfig, $icmsModule, $icmsConfigUser;
                    $userstart = isset($_GET['userstart']) ? (int) $_GET['userstart'] : 0;
                
                    icms_cp_header();

                CamelCaseVariableName

                Since: 0.2

                It is considered best practice to use the camelCase notation to name variables.

                Example

                class ClassName {
                    public function doSomething() {
                        $data_module = new DataModule();
                    }
                }

                Source

                The variable $uorder_value is not named in camelCase.
                Open

                function displayUsers() {
                    global $icmsConfig, $icmsModule, $icmsConfigUser;
                    $userstart = isset($_GET['userstart']) ? (int) $_GET['userstart'] : 0;
                
                    icms_cp_header();

                CamelCaseVariableName

                Since: 0.2

                It is considered best practice to use the camelCase notation to name variables.

                Example

                class ClassName {
                    public function doSomething() {
                        $data_module = new DataModule();
                    }
                }

                Source

                The variable $total_posts is not named in camelCase.
                Open

                function synchronize($id, $type) {
                    switch($type) {
                        case 'user':
                            // Array of tables from which to count 'posts'
                            $tables = array();

                CamelCaseVariableName

                Since: 0.2

                It is considered best practice to use the camelCase notation to name variables.

                Example

                class ClassName {
                    public function doSomething() {
                        $data_module = new DataModule();
                    }
                }

                Source

                The variable $member_handler is not named in camelCase.
                Open

                function displayUsers() {
                    global $icmsConfig, $icmsModule, $icmsConfigUser;
                    $userstart = isset($_GET['userstart']) ? (int) $_GET['userstart'] : 0;
                
                    icms_cp_header();

                CamelCaseVariableName

                Since: 0.2

                It is considered best practice to use the camelCase notation to name variables.

                Example

                class ClassName {
                    public function doSomething() {
                        $data_module = new DataModule();
                    }
                }

                Source

                The variable $user_select is not named in camelCase.
                Open

                function displayUsers() {
                    global $icmsConfig, $icmsModule, $icmsConfigUser;
                    $userstart = isset($_GET['userstart']) ? (int) $_GET['userstart'] : 0;
                
                    icms_cp_header();

                CamelCaseVariableName

                Since: 0.2

                It is considered best practice to use the camelCase notation to name variables.

                Example

                class ClassName {
                    public function doSomething() {
                        $data_module = new DataModule();
                    }
                }

                Source

                The variable $name_value is not named in camelCase.
                Open

                function modifyUser($user) {
                    global $icmsConfig, $icmsModule;
                    icms_cp_header();
                    echo '<div class="CPbigTitle" style="background-image: url(' . ICMS_MODULES_URL . '/system/admin/users/images/users_big.png)">' . _MD_AM_USER . '</div><br />';
                    $member_handler = icms::handler('icms_member');

                CamelCaseVariableName

                Since: 0.2

                It is considered best practice to use the camelCase notation to name variables.

                Example

                class ClassName {
                    public function doSomething() {
                        $data_module = new DataModule();
                    }
                }

                Source

                The variable $submit_button is not named in camelCase.
                Open

                function displayUsers() {
                    global $icmsConfig, $icmsModule, $icmsConfigUser;
                    $userstart = isset($_GET['userstart']) ? (int) $_GET['userstart'] : 0;
                
                    icms_cp_header();

                CamelCaseVariableName

                Since: 0.2

                It is considered best practice to use the camelCase notation to name variables.

                Example

                class ClassName {
                    public function doSomething() {
                        $data_module = new DataModule();
                    }
                }

                Source

                The variable $user_select is not named in camelCase.
                Open

                function displayUsers() {
                    global $icmsConfig, $icmsModule, $icmsConfigUser;
                    $userstart = isset($_GET['userstart']) ? (int) $_GET['userstart'] : 0;
                
                    icms_cp_header();

                CamelCaseVariableName

                Since: 0.2

                It is considered best practice to use the camelCase notation to name variables.

                Example

                class ClassName {
                    public function doSomething() {
                        $data_module = new DataModule();
                    }
                }

                Source

                The variable $timezone_value is not named in camelCase.
                Open

                function modifyUser($user) {
                    global $icmsConfig, $icmsModule;
                    icms_cp_header();
                    echo '<div class="CPbigTitle" style="background-image: url(' . ICMS_MODULES_URL . '/system/admin/users/images/users_big.png)">' . _MD_AM_USER . '</div><br />';
                    $member_handler = icms::handler('icms_member');

                CamelCaseVariableName

                Since: 0.2

                It is considered best practice to use the camelCase notation to name variables.

                Example

                class ClassName {
                    public function doSomething() {
                        $data_module = new DataModule();
                    }
                }

                Source

                The variable $url_value is not named in camelCase.
                Open

                function displayUsers() {
                    global $icmsConfig, $icmsModule, $icmsConfigUser;
                    $userstart = isset($_GET['userstart']) ? (int) $_GET['userstart'] : 0;
                
                    icms_cp_header();

                CamelCaseVariableName

                Since: 0.2

                It is considered best practice to use the camelCase notation to name variables.

                Example

                class ClassName {
                    public function doSomething() {
                        $data_module = new DataModule();
                    }
                }

                Source

                The variable $location_value is not named in camelCase.
                Open

                function modifyUser($user) {
                    global $icmsConfig, $icmsModule;
                    icms_cp_header();
                    echo '<div class="CPbigTitle" style="background-image: url(' . ICMS_MODULES_URL . '/system/admin/users/images/users_big.png)">' . _MD_AM_USER . '</div><br />';
                    $member_handler = icms::handler('icms_member');

                CamelCaseVariableName

                Since: 0.2

                It is considered best practice to use the camelCase notation to name variables.

                Example

                class ClassName {
                    public function doSomething() {
                        $data_module = new DataModule();
                    }
                }

                Source

                The variable $sig_value is not named in camelCase.
                Open

                function displayUsers() {
                    global $icmsConfig, $icmsModule, $icmsConfigUser;
                    $userstart = isset($_GET['userstart']) ? (int) $_GET['userstart'] : 0;
                
                    icms_cp_header();

                CamelCaseVariableName

                Since: 0.2

                It is considered best practice to use the camelCase notation to name variables.

                Example

                class ClassName {
                    public function doSomething() {
                        $data_module = new DataModule();
                    }
                }

                Source

                The variable $user_select is not named in camelCase.
                Open

                function displayUsers() {
                    global $icmsConfig, $icmsModule, $icmsConfigUser;
                    $userstart = isset($_GET['userstart']) ? (int) $_GET['userstart'] : 0;
                
                    icms_cp_header();

                CamelCaseVariableName

                Since: 0.2

                It is considered best practice to use the camelCase notation to name variables.

                Example

                class ClassName {
                    public function doSomething() {
                        $data_module = new DataModule();
                    }
                }

                Source

                The variable $notify_method_value is not named in camelCase.
                Open

                function modifyUser($user) {
                    global $icmsConfig, $icmsModule;
                    icms_cp_header();
                    echo '<div class="CPbigTitle" style="background-image: url(' . ICMS_MODULES_URL . '/system/admin/users/images/users_big.png)">' . _MD_AM_USER . '</div><br />';
                    $member_handler = icms::handler('icms_member');

                CamelCaseVariableName

                Since: 0.2

                It is considered best practice to use the camelCase notation to name variables.

                Example

                class ClassName {
                    public function doSomething() {
                        $data_module = new DataModule();
                    }
                }

                Source

                The variable $user_select_tray is not named in camelCase.
                Open

                function displayUsers() {
                    global $icmsConfig, $icmsModule, $icmsConfigUser;
                    $userstart = isset($_GET['userstart']) ? (int) $_GET['userstart'] : 0;
                
                    icms_cp_header();

                CamelCaseVariableName

                Since: 0.2

                It is considered best practice to use the camelCase notation to name variables.

                Example

                class ClassName {
                    public function doSomething() {
                        $data_module = new DataModule();
                    }
                }

                Source

                The variable $user_select_tray is not named in camelCase.
                Open

                function displayUsers() {
                    global $icmsConfig, $icmsModule, $icmsConfigUser;
                    $userstart = isset($_GET['userstart']) ? (int) $_GET['userstart'] : 0;
                
                    icms_cp_header();

                CamelCaseVariableName

                Since: 0.2

                It is considered best practice to use the camelCase notation to name variables.

                Example

                class ClassName {
                    public function doSomething() {
                        $data_module = new DataModule();
                    }
                }

                Source

                The variable $submit_button is not named in camelCase.
                Open

                function displayUsers() {
                    global $icmsConfig, $icmsModule, $icmsConfigUser;
                    $userstart = isset($_GET['userstart']) ? (int) $_GET['userstart'] : 0;
                
                    icms_cp_header();

                CamelCaseVariableName

                Since: 0.2

                It is considered best practice to use the camelCase notation to name variables.

                Example

                class ClassName {
                    public function doSomething() {
                        $data_module = new DataModule();
                    }
                }

                Source

                The variable $email_value is not named in camelCase.
                Open

                function modifyUser($user) {
                    global $icmsConfig, $icmsModule;
                    icms_cp_header();
                    echo '<div class="CPbigTitle" style="background-image: url(' . ICMS_MODULES_URL . '/system/admin/users/images/users_big.png)">' . _MD_AM_USER . '</div><br />';
                    $member_handler = icms::handler('icms_member');

                CamelCaseVariableName

                Since: 0.2

                It is considered best practice to use the camelCase notation to name variables.

                Example

                class ClassName {
                    public function doSomething() {
                        $data_module = new DataModule();
                    }
                }

                Source

                The variable $login_name_value is not named in camelCase.
                Open

                function displayUsers() {
                    global $icmsConfig, $icmsModule, $icmsConfigUser;
                    $userstart = isset($_GET['userstart']) ? (int) $_GET['userstart'] : 0;
                
                    icms_cp_header();

                CamelCaseVariableName

                Since: 0.2

                It is considered best practice to use the camelCase notation to name variables.

                Example

                class ClassName {
                    public function doSomething() {
                        $data_module = new DataModule();
                    }
                }

                Source

                The variable $uorder_value is not named in camelCase.
                Open

                function modifyUser($user) {
                    global $icmsConfig, $icmsModule;
                    icms_cp_header();
                    echo '<div class="CPbigTitle" style="background-image: url(' . ICMS_MODULES_URL . '/system/admin/users/images/users_big.png)">' . _MD_AM_USER . '</div><br />';
                    $member_handler = icms::handler('icms_member');

                CamelCaseVariableName

                Since: 0.2

                It is considered best practice to use the camelCase notation to name variables.

                Example

                class ClassName {
                    public function doSomething() {
                        $data_module = new DataModule();
                    }
                }

                Source

                The variable $location_value is not named in camelCase.
                Open

                function displayUsers() {
                    global $icmsConfig, $icmsModule, $icmsConfigUser;
                    $userstart = isset($_GET['userstart']) ? (int) $_GET['userstart'] : 0;
                
                    icms_cp_header();

                CamelCaseVariableName

                Since: 0.2

                It is considered best practice to use the camelCase notation to name variables.

                Example

                class ClassName {
                    public function doSomething() {
                        $data_module = new DataModule();
                    }
                }

                Source

                The variable $occ_value is not named in camelCase.
                Open

                function displayUsers() {
                    global $icmsConfig, $icmsModule, $icmsConfigUser;
                    $userstart = isset($_GET['userstart']) ? (int) $_GET['userstart'] : 0;
                
                    icms_cp_header();

                CamelCaseVariableName

                Since: 0.2

                It is considered best practice to use the camelCase notation to name variables.

                Example

                class ClassName {
                    public function doSomething() {
                        $data_module = new DataModule();
                    }
                }

                Source

                The variable $bio_value is not named in camelCase.
                Open

                function displayUsers() {
                    global $icmsConfig, $icmsModule, $icmsConfigUser;
                    $userstart = isset($_GET['userstart']) ? (int) $_GET['userstart'] : 0;
                
                    icms_cp_header();

                CamelCaseVariableName

                Since: 0.2

                It is considered best practice to use the camelCase notation to name variables.

                Example

                class ClassName {
                    public function doSomething() {
                        $data_module = new DataModule();
                    }
                }

                Source

                The variable $user_sig is not named in camelCase.
                Open

                function updateUser($uid, $uname, $login_name, $name, $url, $email, $user_icq, $user_aim, $user_yim,
                                    $user_msnm, $user_from, $user_occ, $user_intrest, $user_viewemail, $user_avatar,
                                    $user_sig, $attachsig, $theme, $pass, $pass2, $rank, $bio, $uorder, $umode, $notify_method,
                                    $notify_mode, $timezone_offset, $user_mailok, $language,
                                    $pass_expired, $groups = array()

                CamelCaseVariableName

                Since: 0.2

                It is considered best practice to use the camelCase notation to name variables.

                Example

                class ClassName {
                    public function doSomething() {
                        $data_module = new DataModule();
                    }
                }

                Source

                The variable $user_yim is not named in camelCase.
                Open

                function updateUser($uid, $uname, $login_name, $name, $url, $email, $user_icq, $user_aim, $user_yim,
                                    $user_msnm, $user_from, $user_occ, $user_intrest, $user_viewemail, $user_avatar,
                                    $user_sig, $attachsig, $theme, $pass, $pass2, $rank, $bio, $uorder, $umode, $notify_method,
                                    $notify_mode, $timezone_offset, $user_mailok, $language,
                                    $pass_expired, $groups = array()

                CamelCaseVariableName

                Since: 0.2

                It is considered best practice to use the camelCase notation to name variables.

                Example

                class ClassName {
                    public function doSomething() {
                        $data_module = new DataModule();
                    }
                }

                Source

                The variable $member_handler is not named in camelCase.
                Open

                function updateUser($uid, $uname, $login_name, $name, $url, $email, $user_icq, $user_aim, $user_yim,
                                    $user_msnm, $user_from, $user_occ, $user_intrest, $user_viewemail, $user_avatar,
                                    $user_sig, $attachsig, $theme, $pass, $pass2, $rank, $bio, $uorder, $umode, $notify_method,
                                    $notify_mode, $timezone_offset, $user_mailok, $language,
                                    $pass_expired, $groups = array()

                CamelCaseVariableName

                Since: 0.2

                It is considered best practice to use the camelCase notation to name variables.

                Example

                class ClassName {
                    public function doSomething() {
                        $data_module = new DataModule();
                    }
                }

                Source

                The variable $member_handler is not named in camelCase.
                Open

                function modifyUser($user) {
                    global $icmsConfig, $icmsModule;
                    icms_cp_header();
                    echo '<div class="CPbigTitle" style="background-image: url(' . ICMS_MODULES_URL . '/system/admin/users/images/users_big.png)">' . _MD_AM_USER . '</div><br />';
                    $member_handler = icms::handler('icms_member');

                CamelCaseVariableName

                Since: 0.2

                It is considered best practice to use the camelCase notation to name variables.

                Example

                class ClassName {
                    public function doSomething() {
                        $data_module = new DataModule();
                    }
                }

                Source

                The variable $total_posts is not named in camelCase.
                Open

                function synchronize($id, $type) {
                    switch($type) {
                        case 'user':
                            // Array of tables from which to count 'posts'
                            $tables = array();

                CamelCaseVariableName

                Since: 0.2

                It is considered best practice to use the camelCase notation to name variables.

                Example

                class ClassName {
                    public function doSomething() {
                        $data_module = new DataModule();
                    }
                }

                Source

                The variable $notify_method is not named in camelCase.
                Open

                function updateUser($uid, $uname, $login_name, $name, $url, $email, $user_icq, $user_aim, $user_yim,
                                    $user_msnm, $user_from, $user_occ, $user_intrest, $user_viewemail, $user_avatar,
                                    $user_sig, $attachsig, $theme, $pass, $pass2, $rank, $bio, $uorder, $umode, $notify_method,
                                    $notify_mode, $timezone_offset, $user_mailok, $language,
                                    $pass_expired, $groups = array()

                CamelCaseVariableName

                Since: 0.2

                It is considered best practice to use the camelCase notation to name variables.

                Example

                class ClassName {
                    public function doSomething() {
                        $data_module = new DataModule();
                    }
                }

                Source

                The variable $uname_value is not named in camelCase.
                Open

                function modifyUser($user) {
                    global $icmsConfig, $icmsModule;
                    icms_cp_header();
                    echo '<div class="CPbigTitle" style="background-image: url(' . ICMS_MODULES_URL . '/system/admin/users/images/users_big.png)">' . _MD_AM_USER . '</div><br />';
                    $member_handler = icms::handler('icms_member');

                CamelCaseVariableName

                Since: 0.2

                It is considered best practice to use the camelCase notation to name variables.

                Example

                class ClassName {
                    public function doSomething() {
                        $data_module = new DataModule();
                    }
                }

                Source

                The variable $url_value is not named in camelCase.
                Open

                function modifyUser($user) {
                    global $icmsConfig, $icmsModule;
                    icms_cp_header();
                    echo '<div class="CPbigTitle" style="background-image: url(' . ICMS_MODULES_URL . '/system/admin/users/images/users_big.png)">' . _MD_AM_USER . '</div><br />';
                    $member_handler = icms::handler('icms_member');

                CamelCaseVariableName

                Since: 0.2

                It is considered best practice to use the camelCase notation to name variables.

                Example

                class ClassName {
                    public function doSomething() {
                        $data_module = new DataModule();
                    }
                }

                Source

                The variable $rank_value is not named in camelCase.
                Open

                function modifyUser($user) {
                    global $icmsConfig, $icmsModule;
                    icms_cp_header();
                    echo '<div class="CPbigTitle" style="background-image: url(' . ICMS_MODULES_URL . '/system/admin/users/images/users_big.png)">' . _MD_AM_USER . '</div><br />';
                    $member_handler = icms::handler('icms_member');

                CamelCaseVariableName

                Since: 0.2

                It is considered best practice to use the camelCase notation to name variables.

                Example

                class ClassName {
                    public function doSomething() {
                        $data_module = new DataModule();
                    }
                }

                Source

                The variable $total_posts is not named in camelCase.
                Open

                function synchronize($id, $type) {
                    switch($type) {
                        case 'user':
                            // Array of tables from which to count 'posts'
                            $tables = array();

                CamelCaseVariableName

                Since: 0.2

                It is considered best practice to use the camelCase notation to name variables.

                Example

                class ClassName {
                    public function doSomething() {
                        $data_module = new DataModule();
                    }
                }

                Source

                The variable $user_viewemail is not named in camelCase.
                Open

                function updateUser($uid, $uname, $login_name, $name, $url, $email, $user_icq, $user_aim, $user_yim,
                                    $user_msnm, $user_from, $user_occ, $user_intrest, $user_viewemail, $user_avatar,
                                    $user_sig, $attachsig, $theme, $pass, $pass2, $rank, $bio, $uorder, $umode, $notify_method,
                                    $notify_mode, $timezone_offset, $user_mailok, $language,
                                    $pass_expired, $groups = array()

                CamelCaseVariableName

                Since: 0.2

                It is considered best practice to use the camelCase notation to name variables.

                Example

                class ClassName {
                    public function doSomething() {
                        $data_module = new DataModule();
                    }
                }

                Source

                The variable $user_viewemail is not named in camelCase.
                Open

                function updateUser($uid, $uname, $login_name, $name, $url, $email, $user_icq, $user_aim, $user_yim,
                                    $user_msnm, $user_from, $user_occ, $user_intrest, $user_viewemail, $user_avatar,
                                    $user_sig, $attachsig, $theme, $pass, $pass2, $rank, $bio, $uorder, $umode, $notify_method,
                                    $notify_mode, $timezone_offset, $user_mailok, $language,
                                    $pass_expired, $groups = array()

                CamelCaseVariableName

                Since: 0.2

                It is considered best practice to use the camelCase notation to name variables.

                Example

                class ClassName {
                    public function doSomething() {
                        $data_module = new DataModule();
                    }
                }

                Source

                The variable $member_handler is not named in camelCase.
                Open

                function displayUsers() {
                    global $icmsConfig, $icmsModule, $icmsConfigUser;
                    $userstart = isset($_GET['userstart']) ? (int) $_GET['userstart'] : 0;
                
                    icms_cp_header();

                CamelCaseVariableName

                Since: 0.2

                It is considered best practice to use the camelCase notation to name variables.

                Example

                class ClassName {
                    public function doSomething() {
                        $data_module = new DataModule();
                    }
                }

                Source

                The variable $email_cbox_value is not named in camelCase.
                Open

                function displayUsers() {
                    global $icmsConfig, $icmsModule, $icmsConfigUser;
                    $userstart = isset($_GET['userstart']) ? (int) $_GET['userstart'] : 0;
                
                    icms_cp_header();

                CamelCaseVariableName

                Since: 0.2

                It is considered best practice to use the camelCase notation to name variables.

                Example

                class ClassName {
                    public function doSomething() {
                        $data_module = new DataModule();
                    }
                }

                Source

                The variable $sig_cbox_value is not named in camelCase.
                Open

                function modifyUser($user) {
                    global $icmsConfig, $icmsModule;
                    icms_cp_header();
                    echo '<div class="CPbigTitle" style="background-image: url(' . ICMS_MODULES_URL . '/system/admin/users/images/users_big.png)">' . _MD_AM_USER . '</div><br />';
                    $member_handler = icms::handler('icms_member');

                CamelCaseVariableName

                Since: 0.2

                It is considered best practice to use the camelCase notation to name variables.

                Example

                class ClassName {
                    public function doSomething() {
                        $data_module = new DataModule();
                    }
                }

                Source

                The variable $umode_value is not named in camelCase.
                Open

                function modifyUser($user) {
                    global $icmsConfig, $icmsModule;
                    icms_cp_header();
                    echo '<div class="CPbigTitle" style="background-image: url(' . ICMS_MODULES_URL . '/system/admin/users/images/users_big.png)">' . _MD_AM_USER . '</div><br />';
                    $member_handler = icms::handler('icms_member');

                CamelCaseVariableName

                Since: 0.2

                It is considered best practice to use the camelCase notation to name variables.

                Example

                class ClassName {
                    public function doSomething() {
                        $data_module = new DataModule();
                    }
                }

                Source

                The variable $user_icq is not named in camelCase.
                Open

                function updateUser($uid, $uname, $login_name, $name, $url, $email, $user_icq, $user_aim, $user_yim,
                                    $user_msnm, $user_from, $user_occ, $user_intrest, $user_viewemail, $user_avatar,
                                    $user_sig, $attachsig, $theme, $pass, $pass2, $rank, $bio, $uorder, $umode, $notify_method,
                                    $notify_mode, $timezone_offset, $user_mailok, $language,
                                    $pass_expired, $groups = array()

                CamelCaseVariableName

                Since: 0.2

                It is considered best practice to use the camelCase notation to name variables.

                Example

                class ClassName {
                    public function doSomething() {
                        $data_module = new DataModule();
                    }
                }

                Source

                The variable $user_sig is not named in camelCase.
                Open

                function updateUser($uid, $uname, $login_name, $name, $url, $email, $user_icq, $user_aim, $user_yim,
                                    $user_msnm, $user_from, $user_occ, $user_intrest, $user_viewemail, $user_avatar,
                                    $user_sig, $attachsig, $theme, $pass, $pass2, $rank, $bio, $uorder, $umode, $notify_method,
                                    $notify_mode, $timezone_offset, $user_mailok, $language,
                                    $pass_expired, $groups = array()

                CamelCaseVariableName

                Since: 0.2

                It is considered best practice to use the camelCase notation to name variables.

                Example

                class ClassName {
                    public function doSomething() {
                        $data_module = new DataModule();
                    }
                }

                Source

                The variable $form_isedit is not named in camelCase.
                Open

                function displayUsers() {
                    global $icmsConfig, $icmsModule, $icmsConfigUser;
                    $userstart = isset($_GET['userstart']) ? (int) $_GET['userstart'] : 0;
                
                    icms_cp_header();

                CamelCaseVariableName

                Since: 0.2

                It is considered best practice to use the camelCase notation to name variables.

                Example

                class ClassName {
                    public function doSomething() {
                        $data_module = new DataModule();
                    }
                }

                Source

                The variable $fct_hidden is not named in camelCase.
                Open

                function displayUsers() {
                    global $icmsConfig, $icmsModule, $icmsConfigUser;
                    $userstart = isset($_GET['userstart']) ? (int) $_GET['userstart'] : 0;
                
                    icms_cp_header();

                CamelCaseVariableName

                Since: 0.2

                It is considered best practice to use the camelCase notation to name variables.

                Example

                class ClassName {
                    public function doSomething() {
                        $data_module = new DataModule();
                    }
                }

                Source

                The variable $user_select_tray is not named in camelCase.
                Open

                function displayUsers() {
                    global $icmsConfig, $icmsModule, $icmsConfigUser;
                    $userstart = isset($_GET['userstart']) ? (int) $_GET['userstart'] : 0;
                
                    icms_cp_header();

                CamelCaseVariableName

                Since: 0.2

                It is considered best practice to use the camelCase notation to name variables.

                Example

                class ClassName {
                    public function doSomething() {
                        $data_module = new DataModule();
                    }
                }

                Source

                The variable $member_handler is not named in camelCase.
                Open

                function displayUsers() {
                    global $icmsConfig, $icmsModule, $icmsConfigUser;
                    $userstart = isset($_GET['userstart']) ? (int) $_GET['userstart'] : 0;
                
                    icms_cp_header();

                CamelCaseVariableName

                Since: 0.2

                It is considered best practice to use the camelCase notation to name variables.

                Example

                class ClassName {
                    public function doSomething() {
                        $data_module = new DataModule();
                    }
                }

                Source

                The variable $interest_value is not named in camelCase.
                Open

                function displayUsers() {
                    global $icmsConfig, $icmsModule, $icmsConfigUser;
                    $userstart = isset($_GET['userstart']) ? (int) $_GET['userstart'] : 0;
                
                    icms_cp_header();

                CamelCaseVariableName

                Since: 0.2

                It is considered best practice to use the camelCase notation to name variables.

                Example

                class ClassName {
                    public function doSomething() {
                        $data_module = new DataModule();
                    }
                }

                Source

                The variable $submit_button is not named in camelCase.
                Open

                function displayUsers() {
                    global $icmsConfig, $icmsModule, $icmsConfigUser;
                    $userstart = isset($_GET['userstart']) ? (int) $_GET['userstart'] : 0;
                
                    icms_cp_header();

                CamelCaseVariableName

                Since: 0.2

                It is considered best practice to use the camelCase notation to name variables.

                Example

                class ClassName {
                    public function doSomething() {
                        $data_module = new DataModule();
                    }
                }

                Source

                The variable $uid_value is not named in camelCase.
                Open

                function displayUsers() {
                    global $icmsConfig, $icmsModule, $icmsConfigUser;
                    $userstart = isset($_GET['userstart']) ? (int) $_GET['userstart'] : 0;
                
                    icms_cp_header();

                CamelCaseVariableName

                Since: 0.2

                It is considered best practice to use the camelCase notation to name variables.

                Example

                class ClassName {
                    public function doSomething() {
                        $data_module = new DataModule();
                    }
                }

                Source

                The variable $user_select_tray is not named in camelCase.
                Open

                function displayUsers() {
                    global $icmsConfig, $icmsModule, $icmsConfigUser;
                    $userstart = isset($_GET['userstart']) ? (int) $_GET['userstart'] : 0;
                
                    icms_cp_header();

                CamelCaseVariableName

                Since: 0.2

                It is considered best practice to use the camelCase notation to name variables.

                Example

                class ClassName {
                    public function doSomething() {
                        $data_module = new DataModule();
                    }
                }

                Source

                The variable $yim_value is not named in camelCase.
                Open

                function displayUsers() {
                    global $icmsConfig, $icmsModule, $icmsConfigUser;
                    $userstart = isset($_GET['userstart']) ? (int) $_GET['userstart'] : 0;
                
                    icms_cp_header();

                CamelCaseVariableName

                Since: 0.2

                It is considered best practice to use the camelCase notation to name variables.

                Example

                class ClassName {
                    public function doSomething() {
                        $data_module = new DataModule();
                    }
                }

                Source

                The variable $op_select is not named in camelCase.
                Open

                function displayUsers() {
                    global $icmsConfig, $icmsModule, $icmsConfigUser;
                    $userstart = isset($_GET['userstart']) ? (int) $_GET['userstart'] : 0;
                
                    icms_cp_header();

                CamelCaseVariableName

                Since: 0.2

                It is considered best practice to use the camelCase notation to name variables.

                Example

                class ClassName {
                    public function doSomething() {
                        $data_module = new DataModule();
                    }
                }

                Source

                The variable $member_handler is not named in camelCase.
                Open

                function updateUser($uid, $uname, $login_name, $name, $url, $email, $user_icq, $user_aim, $user_yim,
                                    $user_msnm, $user_from, $user_occ, $user_intrest, $user_viewemail, $user_avatar,
                                    $user_sig, $attachsig, $theme, $pass, $pass2, $rank, $bio, $uorder, $umode, $notify_method,
                                    $notify_mode, $timezone_offset, $user_mailok, $language,
                                    $pass_expired, $groups = array()

                CamelCaseVariableName

                Since: 0.2

                It is considered best practice to use the camelCase notation to name variables.

                Example

                class ClassName {
                    public function doSomething() {
                        $data_module = new DataModule();
                    }
                }

                Source

                The variable $user_viewemail is not named in camelCase.
                Open

                function updateUser($uid, $uname, $login_name, $name, $url, $email, $user_icq, $user_aim, $user_yim,
                                    $user_msnm, $user_from, $user_occ, $user_intrest, $user_viewemail, $user_avatar,
                                    $user_sig, $attachsig, $theme, $pass, $pass2, $rank, $bio, $uorder, $umode, $notify_method,
                                    $notify_mode, $timezone_offset, $user_mailok, $language,
                                    $pass_expired, $groups = array()

                CamelCaseVariableName

                Since: 0.2

                It is considered best practice to use the camelCase notation to name variables.

                Example

                class ClassName {
                    public function doSomething() {
                        $data_module = new DataModule();
                    }
                }

                Source

                The variable $user_select_nav is not named in camelCase.
                Open

                function displayUsers() {
                    global $icmsConfig, $icmsModule, $icmsConfigUser;
                    $userstart = isset($_GET['userstart']) ? (int) $_GET['userstart'] : 0;
                
                    icms_cp_header();

                CamelCaseVariableName

                Since: 0.2

                It is considered best practice to use the camelCase notation to name variables.

                Example

                class ClassName {
                    public function doSomething() {
                        $data_module = new DataModule();
                    }
                }

                Source

                The variable $user_aim is not named in camelCase.
                Open

                function updateUser($uid, $uname, $login_name, $name, $url, $email, $user_icq, $user_aim, $user_yim,
                                    $user_msnm, $user_from, $user_occ, $user_intrest, $user_viewemail, $user_avatar,
                                    $user_sig, $attachsig, $theme, $pass, $pass2, $rank, $bio, $uorder, $umode, $notify_method,
                                    $notify_mode, $timezone_offset, $user_mailok, $language,
                                    $pass_expired, $groups = array()

                CamelCaseVariableName

                Since: 0.2

                It is considered best practice to use the camelCase notation to name variables.

                Example

                class ClassName {
                    public function doSomething() {
                        $data_module = new DataModule();
                    }
                }

                Source

                The variable $fct_hidden is not named in camelCase.
                Open

                function displayUsers() {
                    global $icmsConfig, $icmsModule, $icmsConfigUser;
                    $userstart = isset($_GET['userstart']) ? (int) $_GET['userstart'] : 0;
                
                    icms_cp_header();

                CamelCaseVariableName

                Since: 0.2

                It is considered best practice to use the camelCase notation to name variables.

                Example

                class ClassName {
                    public function doSomething() {
                        $data_module = new DataModule();
                    }
                }

                Source

                The variable $umode_value is not named in camelCase.
                Open

                function displayUsers() {
                    global $icmsConfig, $icmsModule, $icmsConfigUser;
                    $userstart = isset($_GET['userstart']) ? (int) $_GET['userstart'] : 0;
                
                    icms_cp_header();

                CamelCaseVariableName

                Since: 0.2

                It is considered best practice to use the camelCase notation to name variables.

                Example

                class ClassName {
                    public function doSomething() {
                        $data_module = new DataModule();
                    }
                }

                Source

                The variable $aim_value is not named in camelCase.
                Open

                function modifyUser($user) {
                    global $icmsConfig, $icmsModule;
                    icms_cp_header();
                    echo '<div class="CPbigTitle" style="background-image: url(' . ICMS_MODULES_URL . '/system/admin/users/images/users_big.png)">' . _MD_AM_USER . '</div><br />';
                    $member_handler = icms::handler('icms_member');

                CamelCaseVariableName

                Since: 0.2

                It is considered best practice to use the camelCase notation to name variables.

                Example

                class ClassName {
                    public function doSomething() {
                        $data_module = new DataModule();
                    }
                }

                Source

                The variable $occ_value is not named in camelCase.
                Open

                function modifyUser($user) {
                    global $icmsConfig, $icmsModule;
                    icms_cp_header();
                    echo '<div class="CPbigTitle" style="background-image: url(' . ICMS_MODULES_URL . '/system/admin/users/images/users_big.png)">' . _MD_AM_USER . '</div><br />';
                    $member_handler = icms::handler('icms_member');

                CamelCaseVariableName

                Since: 0.2

                It is considered best practice to use the camelCase notation to name variables.

                Example

                class ClassName {
                    public function doSomething() {
                        $data_module = new DataModule();
                    }
                }

                Source

                The variable $sig_value is not named in camelCase.
                Open

                function modifyUser($user) {
                    global $icmsConfig, $icmsModule;
                    icms_cp_header();
                    echo '<div class="CPbigTitle" style="background-image: url(' . ICMS_MODULES_URL . '/system/admin/users/images/users_big.png)">' . _MD_AM_USER . '</div><br />';
                    $member_handler = icms::handler('icms_member');

                CamelCaseVariableName

                Since: 0.2

                It is considered best practice to use the camelCase notation to name variables.

                Example

                class ClassName {
                    public function doSomething() {
                        $data_module = new DataModule();
                    }
                }

                Source

                The variable $member_handler is not named in camelCase.
                Open

                function updateUser($uid, $uname, $login_name, $name, $url, $email, $user_icq, $user_aim, $user_yim,
                                    $user_msnm, $user_from, $user_occ, $user_intrest, $user_viewemail, $user_avatar,
                                    $user_sig, $attachsig, $theme, $pass, $pass2, $rank, $bio, $uorder, $umode, $notify_method,
                                    $notify_mode, $timezone_offset, $user_mailok, $language,
                                    $pass_expired, $groups = array()

                CamelCaseVariableName

                Since: 0.2

                It is considered best practice to use the camelCase notation to name variables.

                Example

                class ClassName {
                    public function doSomething() {
                        $data_module = new DataModule();
                    }
                }

                Source

                The variable $op_value is not named in camelCase.
                Open

                function modifyUser($user) {
                    global $icmsConfig, $icmsModule;
                    icms_cp_header();
                    echo '<div class="CPbigTitle" style="background-image: url(' . ICMS_MODULES_URL . '/system/admin/users/images/users_big.png)">' . _MD_AM_USER . '</div><br />';
                    $member_handler = icms::handler('icms_member');

                CamelCaseVariableName

                Since: 0.2

                It is considered best practice to use the camelCase notation to name variables.

                Example

                class ClassName {
                    public function doSomething() {
                        $data_module = new DataModule();
                    }
                }

                Source

                The variable $member_handler is not named in camelCase.
                Open

                function modifyUser($user) {
                    global $icmsConfig, $icmsModule;
                    icms_cp_header();
                    echo '<div class="CPbigTitle" style="background-image: url(' . ICMS_MODULES_URL . '/system/admin/users/images/users_big.png)">' . _MD_AM_USER . '</div><br />';
                    $member_handler = icms::handler('icms_member');

                CamelCaseVariableName

                Since: 0.2

                It is considered best practice to use the camelCase notation to name variables.

                Example

                class ClassName {
                    public function doSomething() {
                        $data_module = new DataModule();
                    }
                }

                Source

                The variable $form_title is not named in camelCase.
                Open

                function modifyUser($user) {
                    global $icmsConfig, $icmsModule;
                    icms_cp_header();
                    echo '<div class="CPbigTitle" style="background-image: url(' . ICMS_MODULES_URL . '/system/admin/users/images/users_big.png)">' . _MD_AM_USER . '</div><br />';
                    $member_handler = icms::handler('icms_member');

                CamelCaseVariableName

                Since: 0.2

                It is considered best practice to use the camelCase notation to name variables.

                Example

                class ClassName {
                    public function doSomething() {
                        $data_module = new DataModule();
                    }
                }

                Source

                The variable $total_posts is not named in camelCase.
                Open

                function synchronize($id, $type) {
                    switch($type) {
                        case 'user':
                            // Array of tables from which to count 'posts'
                            $tables = array();

                CamelCaseVariableName

                Since: 0.2

                It is considered best practice to use the camelCase notation to name variables.

                Example

                class ClassName {
                    public function doSomething() {
                        $data_module = new DataModule();
                    }
                }

                Source

                The variable $member_handler is not named in camelCase.
                Open

                function updateUser($uid, $uname, $login_name, $name, $url, $email, $user_icq, $user_aim, $user_yim,
                                    $user_msnm, $user_from, $user_occ, $user_intrest, $user_viewemail, $user_avatar,
                                    $user_sig, $attachsig, $theme, $pass, $pass2, $rank, $bio, $uorder, $umode, $notify_method,
                                    $notify_mode, $timezone_offset, $user_mailok, $language,
                                    $pass_expired, $groups = array()

                CamelCaseVariableName

                Since: 0.2

                It is considered best practice to use the camelCase notation to name variables.

                Example

                class ClassName {
                    public function doSomething() {
                        $data_module = new DataModule();
                    }
                }

                Source

                The variable $user_from is not named in camelCase.
                Open

                function updateUser($uid, $uname, $login_name, $name, $url, $email, $user_icq, $user_aim, $user_yim,
                                    $user_msnm, $user_from, $user_occ, $user_intrest, $user_viewemail, $user_avatar,
                                    $user_sig, $attachsig, $theme, $pass, $pass2, $rank, $bio, $uorder, $umode, $notify_method,
                                    $notify_mode, $timezone_offset, $user_mailok, $language,
                                    $pass_expired, $groups = array()

                CamelCaseVariableName

                Since: 0.2

                It is considered best practice to use the camelCase notation to name variables.

                Example

                class ClassName {
                    public function doSomething() {
                        $data_module = new DataModule();
                    }
                }

                Source

                The variable $login_name is not named in camelCase.
                Open

                function updateUser($uid, $uname, $login_name, $name, $url, $email, $user_icq, $user_aim, $user_yim,
                                    $user_msnm, $user_from, $user_occ, $user_intrest, $user_viewemail, $user_avatar,
                                    $user_sig, $attachsig, $theme, $pass, $pass2, $rank, $bio, $uorder, $umode, $notify_method,
                                    $notify_mode, $timezone_offset, $user_mailok, $language,
                                    $pass_expired, $groups = array()

                CamelCaseVariableName

                Since: 0.2

                It is considered best practice to use the camelCase notation to name variables.

                Example

                class ClassName {
                    public function doSomething() {
                        $data_module = new DataModule();
                    }
                }

                Source

                The variable $user_viewemail is not named in camelCase.
                Open

                function updateUser($uid, $uname, $login_name, $name, $url, $email, $user_icq, $user_aim, $user_yim,
                                    $user_msnm, $user_from, $user_occ, $user_intrest, $user_viewemail, $user_avatar,
                                    $user_sig, $attachsig, $theme, $pass, $pass2, $rank, $bio, $uorder, $umode, $notify_method,
                                    $notify_mode, $timezone_offset, $user_mailok, $language,
                                    $pass_expired, $groups = array()

                CamelCaseVariableName

                Since: 0.2

                It is considered best practice to use the camelCase notation to name variables.

                Example

                class ClassName {
                    public function doSomething() {
                        $data_module = new DataModule();
                    }
                }

                Source

                The variable $member_handler is not named in camelCase.
                Open

                function updateUser($uid, $uname, $login_name, $name, $url, $email, $user_icq, $user_aim, $user_yim,
                                    $user_msnm, $user_from, $user_occ, $user_intrest, $user_viewemail, $user_avatar,
                                    $user_sig, $attachsig, $theme, $pass, $pass2, $rank, $bio, $uorder, $umode, $notify_method,
                                    $notify_mode, $timezone_offset, $user_mailok, $language,
                                    $pass_expired, $groups = array()

                CamelCaseVariableName

                Since: 0.2

                It is considered best practice to use the camelCase notation to name variables.

                Example

                class ClassName {
                    public function doSomething() {
                        $data_module = new DataModule();
                    }
                }

                Source

                The variable $user_select is not named in camelCase.
                Open

                function displayUsers() {
                    global $icmsConfig, $icmsModule, $icmsConfigUser;
                    $userstart = isset($_GET['userstart']) ? (int) $_GET['userstart'] : 0;
                
                    icms_cp_header();

                CamelCaseVariableName

                Since: 0.2

                It is considered best practice to use the camelCase notation to name variables.

                Example

                class ClassName {
                    public function doSomething() {
                        $data_module = new DataModule();
                    }
                }

                Source

                The variable $user_select_nav is not named in camelCase.
                Open

                function displayUsers() {
                    global $icmsConfig, $icmsModule, $icmsConfigUser;
                    $userstart = isset($_GET['userstart']) ? (int) $_GET['userstart'] : 0;
                
                    icms_cp_header();

                CamelCaseVariableName

                Since: 0.2

                It is considered best practice to use the camelCase notation to name variables.

                Example

                class ClassName {
                    public function doSomething() {
                        $data_module = new DataModule();
                    }
                }

                Source

                The variable $op_select is not named in camelCase.
                Open

                function displayUsers() {
                    global $icmsConfig, $icmsModule, $icmsConfigUser;
                    $userstart = isset($_GET['userstart']) ? (int) $_GET['userstart'] : 0;
                
                    icms_cp_header();

                CamelCaseVariableName

                Since: 0.2

                It is considered best practice to use the camelCase notation to name variables.

                Example

                class ClassName {
                    public function doSomething() {
                        $data_module = new DataModule();
                    }
                }

                Source

                The variable $uname_value is not named in camelCase.
                Open

                function displayUsers() {
                    global $icmsConfig, $icmsModule, $icmsConfigUser;
                    $userstart = isset($_GET['userstart']) ? (int) $_GET['userstart'] : 0;
                
                    icms_cp_header();

                CamelCaseVariableName

                Since: 0.2

                It is considered best practice to use the camelCase notation to name variables.

                Example

                class ClassName {
                    public function doSomething() {
                        $data_module = new DataModule();
                    }
                }

                Source

                The variable $email_value is not named in camelCase.
                Open

                function displayUsers() {
                    global $icmsConfig, $icmsModule, $icmsConfigUser;
                    $userstart = isset($_GET['userstart']) ? (int) $_GET['userstart'] : 0;
                
                    icms_cp_header();

                CamelCaseVariableName

                Since: 0.2

                It is considered best practice to use the camelCase notation to name variables.

                Example

                class ClassName {
                    public function doSomething() {
                        $data_module = new DataModule();
                    }
                }

                Source

                The variable $timezone_value is not named in camelCase.
                Open

                function displayUsers() {
                    global $icmsConfig, $icmsModule, $icmsConfigUser;
                    $userstart = isset($_GET['userstart']) ? (int) $_GET['userstart'] : 0;
                
                    icms_cp_header();

                CamelCaseVariableName

                Since: 0.2

                It is considered best practice to use the camelCase notation to name variables.

                Example

                class ClassName {
                    public function doSomething() {
                        $data_module = new DataModule();
                    }
                }

                Source

                The variable $notify_mode_value is not named in camelCase.
                Open

                function displayUsers() {
                    global $icmsConfig, $icmsModule, $icmsConfigUser;
                    $userstart = isset($_GET['userstart']) ? (int) $_GET['userstart'] : 0;
                
                    icms_cp_header();

                CamelCaseVariableName

                Since: 0.2

                It is considered best practice to use the camelCase notation to name variables.

                Example

                class ClassName {
                    public function doSomething() {
                        $data_module = new DataModule();
                    }
                }

                Source

                The variable $pass_expired_value is not named in camelCase.
                Open

                function displayUsers() {
                    global $icmsConfig, $icmsModule, $icmsConfigUser;
                    $userstart = isset($_GET['userstart']) ? (int) $_GET['userstart'] : 0;
                
                    icms_cp_header();

                CamelCaseVariableName

                Since: 0.2

                It is considered best practice to use the camelCase notation to name variables.

                Example

                class ClassName {
                    public function doSomething() {
                        $data_module = new DataModule();
                    }
                }

                Source

                The variable $op_value is not named in camelCase.
                Open

                function displayUsers() {
                    global $icmsConfig, $icmsModule, $icmsConfigUser;
                    $userstart = isset($_GET['userstart']) ? (int) $_GET['userstart'] : 0;
                
                    icms_cp_header();

                CamelCaseVariableName

                Since: 0.2

                It is considered best practice to use the camelCase notation to name variables.

                Example

                class ClassName {
                    public function doSomething() {
                        $data_module = new DataModule();
                    }
                }

                Source

                The variable $user_intrest is not named in camelCase.
                Open

                function updateUser($uid, $uname, $login_name, $name, $url, $email, $user_icq, $user_aim, $user_yim,
                                    $user_msnm, $user_from, $user_occ, $user_intrest, $user_viewemail, $user_avatar,
                                    $user_sig, $attachsig, $theme, $pass, $pass2, $rank, $bio, $uorder, $umode, $notify_method,
                                    $notify_mode, $timezone_offset, $user_mailok, $language,
                                    $pass_expired, $groups = array()

                CamelCaseVariableName

                Since: 0.2

                It is considered best practice to use the camelCase notation to name variables.

                Example

                class ClassName {
                    public function doSomething() {
                        $data_module = new DataModule();
                    }
                }

                Source

                The variable $user_select_tray is not named in camelCase.
                Open

                function displayUsers() {
                    global $icmsConfig, $icmsModule, $icmsConfigUser;
                    $userstart = isset($_GET['userstart']) ? (int) $_GET['userstart'] : 0;
                
                    icms_cp_header();

                CamelCaseVariableName

                Since: 0.2

                It is considered best practice to use the camelCase notation to name variables.

                Example

                class ClassName {
                    public function doSomething() {
                        $data_module = new DataModule();
                    }
                }

                Source

                The variable $icq_value is not named in camelCase.
                Open

                function displayUsers() {
                    global $icmsConfig, $icmsModule, $icmsConfigUser;
                    $userstart = isset($_GET['userstart']) ? (int) $_GET['userstart'] : 0;
                
                    icms_cp_header();

                CamelCaseVariableName

                Since: 0.2

                It is considered best practice to use the camelCase notation to name variables.

                Example

                class ClassName {
                    public function doSomething() {
                        $data_module = new DataModule();
                    }
                }

                Source

                The variable $rank_value is not named in camelCase.
                Open

                function displayUsers() {
                    global $icmsConfig, $icmsModule, $icmsConfigUser;
                    $userstart = isset($_GET['userstart']) ? (int) $_GET['userstart'] : 0;
                
                    icms_cp_header();

                CamelCaseVariableName

                Since: 0.2

                It is considered best practice to use the camelCase notation to name variables.

                Example

                class ClassName {
                    public function doSomething() {
                        $data_module = new DataModule();
                    }
                }

                Source

                The variable $member_handler is not named in camelCase.
                Open

                function displayUsers() {
                    global $icmsConfig, $icmsModule, $icmsConfigUser;
                    $userstart = isset($_GET['userstart']) ? (int) $_GET['userstart'] : 0;
                
                    icms_cp_header();

                CamelCaseVariableName

                Since: 0.2

                It is considered best practice to use the camelCase notation to name variables.

                Example

                class ClassName {
                    public function doSomething() {
                        $data_module = new DataModule();
                    }
                }

                Source

                The variable $user_select_nav is not named in camelCase.
                Open

                function displayUsers() {
                    global $icmsConfig, $icmsModule, $icmsConfigUser;
                    $userstart = isset($_GET['userstart']) ? (int) $_GET['userstart'] : 0;
                
                    icms_cp_header();

                CamelCaseVariableName

                Since: 0.2

                It is considered best practice to use the camelCase notation to name variables.

                Example

                class ClassName {
                    public function doSomething() {
                        $data_module = new DataModule();
                    }
                }

                Source

                The variable $submit_button is not named in camelCase.
                Open

                function displayUsers() {
                    global $icmsConfig, $icmsModule, $icmsConfigUser;
                    $userstart = isset($_GET['userstart']) ? (int) $_GET['userstart'] : 0;
                
                    icms_cp_header();

                CamelCaseVariableName

                Since: 0.2

                It is considered best practice to use the camelCase notation to name variables.

                Example

                class ClassName {
                    public function doSomething() {
                        $data_module = new DataModule();
                    }
                }

                Source

                The variable $op_select is not named in camelCase.
                Open

                function displayUsers() {
                    global $icmsConfig, $icmsModule, $icmsConfigUser;
                    $userstart = isset($_GET['userstart']) ? (int) $_GET['userstart'] : 0;
                
                    icms_cp_header();

                CamelCaseVariableName

                Since: 0.2

                It is considered best practice to use the camelCase notation to name variables.

                Example

                class ClassName {
                    public function doSomething() {
                        $data_module = new DataModule();
                    }
                }

                Source

                The variable $email_cbox_value is not named in camelCase.
                Open

                function modifyUser($user) {
                    global $icmsConfig, $icmsModule;
                    icms_cp_header();
                    echo '<div class="CPbigTitle" style="background-image: url(' . ICMS_MODULES_URL . '/system/admin/users/images/users_big.png)">' . _MD_AM_USER . '</div><br />';
                    $member_handler = icms::handler('icms_member');

                CamelCaseVariableName

                Since: 0.2

                It is considered best practice to use the camelCase notation to name variables.

                Example

                class ClassName {
                    public function doSomething() {
                        $data_module = new DataModule();
                    }
                }

                Source

                The variable $icq_value is not named in camelCase.
                Open

                function modifyUser($user) {
                    global $icmsConfig, $icmsModule;
                    icms_cp_header();
                    echo '<div class="CPbigTitle" style="background-image: url(' . ICMS_MODULES_URL . '/system/admin/users/images/users_big.png)">' . _MD_AM_USER . '</div><br />';
                    $member_handler = icms::handler('icms_member');

                CamelCaseVariableName

                Since: 0.2

                It is considered best practice to use the camelCase notation to name variables.

                Example

                class ClassName {
                    public function doSomething() {
                        $data_module = new DataModule();
                    }
                }

                Source

                The variable $msnm_value is not named in camelCase.
                Open

                function modifyUser($user) {
                    global $icmsConfig, $icmsModule;
                    icms_cp_header();
                    echo '<div class="CPbigTitle" style="background-image: url(' . ICMS_MODULES_URL . '/system/admin/users/images/users_big.png)">' . _MD_AM_USER . '</div><br />';
                    $member_handler = icms::handler('icms_member');

                CamelCaseVariableName

                Since: 0.2

                It is considered best practice to use the camelCase notation to name variables.

                Example

                class ClassName {
                    public function doSomething() {
                        $data_module = new DataModule();
                    }
                }

                Source

                The variable $bio_value is not named in camelCase.
                Open

                function modifyUser($user) {
                    global $icmsConfig, $icmsModule;
                    icms_cp_header();
                    echo '<div class="CPbigTitle" style="background-image: url(' . ICMS_MODULES_URL . '/system/admin/users/images/users_big.png)">' . _MD_AM_USER . '</div><br />';
                    $member_handler = icms::handler('icms_member');

                CamelCaseVariableName

                Since: 0.2

                It is considered best practice to use the camelCase notation to name variables.

                Example

                class ClassName {
                    public function doSomething() {
                        $data_module = new DataModule();
                    }
                }

                Source

                The variable $uid_value is not named in camelCase.
                Open

                function modifyUser($user) {
                    global $icmsConfig, $icmsModule;
                    icms_cp_header();
                    echo '<div class="CPbigTitle" style="background-image: url(' . ICMS_MODULES_URL . '/system/admin/users/images/users_big.png)">' . _MD_AM_USER . '</div><br />';
                    $member_handler = icms::handler('icms_member');

                CamelCaseVariableName

                Since: 0.2

                It is considered best practice to use the camelCase notation to name variables.

                Example

                class ClassName {
                    public function doSomething() {
                        $data_module = new DataModule();
                    }
                }

                Source

                The variable $language_value is not named in camelCase.
                Open

                function modifyUser($user) {
                    global $icmsConfig, $icmsModule;
                    icms_cp_header();
                    echo '<div class="CPbigTitle" style="background-image: url(' . ICMS_MODULES_URL . '/system/admin/users/images/users_big.png)">' . _MD_AM_USER . '</div><br />';
                    $member_handler = icms::handler('icms_member');

                CamelCaseVariableName

                Since: 0.2

                It is considered best practice to use the camelCase notation to name variables.

                Example

                class ClassName {
                    public function doSomething() {
                        $data_module = new DataModule();
                    }
                }

                Source

                The variable $mailok_value is not named in camelCase.
                Open

                function modifyUser($user) {
                    global $icmsConfig, $icmsModule;
                    icms_cp_header();
                    echo '<div class="CPbigTitle" style="background-image: url(' . ICMS_MODULES_URL . '/system/admin/users/images/users_big.png)">' . _MD_AM_USER . '</div><br />';
                    $member_handler = icms::handler('icms_member');

                CamelCaseVariableName

                Since: 0.2

                It is considered best practice to use the camelCase notation to name variables.

                Example

                class ClassName {
                    public function doSomething() {
                        $data_module = new DataModule();
                    }
                }

                Source

                The variable $form_isedit is not named in camelCase.
                Open

                function modifyUser($user) {
                    global $icmsConfig, $icmsModule;
                    icms_cp_header();
                    echo '<div class="CPbigTitle" style="background-image: url(' . ICMS_MODULES_URL . '/system/admin/users/images/users_big.png)">' . _MD_AM_USER . '</div><br />';
                    $member_handler = icms::handler('icms_member');

                CamelCaseVariableName

                Since: 0.2

                It is considered best practice to use the camelCase notation to name variables.

                Example

                class ClassName {
                    public function doSomething() {
                        $data_module = new DataModule();
                    }
                }

                Source

                The variable $user_msnm is not named in camelCase.
                Open

                function updateUser($uid, $uname, $login_name, $name, $url, $email, $user_icq, $user_aim, $user_yim,
                                    $user_msnm, $user_from, $user_occ, $user_intrest, $user_viewemail, $user_avatar,
                                    $user_sig, $attachsig, $theme, $pass, $pass2, $rank, $bio, $uorder, $umode, $notify_method,
                                    $notify_mode, $timezone_offset, $user_mailok, $language,
                                    $pass_expired, $groups = array()

                CamelCaseVariableName

                Since: 0.2

                It is considered best practice to use the camelCase notation to name variables.

                Example

                class ClassName {
                    public function doSomething() {
                        $data_module = new DataModule();
                    }
                }

                Source

                The variable $user_mailok is not named in camelCase.
                Open

                function updateUser($uid, $uname, $login_name, $name, $url, $email, $user_icq, $user_aim, $user_yim,
                                    $user_msnm, $user_from, $user_occ, $user_intrest, $user_viewemail, $user_avatar,
                                    $user_sig, $attachsig, $theme, $pass, $pass2, $rank, $bio, $uorder, $umode, $notify_method,
                                    $notify_mode, $timezone_offset, $user_mailok, $language,
                                    $pass_expired, $groups = array()

                CamelCaseVariableName

                Since: 0.2

                It is considered best practice to use the camelCase notation to name variables.

                Example

                class ClassName {
                    public function doSomething() {
                        $data_module = new DataModule();
                    }
                }

                Source

                The variable $pass_expired is not named in camelCase.
                Open

                function updateUser($uid, $uname, $login_name, $name, $url, $email, $user_icq, $user_aim, $user_yim,
                                    $user_msnm, $user_from, $user_occ, $user_intrest, $user_viewemail, $user_avatar,
                                    $user_sig, $attachsig, $theme, $pass, $pass2, $rank, $bio, $uorder, $umode, $notify_method,
                                    $notify_mode, $timezone_offset, $user_mailok, $language,
                                    $pass_expired, $groups = array()

                CamelCaseVariableName

                Since: 0.2

                It is considered best practice to use the camelCase notation to name variables.

                Example

                class ClassName {
                    public function doSomething() {
                        $data_module = new DataModule();
                    }
                }

                Source

                There are no issues that match your filters.

                Category
                Status