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'] ;
- Read upRead up
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" ;
- Read upRead up
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'] ;
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" ;
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'] ;
- Read upRead up
- Exclude checks
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" ;
- Read upRead up
- Exclude checks
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'] ;
- Read upRead up
- Exclude checks
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" ;
- Read upRead up
- Exclude checks
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'] ;
- Read upRead up
- Exclude checks
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'] ;
- Read upRead up
- Exclude checks
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'] ;
- Read upRead up
- Exclude checks
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);
- Read upRead up
- Exclude checks
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) {
- Read upRead up
- Exclude checks
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() ;
}
- Read upRead up
- Exclude checks
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) ;
}
- Read upRead up
- Exclude checks
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');
- Read upRead up
- Exclude checks
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";
- Read upRead up
- Exclude checks
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'] ;
- Read upRead up
- Exclude checks
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 .=" /> " . _NO . "<br />\n";
- Exclude checks
Reference to undeclared constant \_MINUTES
Open
$form .= sprintf(_MINUTES , _MB_SYSTEM_SQL_CACHE . ": <input type='text' name='options[1]' value='$sql_cache_min' size='2' />") ;
- Exclude checks
Invalid offset "language"
of array type array{template_set:mixed}
Open
$plugin_info = system_get_plugin_info($dirname , $icmsConfig['language']) ;
- Exclude checks
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);
- Exclude checks
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']) ;
- Exclude checks
Invalid offset "language"
of array type array{template_set:mixed}
Open
$userlang = $icmsConfig['language'] ;
- Exclude checks
Reference to undeclared constant \_YES
Open
$form .= " /> " . _YES . "<input type='radio' name='options[0]' value='0'";
- Exclude checks
Call to method handler
from undeclared class \icms
Open
$module_handler = icms::handler('icms_module');
- Exclude checks
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" ,
- Read upRead up
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
- Extract Method
- Extract Class
- Form Template Method
- Introduce Null Object
- Pull Up Method
- Pull Up Field
- Substitute Algorithm
Further Reading
- Don't Repeat Yourself on the C2 Wiki
- Duplicated Code on SourceMaking
- Refactoring: Improving the Design of Existing Code by Martin Fowler. Duplicated Code, p76
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" ,
- Read upRead up
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
- Extract Method
- Extract Class
- Form Template Method
- Introduce Null Object
- Pull Up Method
- Pull Up Field
- Substitute Algorithm
Further Reading
- Don't Repeat Yourself on the C2 Wiki
- Duplicated Code on SourceMaking
- Refactoring: Improving the Design of Existing Code by Martin Fowler. Duplicated Code, p76
Avoid variables with short names like $fp. Configured minimum length is 3. Open
$fp = fopen($sql_cache_file , "w") ;
- Read upRead up
- Exclude checks
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 ;
- Read upRead up
- Exclude checks
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') {
- Exclude checks
Space found before comma in function call Open
$form .= sprintf(_MINUTES , _MB_SYSTEM_SQL_CACHE . ": <input type='text' name='options[1]' value='$sql_cache_min' size='2' />") ;
- Exclude checks
Space found before comma in function call Open
$fp = fopen($sql_cache_file , "w") ;
- Exclude checks
Expected 1 blank line at end of file; 2 found Open
}
- Exclude checks
Blank line found at start of control structure Open
foreach ($mod_lists as $dirname => $name) {
- Exclude checks
Space found before comma in function call Open
$plugin_info = system_get_plugin_info($dirname , $icmsConfig['language']) ;
- Exclude checks
Space found before comma in function call Open
$_tmp = call_user_func($plugin_info['func'] , $dirname) ;
- Exclude checks
Inline control structures are not allowed Open
} else break ;
- Exclude checks
Inline control structures are not allowed Open
if (time() < $sql_cache_mtime + $sql_cache_min * 60) return array() ;
- Exclude checks
Inline control structures are not allowed Open
if (empty($plugin_info) || empty($plugin_info['plugin_path'])) continue ;
- Exclude checks
No space found after comma in function call Open
$mod_lists = $module_handler->getList(new icms_db_criteria_Item(1,1),true);
- Exclude checks
No space found after comma in function call Open
$mod_lists = $module_handler->getList(new icms_db_criteria_Item(1,1),true);
- Exclude checks
The variable $plugin_info is not named in camelCase. Open
function b_system_waiting_show($options) {
global $icmsConfig;
$userlang = $icmsConfig['language'] ;
- Read upRead up
- Exclude checks
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'] ;
- Read upRead up
- Exclude checks
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" ;
- Read upRead up
- Exclude checks
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" ;
- Read upRead up
- Exclude checks
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'] ;
- Read upRead up
- Exclude checks
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" ;
- Read upRead up
- Exclude checks
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" ;
- Read upRead up
- Exclude checks
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" ;
- Read upRead up
- Exclude checks
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'] ;
- Read upRead up
- Exclude checks
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'] ;
- Read upRead up
- Exclude checks
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" ;
- Read upRead up
- Exclude checks
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" ;
- Read upRead up
- Exclude checks
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'] ;
- Read upRead up
- Exclude checks
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" ;
- Read upRead up
- Exclude checks
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" ;
- Read upRead up
- Exclude checks
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" ;
- Read upRead up
- Exclude checks
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" ;
- Read upRead up
- Exclude checks
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'] ;
- Read upRead up
- Exclude checks
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'] ;
- Read upRead up
- Exclude checks
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'] ;
- Read upRead up
- Exclude checks
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" ;
- Read upRead up
- Exclude checks
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'] ;
- Read upRead up
- Exclude checks
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'] ;
- Read upRead up
- Exclude checks
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'] ;
- Read upRead up
- Exclude checks
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" ;
- Read upRead up
- Exclude checks
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" ;
- Read upRead up
- Exclude checks
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'] ;
- Read upRead up
- Exclude checks
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'] ;
- Read upRead up
- Exclude checks
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'] ;
- Read upRead up
- Exclude checks
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" ;
- Read upRead up
- Exclude checks
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" ;
- Read upRead up
- Exclude checks
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" ;
- Read upRead up
- Exclude checks
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'] ;
- Read upRead up
- Exclude checks
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'] ;
- Read upRead up
- Exclude checks
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'] ;
- Read upRead up
- Exclude checks
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'] ;
- Read upRead up
- Exclude checks
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'] ;
- Read upRead up
- Exclude checks
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'] ;
- Read upRead up
- Exclude checks
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" ;
- Read upRead up
- Exclude checks
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'] ;
- Read upRead up
- Exclude checks
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'] ;
- Read upRead up
- Exclude checks
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'] ;
- Read upRead up
- Exclude checks
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'] ;
- Read upRead up
- Exclude checks
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'] ;
- Read upRead up
- Exclude checks
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" ;
- Read upRead up
- Exclude checks
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'] ;
- Read upRead up
- Exclude checks
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'] ;
- Read upRead up
- Exclude checks
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'] ;
- Read upRead up
- Exclude checks
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 . ": <input type='radio' name='options[0]' value='1'";
- Read upRead up
- Exclude checks
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" ;
- Read upRead up
- Exclude checks
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" ;
- Read upRead up
- Exclude checks
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'] ;
- Read upRead up
- Exclude checks
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'] ;
- Read upRead up
- Exclude checks
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'] ;
- Read upRead up
- Exclude checks
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 . ": <input type='radio' name='options[0]' value='1'";
- Read upRead up
- Exclude checks
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" ;
- Read upRead up
- Exclude checks
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" ;
- Read upRead up
- Exclude checks
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'] ;
- Read upRead up
- Exclude checks
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'] ;
- Read upRead up
- Exclude checks
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'] ;
- Read upRead up
- Exclude checks
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'] ;
- Read upRead up
- Exclude checks
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'] ;
- Read upRead up
- Exclude checks
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" ;
- Read upRead up
- Exclude checks
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'] ;
- Read upRead up
- Exclude checks
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'] ;
- Read upRead up
- Exclude checks
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" ;
- Read upRead up
- Exclude checks
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();
}
}