ImpressCMS/impresscms

View on GitHub
htdocs/modules/system/blocks/system_waiting.php

Summary

Maintainability
D
2 days
Test Coverage

Function b_system_waiting_show has a Cognitive Complexity of 46 (exceeds 5 allowed). Consider refactoring.
Open

function b_system_waiting_show($options) {
    global $icmsConfig;

    $userlang = $icmsConfig['language'] ;

Severity: Minor
Found in htdocs/modules/system/blocks/system_waiting.php - About 7 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

Function system_get_plugin_info has a Cognitive Complexity of 25 (exceeds 5 allowed). Consider refactoring.
Open

function system_get_plugin_info($dirname , $language = 'english') {
    // get $mytrustdirname for D3 modules
    $mytrustdirname = '' ;
    if (defined('XOOPS_TRUST_PATH') && file_exists(ICMS_MODULES_PATH . "/" . $dirname . "/mytrustdirname.php")) {
        @include ICMS_MODULES_PATH . "/" . $dirname . "/mytrustdirname.php" ;
Severity: Minor
Found in htdocs/modules/system/blocks/system_waiting.php - About 3 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 b_system_waiting_show has 59 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function b_system_waiting_show($options) {
    global $icmsConfig;

    $userlang = $icmsConfig['language'] ;

Severity: Major
Found in htdocs/modules/system/blocks/system_waiting.php - About 2 hrs to fix

    Method system_get_plugin_info has 54 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

    function system_get_plugin_info($dirname , $language = 'english') {
        // get $mytrustdirname for D3 modules
        $mytrustdirname = '' ;
        if (defined('XOOPS_TRUST_PATH') && file_exists(ICMS_MODULES_PATH . "/" . $dirname . "/mytrustdirname.php")) {
            @include ICMS_MODULES_PATH . "/" . $dirname . "/mytrustdirname.php" ;
    Severity: Major
    Found in htdocs/modules/system/blocks/system_waiting.php - About 2 hrs to fix

      The function b_system_waiting_show() has an NPath complexity of 8658. The configured NPath complexity threshold is 200.
      Open

      function b_system_waiting_show($options) {
          global $icmsConfig;
      
          $userlang = $icmsConfig['language'] ;
      
      

      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 system_get_plugin_info() has a Cyclomatic Complexity of 11. The configured cyclomatic complexity threshold is 10.
      Open

      function system_get_plugin_info($dirname , $language = 'english') {
          // get $mytrustdirname for D3 modules
          $mytrustdirname = '' ;
          if (defined('XOOPS_TRUST_PATH') && file_exists(ICMS_MODULES_PATH . "/" . $dirname . "/mytrustdirname.php")) {
              @include ICMS_MODULES_PATH . "/" . $dirname . "/mytrustdirname.php" ;

      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 b_system_waiting_show() has a Cyclomatic Complexity of 22. The configured cyclomatic complexity threshold is 10.
      Open

      function b_system_waiting_show($options) {
          global $icmsConfig;
      
          $userlang = $icmsConfig['language'] ;
      
      

      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

      Remove error control operator '@' on line 141.
      Open

      function system_get_plugin_info($dirname , $language = 'english') {
          // get $mytrustdirname for D3 modules
          $mytrustdirname = '' ;
          if (defined('XOOPS_TRUST_PATH') && file_exists(ICMS_MODULES_PATH . "/" . $dirname . "/mytrustdirname.php")) {
              @include ICMS_MODULES_PATH . "/" . $dirname . "/mytrustdirname.php" ;

      ErrorControlOperator

      Error suppression should be avoided if possible as it doesn't just suppress the error, that you are trying to stop, but will also suppress errors that you didn't predict would ever occur. Consider changing error_reporting() level and/or setting up your own error handler.

      Example

      function foo($filePath) {
          $file = @fopen($filPath); // hides exceptions
          $key = @$array[$notExistingKey]; // assigns null to $key
      }

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

      Remove error control operator '@' on line 59.
      Open

      function b_system_waiting_show($options) {
          global $icmsConfig;
      
          $userlang = $icmsConfig['language'] ;
      
      

      ErrorControlOperator

      Error suppression should be avoided if possible as it doesn't just suppress the error, that you are trying to stop, but will also suppress errors that you didn't predict would ever occur. Consider changing error_reporting() level and/or setting up your own error handler.

      Example

      function foo($filePath) {
          $file = @fopen($filPath); // hides exceptions
          $key = @$array[$notExistingKey]; // assigns null to $key
      }

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

      Remove error control operator '@' on line 55.
      Open

      function b_system_waiting_show($options) {
          global $icmsConfig;
      
          $userlang = $icmsConfig['language'] ;
      
      

      ErrorControlOperator

      Error suppression should be avoided if possible as it doesn't just suppress the error, that you are trying to stop, but will also suppress errors that you didn't predict would ever occur. Consider changing error_reporting() level and/or setting up your own error handler.

      Example

      function foo($filePath) {
          $file = @fopen($filPath); // hides exceptions
          $key = @$array[$notExistingKey]; // assigns null to $key
      }

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

      Remove error control operator '@' on line 67.
      Open

      function b_system_waiting_show($options) {
          global $icmsConfig;
      
          $userlang = $icmsConfig['language'] ;
      
      

      ErrorControlOperator

      Error suppression should be avoided if possible as it doesn't just suppress the error, that you are trying to stop, but will also suppress errors that you didn't predict would ever occur. Consider changing error_reporting() level and/or setting up your own error handler.

      Example

      function foo($filePath) {
          $file = @fopen($filPath); // hides exceptions
          $key = @$array[$notExistingKey]; // assigns null to $key
      }

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

      Missing class import via use statement (line '43', column '44').
      Open

          $mod_lists = $module_handler->getList(new icms_db_criteria_Item(1,1),true);

      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 b_system_waiting_show uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them.
      Open

                  } else {
                      // Judging the plugin returns multiple items
                      // if lang_linkname does not exist
                      foreach ($_tmp as $_one) {
                          if (@$_one["pendingnum"] > 0 || $options[0] > 0) {

      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 system_get_plugin_info uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them.
      Open

          } else {
              $ret = array() ;
          }

      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 b_system_waiting_show uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them.
      Open

              else {
                  unlink($sql_cache_file) ;
              }

      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 'b_system_waiting_show'.
      Open

          $module_handler = icms::handler('icms_module');

      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 '$plugins_path'.
      Open

          $plugins_path = ICMS_PLUGINS_PATH . "/waiting";

      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 '$userlang'.
      Open

          $userlang = $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

      Reference to undeclared constant \_NO
      Open

          $form .=" />&nbsp;" . _NO . "<br />\n";

      Reference to undeclared constant \_MINUTES
      Open

          $form .= sprintf(_MINUTES , _MB_SYSTEM_SQL_CACHE . ":&nbsp;<input type='text' name='options[1]' value='$sql_cache_min' size='2' />") ;

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

              $plugin_info = system_get_plugin_info($dirname , $icmsConfig['language']) ;

      Call to method __construct from undeclared class \icms_db_criteria_Item
      Open

          $mod_lists = $module_handler->getList(new icms_db_criteria_Item(1,1),true);

      Argument 2 (language) is null but \system_get_plugin_info() takes string defined at /code/htdocs/modules/system/blocks/system_waiting.php:137
      Open

              $plugin_info = system_get_plugin_info($dirname , $icmsConfig['language']) ;

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

          $userlang = $icmsConfig['language'] ;

      Reference to undeclared constant \_YES
      Open

          $form .= " />&nbsp;" . _YES . "<input type='radio' name='options[0]' value='0'";

      Call to method handler from undeclared class \icms
      Open

          $module_handler = icms::handler('icms_module');

      Similar blocks of code found in 2 locations. Consider refactoring.
      Open

          if (file_exists($module_plugin_file)) {
              // module side (1st priority)
              $lang_files = array(
              ICMS_MODULES_PATH . "/$dirname/language/$language/waiting.php" ,
              ICMS_MODULES_PATH . "/$dirname/language/english/waiting.php" ,
      Severity: Major
      Found in htdocs/modules/system/blocks/system_waiting.php and 1 other location - About 1 hr to fix
      htdocs/modules/system/blocks/system_waiting.php on lines 167..196

      Duplicated Code

      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

      Tuning

      This issue has a mass of 104.

      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

      Refactorings

      Further Reading

      Similar blocks of code found in 2 locations. Consider refactoring.
      Open

          } else if (! empty($mytrustdirname) && file_exists($d3module_plugin_file)) {
              // D3 module's plugin under xoops_trust_path (2nd priority)
              $lang_files = array(
              XOOPS_TRUST_PATH . "/modules/$mytrustdirname/language/$language/waiting.php" ,
              XOOPS_TRUST_PATH . "/modules/$mytrustdirname/language/english/waiting.php" ,
      Severity: Major
      Found in htdocs/modules/system/blocks/system_waiting.php and 1 other location - About 1 hr to fix
      htdocs/modules/system/blocks/system_waiting.php on lines 148..196

      Duplicated Code

      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

      Tuning

      This issue has a mass of 104.

      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

      Refactorings

      Further Reading

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

              $fp = fopen($sql_cache_file , "w") ;

      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

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

              $i = 0 ;

      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

      Expected 0 spaces between argument "$dirname" and comma; 1 found
      Open

      function system_get_plugin_info($dirname , $language = 'english') {

      Space found before comma in function call
      Open

          $form .= sprintf(_MINUTES , _MB_SYSTEM_SQL_CACHE . ":&nbsp;<input type='text' name='options[1]' value='$sql_cache_min' size='2' />") ;

      Space found before comma in function call
      Open

              $fp = fopen($sql_cache_file , "w") ;

      Expected 1 blank line at end of file; 2 found
      Open

      }

      Blank line found at start of control structure
      Open

          foreach ($mod_lists as $dirname => $name) {

      Space found before comma in function call
      Open

              $plugin_info = system_get_plugin_info($dirname , $icmsConfig['language']) ;

      Space found before comma in function call
      Open

                  $_tmp = call_user_func($plugin_info['func'] , $dirname) ;

      Inline control structures are not allowed
      Open

                  } else break ;

      Inline control structures are not allowed
      Open

              if (time() < $sql_cache_mtime + $sql_cache_min * 60) return array() ;

      Inline control structures are not allowed
      Open

              if (empty($plugin_info) || empty($plugin_info['plugin_path'])) continue ;

      No space found after comma in function call
      Open

          $mod_lists = $module_handler->getList(new icms_db_criteria_Item(1,1),true);

      No space found after comma in function call
      Open

          $mod_lists = $module_handler->getList(new icms_db_criteria_Item(1,1),true);

      The variable $plugin_info is not named in camelCase.
      Open

      function b_system_waiting_show($options) {
          global $icmsConfig;
      
          $userlang = $icmsConfig['language'] ;
      
      

      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 $_tmp is not named in camelCase.
      Open

      function b_system_waiting_show($options) {
          global $icmsConfig;
      
          $userlang = $icmsConfig['language'] ;
      
      

      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 $builtin_plugin_file is not named in camelCase.
      Open

      function system_get_plugin_info($dirname , $language = 'english') {
          // get $mytrustdirname for D3 modules
          $mytrustdirname = '' ;
          if (defined('XOOPS_TRUST_PATH') && file_exists(ICMS_MODULES_PATH . "/" . $dirname . "/mytrustdirname.php")) {
              @include ICMS_MODULES_PATH . "/" . $dirname . "/mytrustdirname.php" ;

      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 $lang_files is not named in camelCase.
      Open

      function system_get_plugin_info($dirname , $language = 'english') {
          // get $mytrustdirname for D3 modules
          $mytrustdirname = '' ;
          if (defined('XOOPS_TRUST_PATH') && file_exists(ICMS_MODULES_PATH . "/" . $dirname . "/mytrustdirname.php")) {
              @include ICMS_MODULES_PATH . "/" . $dirname . "/mytrustdirname.php" ;

      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 $sql_cache_file is not named in camelCase.
      Open

      function b_system_waiting_show($options) {
          global $icmsConfig;
      
          $userlang = $icmsConfig['language'] ;
      
      

      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 $langfile_path is not named in camelCase.
      Open

      function system_get_plugin_info($dirname , $language = 'english') {
          // get $mytrustdirname for D3 modules
          $mytrustdirname = '' ;
          if (defined('XOOPS_TRUST_PATH') && file_exists(ICMS_MODULES_PATH . "/" . $dirname . "/mytrustdirname.php")) {
              @include ICMS_MODULES_PATH . "/" . $dirname . "/mytrustdirname.php" ;

      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 $lang_file is not named in camelCase.
      Open

      function system_get_plugin_info($dirname , $language = 'english') {
          // get $mytrustdirname for D3 modules
          $mytrustdirname = '' ;
          if (defined('XOOPS_TRUST_PATH') && file_exists(ICMS_MODULES_PATH . "/" . $dirname . "/mytrustdirname.php")) {
              @include ICMS_MODULES_PATH . "/" . $dirname . "/mytrustdirname.php" ;

      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 $langfile_path is not named in camelCase.
      Open

      function system_get_plugin_info($dirname , $language = 'english') {
          // get $mytrustdirname for D3 modules
          $mytrustdirname = '' ;
          if (defined('XOOPS_TRUST_PATH') && file_exists(ICMS_MODULES_PATH . "/" . $dirname . "/mytrustdirname.php")) {
              @include ICMS_MODULES_PATH . "/" . $dirname . "/mytrustdirname.php" ;

      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 $module_handler is not named in camelCase.
      Open

      function b_system_waiting_show($options) {
          global $icmsConfig;
      
          $userlang = $icmsConfig['language'] ;
      
      

      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 $mod_lists is not named in camelCase.
      Open

      function b_system_waiting_show($options) {
          global $icmsConfig;
      
          $userlang = $icmsConfig['language'] ;
      
      

      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 $lang_files is not named in camelCase.
      Open

      function system_get_plugin_info($dirname , $language = 'english') {
          // get $mytrustdirname for D3 modules
          $mytrustdirname = '' ;
          if (defined('XOOPS_TRUST_PATH') && file_exists(ICMS_MODULES_PATH . "/" . $dirname . "/mytrustdirname.php")) {
              @include ICMS_MODULES_PATH . "/" . $dirname . "/mytrustdirname.php" ;

      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 $builtin_plugin_file is not named in camelCase.
      Open

      function system_get_plugin_info($dirname , $language = 'english') {
          // get $mytrustdirname for D3 modules
          $mytrustdirname = '' ;
          if (defined('XOOPS_TRUST_PATH') && file_exists(ICMS_MODULES_PATH . "/" . $dirname . "/mytrustdirname.php")) {
              @include ICMS_MODULES_PATH . "/" . $dirname . "/mytrustdirname.php" ;

      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 $_tmp is not named in camelCase.
      Open

      function b_system_waiting_show($options) {
          global $icmsConfig;
      
          $userlang = $icmsConfig['language'] ;
      
      

      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 $module_plugin_file is not named in camelCase.
      Open

      function system_get_plugin_info($dirname , $language = 'english') {
          // get $mytrustdirname for D3 modules
          $mytrustdirname = '' ;
          if (defined('XOOPS_TRUST_PATH') && file_exists(ICMS_MODULES_PATH . "/" . $dirname . "/mytrustdirname.php")) {
              @include ICMS_MODULES_PATH . "/" . $dirname . "/mytrustdirname.php" ;

      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 $langfile_path is not named in camelCase.
      Open

      function system_get_plugin_info($dirname , $language = 'english') {
          // get $mytrustdirname for D3 modules
          $mytrustdirname = '' ;
          if (defined('XOOPS_TRUST_PATH') && file_exists(ICMS_MODULES_PATH . "/" . $dirname . "/mytrustdirname.php")) {
              @include ICMS_MODULES_PATH . "/" . $dirname . "/mytrustdirname.php" ;

      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 $langfile_path is not named in camelCase.
      Open

      function system_get_plugin_info($dirname , $language = 'english') {
          // get $mytrustdirname for D3 modules
          $mytrustdirname = '' ;
          if (defined('XOOPS_TRUST_PATH') && file_exists(ICMS_MODULES_PATH . "/" . $dirname . "/mytrustdirname.php")) {
              @include ICMS_MODULES_PATH . "/" . $dirname . "/mytrustdirname.php" ;

      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 $lang_files is not named in camelCase.
      Open

      function system_get_plugin_info($dirname , $language = 'english') {
          // get $mytrustdirname for D3 modules
          $mytrustdirname = '' ;
          if (defined('XOOPS_TRUST_PATH') && file_exists(ICMS_MODULES_PATH . "/" . $dirname . "/mytrustdirname.php")) {
              @include ICMS_MODULES_PATH . "/" . $dirname . "/mytrustdirname.php" ;

      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 $sql_cache_mtime is not named in camelCase.
      Open

      function b_system_waiting_show($options) {
          global $icmsConfig;
      
          $userlang = $icmsConfig['language'] ;
      
      

      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 $sql_cache_min is not named in camelCase.
      Open

      function b_system_waiting_show($options) {
          global $icmsConfig;
      
          $userlang = $icmsConfig['language'] ;
      
      

      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 $_tmp is not named in camelCase.
      Open

      function b_system_waiting_show($options) {
          global $icmsConfig;
      
          $userlang = $icmsConfig['language'] ;
      
      

      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 $d3module_plugin_file is not named in camelCase.
      Open

      function system_get_plugin_info($dirname , $language = 'english') {
          // get $mytrustdirname for D3 modules
          $mytrustdirname = '' ;
          if (defined('XOOPS_TRUST_PATH') && file_exists(ICMS_MODULES_PATH . "/" . $dirname . "/mytrustdirname.php")) {
              @include ICMS_MODULES_PATH . "/" . $dirname . "/mytrustdirname.php" ;

      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 $module_handler is not named in camelCase.
      Open

      function b_system_waiting_show($options) {
          global $icmsConfig;
      
          $userlang = $icmsConfig['language'] ;
      
      

      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 $plugin_info is not named in camelCase.
      Open

      function b_system_waiting_show($options) {
          global $icmsConfig;
      
          $userlang = $icmsConfig['language'] ;
      
      

      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 $_tmp is not named in camelCase.
      Open

      function b_system_waiting_show($options) {
          global $icmsConfig;
      
          $userlang = $icmsConfig['language'] ;
      
      

      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 $d3module_plugin_file is not named in camelCase.
      Open

      function system_get_plugin_info($dirname , $language = 'english') {
          // get $mytrustdirname for D3 modules
          $mytrustdirname = '' ;
          if (defined('XOOPS_TRUST_PATH') && file_exists(ICMS_MODULES_PATH . "/" . $dirname . "/mytrustdirname.php")) {
              @include ICMS_MODULES_PATH . "/" . $dirname . "/mytrustdirname.php" ;

      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 $d3module_plugin_file is not named in camelCase.
      Open

      function system_get_plugin_info($dirname , $language = 'english') {
          // get $mytrustdirname for D3 modules
          $mytrustdirname = '' ;
          if (defined('XOOPS_TRUST_PATH') && file_exists(ICMS_MODULES_PATH . "/" . $dirname . "/mytrustdirname.php")) {
              @include ICMS_MODULES_PATH . "/" . $dirname . "/mytrustdirname.php" ;

      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 $sql_cache_file is not named in camelCase.
      Open

      function b_system_waiting_show($options) {
          global $icmsConfig;
      
          $userlang = $icmsConfig['language'] ;
      
      

      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 $_tmp is not named in camelCase.
      Open

      function b_system_waiting_show($options) {
          global $icmsConfig;
      
          $userlang = $icmsConfig['language'] ;
      
      

      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 $_tmp is not named in camelCase.
      Open

      function b_system_waiting_show($options) {
          global $icmsConfig;
      
          $userlang = $icmsConfig['language'] ;
      
      

      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 $module_plugin_file is not named in camelCase.
      Open

      function system_get_plugin_info($dirname , $language = 'english') {
          // get $mytrustdirname for D3 modules
          $mytrustdirname = '' ;
          if (defined('XOOPS_TRUST_PATH') && file_exists(ICMS_MODULES_PATH . "/" . $dirname . "/mytrustdirname.php")) {
              @include ICMS_MODULES_PATH . "/" . $dirname . "/mytrustdirname.php" ;

      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 $lang_files is not named in camelCase.
      Open

      function system_get_plugin_info($dirname , $language = 'english') {
          // get $mytrustdirname for D3 modules
          $mytrustdirname = '' ;
          if (defined('XOOPS_TRUST_PATH') && file_exists(ICMS_MODULES_PATH . "/" . $dirname . "/mytrustdirname.php")) {
              @include ICMS_MODULES_PATH . "/" . $dirname . "/mytrustdirname.php" ;

      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 $lang_file is not named in camelCase.
      Open

      function system_get_plugin_info($dirname , $language = 'english') {
          // get $mytrustdirname for D3 modules
          $mytrustdirname = '' ;
          if (defined('XOOPS_TRUST_PATH') && file_exists(ICMS_MODULES_PATH . "/" . $dirname . "/mytrustdirname.php")) {
              @include ICMS_MODULES_PATH . "/" . $dirname . "/mytrustdirname.php" ;

      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 $sql_cache_min is not named in camelCase.
      Open

      function b_system_waiting_show($options) {
          global $icmsConfig;
      
          $userlang = $icmsConfig['language'] ;
      
      

      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 $sql_cache_file is not named in camelCase.
      Open

      function b_system_waiting_show($options) {
          global $icmsConfig;
      
          $userlang = $icmsConfig['language'] ;
      
      

      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 $sql_cache_min is not named in camelCase.
      Open

      function b_system_waiting_show($options) {
          global $icmsConfig;
      
          $userlang = $icmsConfig['language'] ;
      
      

      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 $mod_lists is not named in camelCase.
      Open

      function b_system_waiting_show($options) {
          global $icmsConfig;
      
          $userlang = $icmsConfig['language'] ;
      
      

      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 $plugin_info is not named in camelCase.
      Open

      function b_system_waiting_show($options) {
          global $icmsConfig;
      
          $userlang = $icmsConfig['language'] ;
      
      

      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 $plugin_info is not named in camelCase.
      Open

      function b_system_waiting_show($options) {
          global $icmsConfig;
      
          $userlang = $icmsConfig['language'] ;
      
      

      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 $builtin_plugin_file is not named in camelCase.
      Open

      function system_get_plugin_info($dirname , $language = 'english') {
          // get $mytrustdirname for D3 modules
          $mytrustdirname = '' ;
          if (defined('XOOPS_TRUST_PATH') && file_exists(ICMS_MODULES_PATH . "/" . $dirname . "/mytrustdirname.php")) {
              @include ICMS_MODULES_PATH . "/" . $dirname . "/mytrustdirname.php" ;

      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 $_one is not named in camelCase.
      Open

      function b_system_waiting_show($options) {
          global $icmsConfig;
      
          $userlang = $icmsConfig['language'] ;
      
      

      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 $sql_cache_file is not named in camelCase.
      Open

      function b_system_waiting_show($options) {
          global $icmsConfig;
      
          $userlang = $icmsConfig['language'] ;
      
      

      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 $plugin_info is not named in camelCase.
      Open

      function b_system_waiting_show($options) {
          global $icmsConfig;
      
          $userlang = $icmsConfig['language'] ;
      
      

      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 $plugin_info is not named in camelCase.
      Open

      function b_system_waiting_show($options) {
          global $icmsConfig;
      
          $userlang = $icmsConfig['language'] ;
      
      

      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 $_tmp is not named in camelCase.
      Open

      function b_system_waiting_show($options) {
          global $icmsConfig;
      
          $userlang = $icmsConfig['language'] ;
      
      

      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 $lang_file is not named in camelCase.
      Open

      function system_get_plugin_info($dirname , $language = 'english') {
          // get $mytrustdirname for D3 modules
          $mytrustdirname = '' ;
          if (defined('XOOPS_TRUST_PATH') && file_exists(ICMS_MODULES_PATH . "/" . $dirname . "/mytrustdirname.php")) {
              @include ICMS_MODULES_PATH . "/" . $dirname . "/mytrustdirname.php" ;

      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 $sql_cache_file is not named in camelCase.
      Open

      function b_system_waiting_show($options) {
          global $icmsConfig;
      
          $userlang = $icmsConfig['language'] ;
      
      

      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 $_one is not named in camelCase.
      Open

      function b_system_waiting_show($options) {
          global $icmsConfig;
      
          $userlang = $icmsConfig['language'] ;
      
      

      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 $_one is not named in camelCase.
      Open

      function b_system_waiting_show($options) {
          global $icmsConfig;
      
          $userlang = $icmsConfig['language'] ;
      
      

      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 $sql_cache_min is not named in camelCase.
      Open

      function b_system_waiting_edit($options) {
      
          $sql_cache_min = empty($options[1]) ? 0 : (int) $options[1] ;
      
          $form = _MB_SYSTEM_NOWAITING_DISPLAY . ":&nbsp;<input type='radio' name='options[0]' value='1'";

      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 $langfile_path is not named in camelCase.
      Open

      function system_get_plugin_info($dirname , $language = 'english') {
          // get $mytrustdirname for D3 modules
          $mytrustdirname = '' ;
          if (defined('XOOPS_TRUST_PATH') && file_exists(ICMS_MODULES_PATH . "/" . $dirname . "/mytrustdirname.php")) {
              @include ICMS_MODULES_PATH . "/" . $dirname . "/mytrustdirname.php" ;

      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 $langfile_path is not named in camelCase.
      Open

      function system_get_plugin_info($dirname , $language = 'english') {
          // get $mytrustdirname for D3 modules
          $mytrustdirname = '' ;
          if (defined('XOOPS_TRUST_PATH') && file_exists(ICMS_MODULES_PATH . "/" . $dirname . "/mytrustdirname.php")) {
              @include ICMS_MODULES_PATH . "/" . $dirname . "/mytrustdirname.php" ;

      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 $function_name is not named in camelCase.
      Open

      function b_system_waiting_show($options) {
          global $icmsConfig;
      
          $userlang = $icmsConfig['language'] ;
      
      

      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 $function_name is not named in camelCase.
      Open

      function b_system_waiting_show($options) {
          global $icmsConfig;
      
          $userlang = $icmsConfig['language'] ;
      
      

      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 $_tmp is not named in camelCase.
      Open

      function b_system_waiting_show($options) {
          global $icmsConfig;
      
          $userlang = $icmsConfig['language'] ;
      
      

      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 $sql_cache_min is not named in camelCase.
      Open

      function b_system_waiting_edit($options) {
      
          $sql_cache_min = empty($options[1]) ? 0 : (int) $options[1] ;
      
          $form = _MB_SYSTEM_NOWAITING_DISPLAY . ":&nbsp;<input type='radio' name='options[0]' value='1'";

      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 $module_plugin_file is not named in camelCase.
      Open

      function system_get_plugin_info($dirname , $language = 'english') {
          // get $mytrustdirname for D3 modules
          $mytrustdirname = '' ;
          if (defined('XOOPS_TRUST_PATH') && file_exists(ICMS_MODULES_PATH . "/" . $dirname . "/mytrustdirname.php")) {
              @include ICMS_MODULES_PATH . "/" . $dirname . "/mytrustdirname.php" ;

      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 $lang_file is not named in camelCase.
      Open

      function system_get_plugin_info($dirname , $language = 'english') {
          // get $mytrustdirname for D3 modules
          $mytrustdirname = '' ;
          if (defined('XOOPS_TRUST_PATH') && file_exists(ICMS_MODULES_PATH . "/" . $dirname . "/mytrustdirname.php")) {
              @include ICMS_MODULES_PATH . "/" . $dirname . "/mytrustdirname.php" ;

      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 $plugin_info is not named in camelCase.
      Open

      function b_system_waiting_show($options) {
          global $icmsConfig;
      
          $userlang = $icmsConfig['language'] ;
      
      

      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 $plugin_info is not named in camelCase.
      Open

      function b_system_waiting_show($options) {
          global $icmsConfig;
      
          $userlang = $icmsConfig['language'] ;
      
      

      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 $_tmp is not named in camelCase.
      Open

      function b_system_waiting_show($options) {
          global $icmsConfig;
      
          $userlang = $icmsConfig['language'] ;
      
      

      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 $function_name is not named in camelCase.
      Open

      function b_system_waiting_show($options) {
          global $icmsConfig;
      
          $userlang = $icmsConfig['language'] ;
      
      

      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 $_tmp is not named in camelCase.
      Open

      function b_system_waiting_show($options) {
          global $icmsConfig;
      
          $userlang = $icmsConfig['language'] ;
      
      

      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 $lang_file is not named in camelCase.
      Open

      function system_get_plugin_info($dirname , $language = 'english') {
          // get $mytrustdirname for D3 modules
          $mytrustdirname = '' ;
          if (defined('XOOPS_TRUST_PATH') && file_exists(ICMS_MODULES_PATH . "/" . $dirname . "/mytrustdirname.php")) {
              @include ICMS_MODULES_PATH . "/" . $dirname . "/mytrustdirname.php" ;

      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 $sql_cache_mtime is not named in camelCase.
      Open

      function b_system_waiting_show($options) {
          global $icmsConfig;
      
          $userlang = $icmsConfig['language'] ;
      
      

      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 $plugins_path is not named in camelCase.
      Open

      function b_system_waiting_show($options) {
          global $icmsConfig;
      
          $userlang = $icmsConfig['language'] ;
      
      

      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 $lang_file is not named in camelCase.
      Open

      function system_get_plugin_info($dirname , $language = 'english') {
          // get $mytrustdirname for D3 modules
          $mytrustdirname = '' ;
          if (defined('XOOPS_TRUST_PATH') && file_exists(ICMS_MODULES_PATH . "/" . $dirname . "/mytrustdirname.php")) {
              @include ICMS_MODULES_PATH . "/" . $dirname . "/mytrustdirname.php" ;

      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