createCategory accesses the super-global variable $GLOBALS. Open
function createCategory($cid = 0)
{
// require_once dirname(__DIR__) . '/class/xoopstube_lists.php';
// require_once XOOPS_ROOT_PATH . '/class/xoopsformloader.php';
- Read upRead up
- Exclude checks
Superglobals
Since: 0.2
Accessing a super-global variable directly is considered a bad practice. These variables should be encapsulated in objects that are provided by a framework, for instance.
Example
class Foo {
public function bar() {
$name = $_POST['foo'];
}
}
Source
createCategory accesses the super-global variable $GLOBALS. Open
function createCategory($cid = 0)
{
// require_once dirname(__DIR__) . '/class/xoopstube_lists.php';
// require_once XOOPS_ROOT_PATH . '/class/xoopsformloader.php';
- Read upRead up
- Exclude checks
Superglobals
Since: 0.2
Accessing a super-global variable directly is considered a bad practice. These variables should be encapsulated in objects that are provided by a framework, for instance.
Example
class Foo {
public function bar() {
$name = $_POST['foo'];
}
}
Source
createCategory accesses the super-global variable $GLOBALS. Open
function createCategory($cid = 0)
{
// require_once dirname(__DIR__) . '/class/xoopstube_lists.php';
// require_once XOOPS_ROOT_PATH . '/class/xoopsformloader.php';
- Read upRead up
- Exclude checks
Superglobals
Since: 0.2
Accessing a super-global variable directly is considered a bad practice. These variables should be encapsulated in objects that are provided by a framework, for instance.
Example
class Foo {
public function bar() {
$name = $_POST['foo'];
}
}
Source
createCategory accesses the super-global variable $GLOBALS. Open
function createCategory($cid = 0)
{
// require_once dirname(__DIR__) . '/class/xoopstube_lists.php';
// require_once XOOPS_ROOT_PATH . '/class/xoopsformloader.php';
- Read upRead up
- Exclude checks
Superglobals
Since: 0.2
Accessing a super-global variable directly is considered a bad practice. These variables should be encapsulated in objects that are provided by a framework, for instance.
Example
class Foo {
public function bar() {
$name = $_POST['foo'];
}
}
Source
createCategory accesses the super-global variable $GLOBALS. Open
function createCategory($cid = 0)
{
// require_once dirname(__DIR__) . '/class/xoopstube_lists.php';
// require_once XOOPS_ROOT_PATH . '/class/xoopsformloader.php';
- Read upRead up
- Exclude checks
Superglobals
Since: 0.2
Accessing a super-global variable directly is considered a bad practice. These variables should be encapsulated in objects that are provided by a framework, for instance.
Example
class Foo {
public function bar() {
$name = $_POST['foo'];
}
}
Source
createCategory accesses the super-global variable $GLOBALS. Open
function createCategory($cid = 0)
{
// require_once dirname(__DIR__) . '/class/xoopstube_lists.php';
// require_once XOOPS_ROOT_PATH . '/class/xoopsformloader.php';
- Read upRead up
- Exclude checks
Superglobals
Since: 0.2
Accessing a super-global variable directly is considered a bad practice. These variables should be encapsulated in objects that are provided by a framework, for instance.
Example
class Foo {
public function bar() {
$name = $_POST['foo'];
}
}
Source
createCategory accesses the super-global variable $GLOBALS. Open
function createCategory($cid = 0)
{
// require_once dirname(__DIR__) . '/class/xoopstube_lists.php';
// require_once XOOPS_ROOT_PATH . '/class/xoopsformloader.php';
- Read upRead up
- Exclude checks
Superglobals
Since: 0.2
Accessing a super-global variable directly is considered a bad practice. These variables should be encapsulated in objects that are provided by a framework, for instance.
Example
class Foo {
public function bar() {
$name = $_POST['foo'];
}
}
Source
createCategory accesses the super-global variable $GLOBALS. Open
function createCategory($cid = 0)
{
// require_once dirname(__DIR__) . '/class/xoopstube_lists.php';
// require_once XOOPS_ROOT_PATH . '/class/xoopsformloader.php';
- Read upRead up
- Exclude checks
Superglobals
Since: 0.2
Accessing a super-global variable directly is considered a bad practice. These variables should be encapsulated in objects that are provided by a framework, for instance.
Example
class Foo {
public function bar() {
$name = $_POST['foo'];
}
}
Source
createCategory accesses the super-global variable $GLOBALS. Open
function createCategory($cid = 0)
{
// require_once dirname(__DIR__) . '/class/xoopstube_lists.php';
// require_once XOOPS_ROOT_PATH . '/class/xoopsformloader.php';
- Read upRead up
- Exclude checks
Superglobals
Since: 0.2
Accessing a super-global variable directly is considered a bad practice. These variables should be encapsulated in objects that are provided by a framework, for instance.
Example
class Foo {
public function bar() {
$name = $_POST['foo'];
}
}
Source
createCategory accesses the super-global variable $GLOBALS. Open
function createCategory($cid = 0)
{
// require_once dirname(__DIR__) . '/class/xoopstube_lists.php';
// require_once XOOPS_ROOT_PATH . '/class/xoopsformloader.php';
- Read upRead up
- Exclude checks
Superglobals
Since: 0.2
Accessing a super-global variable directly is considered a bad practice. These variables should be encapsulated in objects that are provided by a framework, for instance.
Example
class Foo {
public function bar() {
$name = $_POST['foo'];
}
}
Source
createCategory accesses the super-global variable $GLOBALS. Open
function createCategory($cid = 0)
{
// require_once dirname(__DIR__) . '/class/xoopstube_lists.php';
// require_once XOOPS_ROOT_PATH . '/class/xoopsformloader.php';
- Read upRead up
- Exclude checks
Superglobals
Since: 0.2
Accessing a super-global variable directly is considered a bad practice. These variables should be encapsulated in objects that are provided by a framework, for instance.
Example
class Foo {
public function bar() {
$name = $_POST['foo'];
}
}
Source
createCategory accesses the super-global variable $GLOBALS. Open
function createCategory($cid = 0)
{
// require_once dirname(__DIR__) . '/class/xoopstube_lists.php';
// require_once XOOPS_ROOT_PATH . '/class/xoopsformloader.php';
- Read upRead up
- Exclude checks
Superglobals
Since: 0.2
Accessing a super-global variable directly is considered a bad practice. These variables should be encapsulated in objects that are provided by a framework, for instance.
Example
class Foo {
public function bar() {
$name = $_POST['foo'];
}
}
Source
createCategory accesses the super-global variable $GLOBALS. Open
function createCategory($cid = 0)
{
// require_once dirname(__DIR__) . '/class/xoopstube_lists.php';
// require_once XOOPS_ROOT_PATH . '/class/xoopsformloader.php';
- Read upRead up
- Exclude checks
Superglobals
Since: 0.2
Accessing a super-global variable directly is considered a bad practice. These variables should be encapsulated in objects that are provided by a framework, for instance.
Example
class Foo {
public function bar() {
$name = $_POST['foo'];
}
}
Source
createCategory accesses the super-global variable $GLOBALS. Open
function createCategory($cid = 0)
{
// require_once dirname(__DIR__) . '/class/xoopstube_lists.php';
// require_once XOOPS_ROOT_PATH . '/class/xoopsformloader.php';
- Read upRead up
- Exclude checks
Superglobals
Since: 0.2
Accessing a super-global variable directly is considered a bad practice. These variables should be encapsulated in objects that are provided by a framework, for instance.
Example
class Foo {
public function bar() {
$name = $_POST['foo'];
}
}
Source
createCategory accesses the super-global variable $GLOBALS. Open
function createCategory($cid = 0)
{
// require_once dirname(__DIR__) . '/class/xoopstube_lists.php';
// require_once XOOPS_ROOT_PATH . '/class/xoopsformloader.php';
- Read upRead up
- Exclude checks
Superglobals
Since: 0.2
Accessing a super-global variable directly is considered a bad practice. These variables should be encapsulated in objects that are provided by a framework, for instance.
Example
class Foo {
public function bar() {
$name = $_POST['foo'];
}
}
Source
createCategory accesses the super-global variable $GLOBALS. Open
function createCategory($cid = 0)
{
// require_once dirname(__DIR__) . '/class/xoopstube_lists.php';
// require_once XOOPS_ROOT_PATH . '/class/xoopsformloader.php';
- Read upRead up
- Exclude checks
Superglobals
Since: 0.2
Accessing a super-global variable directly is considered a bad practice. These variables should be encapsulated in objects that are provided by a framework, for instance.
Example
class Foo {
public function bar() {
$name = $_POST['foo'];
}
}
Source
createCategory accesses the super-global variable $GLOBALS. Open
function createCategory($cid = 0)
{
// require_once dirname(__DIR__) . '/class/xoopstube_lists.php';
// require_once XOOPS_ROOT_PATH . '/class/xoopsformloader.php';
- Read upRead up
- Exclude checks
Superglobals
Since: 0.2
Accessing a super-global variable directly is considered a bad practice. These variables should be encapsulated in objects that are provided by a framework, for instance.
Example
class Foo {
public function bar() {
$name = $_POST['foo'];
}
}
Source
createCategory accesses the super-global variable $GLOBALS. Open
function createCategory($cid = 0)
{
// require_once dirname(__DIR__) . '/class/xoopstube_lists.php';
// require_once XOOPS_ROOT_PATH . '/class/xoopsformloader.php';
- Read upRead up
- Exclude checks
Superglobals
Since: 0.2
Accessing a super-global variable directly is considered a bad practice. These variables should be encapsulated in objects that are provided by a framework, for instance.
Example
class Foo {
public function bar() {
$name = $_POST['foo'];
}
}
Source
Method createCategory
has 154 lines of code (exceeds 25 allowed). Consider refactoring. Open
function createCategory($cid = 0)
{
// require_once dirname(__DIR__) . '/class/xoopstube_lists.php';
// require_once XOOPS_ROOT_PATH . '/class/xoopsformloader.php';
File category.php
has 380 lines of code (exceeds 250 allowed). Consider refactoring. Open
<?php
/**
* Module: XoopsTube
*
* You may not change or alter any portion of this comment or credits
Function createCategory
has a Cognitive Complexity of 14 (exceeds 5 allowed). Consider refactoring. Open
function createCategory($cid = 0)
{
// require_once dirname(__DIR__) . '/class/xoopstube_lists.php';
// require_once XOOPS_ROOT_PATH . '/class/xoopsformloader.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
The function createCategory() has an NPath complexity of 288. The configured NPath complexity threshold is 200. Open
function createCategory($cid = 0)
{
// require_once dirname(__DIR__) . '/class/xoopstube_lists.php';
// require_once XOOPS_ROOT_PATH . '/class/xoopsformloader.php';
- 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 createCategory() has 196 lines of code. Current threshold is set to 100. Avoid really long methods. Open
function createCategory($cid = 0)
{
// require_once dirname(__DIR__) . '/class/xoopstube_lists.php';
// require_once XOOPS_ROOT_PATH . '/class/xoopsformloader.php';
- Exclude checks
The function createCategory() has a Cyclomatic Complexity of 10. The configured cyclomatic complexity threshold is 10. Open
function createCategory($cid = 0)
{
// require_once dirname(__DIR__) . '/class/xoopstube_lists.php';
// require_once XOOPS_ROOT_PATH . '/class/xoopsformloader.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
Avoid using undefined variables such as '$options' which will lead to PHP notices. Open
$options['name'] = 'description';
- Read upRead up
- Exclude checks
UndefinedVariable
Since: 2.8.0
Detects when a variable is used that has not been defined before.
Example
class Foo
{
private function bar()
{
// $message is undefined
echo $message;
}
}
Source https://phpmd.org/rules/cleancode.html#undefinedvariable
Avoid using undefined variables such as '$options' which will lead to PHP notices. Open
$options['rows'] = 5;
- Read upRead up
- Exclude checks
UndefinedVariable
Since: 2.8.0
Detects when a variable is used that has not been defined before.
Example
class Foo
{
private function bar()
{
// $message is undefined
echo $message;
}
}
Source https://phpmd.org/rules/cleancode.html#undefinedvariable
Avoid using undefined variables such as '$options' which will lead to PHP notices. Open
$options['cols'] = '100%';
- Read upRead up
- Exclude checks
UndefinedVariable
Since: 2.8.0
Detects when a variable is used that has not been defined before.
Example
class Foo
{
private function bar()
{
// $message is undefined
echo $message;
}
}
Source https://phpmd.org/rules/cleancode.html#undefinedvariable
Avoid using undefined variables such as '$options' which will lead to PHP notices. Open
$options['height'] = '200px';
- Read upRead up
- Exclude checks
UndefinedVariable
Since: 2.8.0
Detects when a variable is used that has not been defined before.
Example
class Foo
{
private function bar()
{
// $message is undefined
echo $message;
}
}
Source https://phpmd.org/rules/cleancode.html#undefinedvariable
Avoid using undefined variables such as '$options' which will lead to PHP notices. Open
$options['value'] = $description;
- Read upRead up
- Exclude checks
UndefinedVariable
Since: 2.8.0
Detects when a variable is used that has not been defined before.
Example
class Foo
{
private function bar()
{
// $message is undefined
echo $message;
}
}
Source https://phpmd.org/rules/cleancode.html#undefinedvariable
Avoid using undefined variables such as '$options' which will lead to PHP notices. Open
$options['width'] = '100%';
- Read upRead up
- Exclude checks
UndefinedVariable
Since: 2.8.0
Detects when a variable is used that has not been defined before.
Example
class Foo
{
private function bar()
{
// $message is undefined
echo $message;
}
}
Source https://phpmd.org/rules/cleancode.html#undefinedvariable
Avoid using undefined variables such as '$item' which will lead to PHP notices. Open
$editor = new \XoopsFormDhtmlTextArea('', 'description', $item->getVar('description', 'e'), '100%', '100%');
- Read upRead up
- Exclude checks
UndefinedVariable
Since: 2.8.0
Detects when a variable is used that has not been defined before.
Example
class Foo
{
private function bar()
{
// $message is undefined
echo $message;
}
}
Source https://phpmd.org/rules/cleancode.html#undefinedvariable
Avoid using undefined variables such as '$options' which will lead to PHP notices. Open
$editor = new \XoopsFormEditor('', $GLOBALS['xoopsModuleConfig']['form_optionsuser'], $options, $nohtml = false, $onfailure = 'textarea');
- Read upRead up
- Exclude checks
UndefinedVariable
Since: 2.8.0
Detects when a variable is used that has not been defined before.
Example
class Foo
{
private function bar()
{
// $message is undefined
echo $message;
}
}
Source https://phpmd.org/rules/cleancode.html#undefinedvariable
Missing class import via use statement (line '125', column '42'). Open
$indeximage_tray->addElement(new \XoopsFormLabel('', "<br><br><img src='" . XOOPS_URL . '/' . $GLOBALS['xoopsModuleConfig']['catimage'] . '/' . $imgurl . "' name='image' id='image' alt=''>"));
- 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
Missing class import via use statement (line '127', column '42'). Open
$indeximage_tray->addElement(new \XoopsFormLabel('', "<br><br><img src='" . XOOPS_URL . "/uploads/blank.gif' name='image' id='image' alt=''>"));
- 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
Missing class import via use statement (line '134', column '28'). Open
$optionsTrayNote = new \XoopsFormElementTray(_AM_XOOPSTUBE_FCATEGORY_DESCRIPTION, '<br>');
- 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
Missing class import via use statement (line '100', column '18'). Open
$sform = new \XoopsThemeForm($heading, 'op', xoops_getenv('SCRIPT_NAME'), 'post', 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
Missing class import via use statement (line '110', column '32'). Open
$sform->addElement(new \XoopsFormLabel(_AM_XOOPSTUBE_FCATEGORY_SUBCATEGORY, ob_get_clean()));
- 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
Missing class import via use statement (line '115', column '32'). Open
$sform->addElement(new \XoopsFormLabel(_AM_XOOPSTUBE_FCATEGORY_SUBCATEGORY, ob_get_clean()));
- 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
Missing class import via use statement (line '119', column '29'). Open
$indexImageSelect = new \XoopsFormSelect('', 'imgurl', $imgurl);
- 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
Missing class import via use statement (line '103', column '28'). Open
$sform->addElement(new \XoopsFormText(_AM_XOOPSTUBE_FCATEGORY_TITLE, 'title', 50, 80, $title), 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
Missing class import via use statement (line '104', column '28'). Open
$sform->addElement(new \XoopsFormText(_AM_XOOPSTUBE_FCATEGORY_WEIGHT, 'weight', 10, 80, $weight), false);
- 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
Missing class import via use statement (line '122', column '28'). Open
$indeximage_tray = new \XoopsFormElementTray(_AM_XOOPSTUBE_FCATEGORY_CIMAGE, ' ');
- 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
Missing class import via use statement (line '208', column '23'). Open
$hidden = new \XoopsFormHidden('op', 'save');
- 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
Missing class import via use statement (line '216', column '27'). Open
$butt_clear = new \XoopsFormButton('', '', _AM_XOOPSTUBE_BRESET, 'reset');
- 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
Missing class import via use statement (line '231', column '28'). Open
$butt_cancel = new \XoopsFormButton('', '', _AM_XOOPSTUBE_BCANCEL, 'button');
- 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
Missing class import via use statement (line '196', column '28'). Open
$breaks_checkbox = new \XoopsFormCheckBox('', 'nobreak', $nobreak);
- 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
Missing class import via use statement (line '203', column '28'). Open
$sform->addElement(new \XoopsFormHidden('cid', (int)$cid));
- 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
Missing class import via use statement (line '227', column '28'). Open
$butt_delete = new \XoopsFormButton('', '', _AM_XOOPSTUBE_BDELETE, 'submit');
- 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
Missing class import via use statement (line '205', column '28'). Open
$sform->addElement(new \XoopsFormHidden('spotlighttop', (int)$cid));
- 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
Missing class import via use statement (line '219', column '28'). Open
$butt_cancel = new \XoopsFormButton('', '', _AM_XOOPSTUBE_BCANCEL, 'button');
- 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
Missing class import via use statement (line '142', column '34'). Open
$editor = new \XoopsFormEditor('', $GLOBALS['xoopsModuleConfig']['form_optionsuser'], $options, $nohtml = false, $onfailure = 'textarea');
- 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
Missing class import via use statement (line '184', column '28'). Open
$smiley_checkbox = new \XoopsFormCheckBox('', 'nosmiley', $nosmiley);
- 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
Missing class import via use statement (line '178', column '25'). Open
$options_tray = new \XoopsFormElementTray(_AM_XOOPSTUBE_TEXTOPTIONS, '<br>');
- 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
Missing class import via use statement (line '192', column '30'). Open
$noimages_checkbox = new \XoopsFormCheckBox('', 'noimages', $noimages);
- 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
Missing class import via use statement (line '223', column '28'). Open
$butt_create = new \XoopsFormButton('', '', _AM_XOOPSTUBE_BMODIFY, 'submit');
- 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
Missing class import via use statement (line '152', column '28'). Open
$client_select = new \XoopsFormSelect(_AM_XOOPSTUBE_CATSPONSOR, 'client_id', $client_id, false);
- 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
Missing class import via use statement (line '180', column '26'). Open
$html_checkbox = new \XoopsFormCheckBox('', 'nohtml', $nohtml);
- 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
Missing class import via use statement (line '166', column '28'). Open
$banner_select = new \XoopsFormSelect(_AM_XOOPSTUBE_BANNERID, 'banner_id', $banner_id, false);
- 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
Missing class import via use statement (line '145', column '23'). Open
$editor = new \XoopsFormDhtmlTextArea('', 'description', $item->getVar('description', 'e'), '100%', '100%');
- 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
Missing class import via use statement (line '188', column '28'). Open
$xcodes_checkbox = new \XoopsFormCheckBox('', 'noxcodes', $noxcodes);
- 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
Missing class import via use statement (line '207', column '23'). Open
$buttonTray = new \XoopsFormElementTray('', '');
- 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
Missing class import via use statement (line '212', column '28'). Open
$butt_create = new \XoopsFormButton('', '', _AM_XOOPSTUBE_BSAVE, 'submit');
- 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
Avoid using static access to class '\XoopsModules\Xoopstube\Utility' in method 'createCategory'. Open
$totalcats = Utility::getTotalCategoryCount();
- 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
The method createCategory uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
$groups = true;
}
- 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 createCategory uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
$mytreechose = new Tree($GLOBALS['xoopsDB']->prefix('xoopstube_cat'), 'cid', 'pid');
ob_start();
$mytreechose->makeMySelBox('title', 'title', $cid, 1, 'pid');
$sform->addElement(new \XoopsFormLabel(_AM_XOOPSTUBE_FCATEGORY_SUBCATEGORY, ob_get_clean()));
- 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 createCategory uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
$indeximage_tray->addElement(new \XoopsFormLabel('', "<br><br><img src='" . XOOPS_URL . "/uploads/blank.gif' name='image' id='image' alt=''>"));
}
- 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 '\XoopsModules\Xoopstube\Lists' in method 'createCategory'. Open
$graph_array = Lists::getListTypeAsArray(XOOPS_ROOT_PATH . '/' . $GLOBALS['xoopsModuleConfig']['catimage'], $type = 'images');
- 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
The method createCategory uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
$butt_create = new \XoopsFormButton('', '', _AM_XOOPSTUBE_BMODIFY, 'submit');
$butt_create->setExtra('onclick="this.form.elements.op.value=\'addCat\'"');
$buttonTray->addElement($butt_create);
- 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 createCategory uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
$editor = new \XoopsFormDhtmlTextArea('', 'description', $item->getVar('description', 'e'), '100%', '100%');
$optionsTrayNote->addElement($editor);
}
- 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 unused local variables such as '$myts'. Open
global $myts, $totalcats, $xoopsModule;
- 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 '$lid'. Open
$lid = 0;
- 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 '$type'. Open
$graph_array = Lists::getListTypeAsArray(XOOPS_ROOT_PATH . '/' . $GLOBALS['xoopsModuleConfig']['catimage'], $type = 'images');
- 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 '$group_list'. Open
$group_list = $memberHandler->getGroupList();
- 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 '$spotlighttop'. Open
$spotlighttop = 0;
- 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 '$spotlighthis'. Open
$spotlighthis = 0;
- 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 '$groups'. Open
$groups = $grouppermHandler->getGroupIds('XTubeCatPerm', $cid, $xoopsModule->getVar('mid'));
- 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 '$pid'. Open
$pid = '';
- 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 '$item'. Open
$editor = new \XoopsFormDhtmlTextArea('', 'description', $item->getVar('description', 'e'), '100%', '100%');
- 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 '$onfailure'. Open
$editor = new \XoopsFormEditor('', $GLOBALS['xoopsModuleConfig']['form_optionsuser'], $options, $nohtml = false, $onfailure = 'textarea');
- 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 '$numrows'. Open
[$numrows] = $GLOBALS['xoopsDB']->fetchRow($result2);
- 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
Similar blocks of code found in 4 locations. Consider refactoring. Open
if (class_exists('XoopsFormEditor')) {
$options['name'] = 'description';
$options['value'] = $description;
$options['rows'] = 5;
$options['cols'] = '100%';
- 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 179.
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
A file should declare new symbols (classes, functions, constants, etc.) and cause no other side effects, or it should execute logic with side effects, but should not do both. The first symbol is defined on line 45 and the first side effect is on line 25. Open
<?php
- Exclude checks
The CASE body must start on the line following the statement Open
case 'addCat':
- Exclude checks
The CASE body must start on the line following the statement Open
case 'del':
- Exclude checks
There must be one USE keyword per declaration Open
use XoopsModules\Xoopstube\{
- Exclude checks
Line exceeds 120 characters; contains 126 characters Open
$sql = sprintf('DELETE FROM `%s` WHERE lid = %u', $GLOBALS['xoopsDB']->prefix('xoopstube_videos'), (int)$lid);
- Exclude checks
Line exceeds 120 characters; contains 132 characters Open
$sform = new \XoopsThemeForm(_AM_XOOPSTUBE_CCATEGORY_MODIFY, 'category', xoops_getenv('SCRIPT_NAME'), 'post', true);
- Exclude checks
Line exceeds 120 characters; contains 141 characters Open
$cid = Request::getInt('cid', Request::getInt('cid', 0, 'GET'), 'POST'); //(isset($_POST['cid'])) ? $_POST['cid'] : $_GET['cid'];
- Exclude checks
Line exceeds 120 characters; contains 128 characters Open
$client_id = Request::getInt('client_id', 0, 'POST'); //(isset($_REQUEST['client_id'])) ? $_REQUEST['client_id'] : 0;
- Exclude checks
Line exceeds 120 characters; contains 157 characters Open
$editor = new \XoopsFormEditor('', $GLOBALS['xoopsModuleConfig']['form_optionsuser'], $options, $nohtml = false, $onfailure = 'textarea');
- Exclude checks
Line exceeds 120 characters; contains 129 characters Open
// $sform -> addElement(new \XoopsFormSelectGroup(_AM_XOOPSTUBE_FCATEGORY_GROUPPROMPT, "groups", true, $groups, 5, true));
- Exclude checks
Line exceeds 120 characters; contains 195 characters Open
$weight = (Request::getInt('weight', 0, 'POST') > 0) ? Request::getInt('weight', 0, 'POST') : 0; //(isset($_REQUEST['weight']) && $_REQUEST['weight'] > 0) ? $_REQUEST['weight'] : 0;
- Exclude checks
Line exceeds 120 characters; contains 129 characters Open
$banner_id = Request::getInt('banner_id', 0, 'POST'); //(isset($_REQUEST['banner_id'])) ? $_REQUEST['banner_id'] : 0;
- Exclude checks
Line exceeds 120 characters; contains 132 characters Open
$sql = sprintf('DELETE FROM `%s` WHERE lid = %u', $GLOBALS['xoopsDB']->prefix('xoopstube_votedata'), (int)$lid);
- Exclude checks
Line exceeds 120 characters; contains 142 characters Open
$result = $GLOBALS['xoopsDB']->query('SELECT lid FROM ' . $GLOBALS['xoopsDB']->prefix('xoopstube_videos') . ' WHERE cid=' . $cid);
- Exclude checks
Line exceeds 120 characters; contains 135 characters Open
$sql = 'UPDATE ' . $GLOBALS['xoopsDB']->prefix('xoopstube_videos') . ' set cid = ' . $target . ' WHERE cid =' . $source;
- Exclude checks
Line exceeds 120 characters; contains 126 characters Open
$tags['CATEGORY_URL'] = XOOPS_URL . '/modules/' . $xoopsModule->getVar('dirname') . '/viewcat.php?cid=' . $newid;
- Exclude checks
Line exceeds 120 characters; contains 155 characters Open
$result = $GLOBALS['xoopsDB']->query('SELECT lid FROM ' . $GLOBALS['xoopsDB']->prefix('xoopstube_videos') . ' WHERE cid=' . (int)$arr[$i]);
- Exclude checks
Line exceeds 120 characters; contains 174 characters Open
$imgurl = Request::getString('imgurl', '', 'POST'); // $_REQUEST['imgurl'] && $_REQUEST['imgurl'] != 'blank.gif') ? $myts->addslashes($_REQUEST['imgurl']) : '';
- Exclude checks
Line exceeds 120 characters; contains 130 characters Open
$sform = new \XoopsThemeForm(_AM_XOOPSTUBE_CCATEGORY_MOVE, 'move', xoops_getenv('SCRIPT_NAME'), 'post', true);
- Exclude checks
Line exceeds 120 characters; contains 126 characters Open
$spotlighttop = (1 == Request::getInt('spotlighttop', 0, 'POST')) ? 1 : 0; //($_REQUEST['spotlighttop'] == 1) ? 1 : 0;
- Exclude checks
Line exceeds 120 characters; contains 165 characters Open
$indexImageSelect->setExtra("onchange='showImgSelected(\"image\", \"imgurl\", \"" . $GLOBALS['xoopsModuleConfig']['catimage'] . '", "", "' . XOOPS_URL . "\")'");
- Exclude checks
Line exceeds 120 characters; contains 152 characters Open
$indeximage_tray->addElement(new \XoopsFormLabel('', "<br><br><img src='" . XOOPS_URL . "/uploads/blank.gif' name='image' id='image' alt=''>"));
- Exclude checks
Line exceeds 120 characters; contains 126 characters Open
$groups = Request::getArray('groups', [], 'POST'); //isset($_REQUEST['groups']) ? $_REQUEST['groups'] : array();
- Exclude checks
Line exceeds 120 characters; contains 130 characters Open
$sql = sprintf('DELETE FROM `%s` WHERE lid = %u', $GLOBALS['xoopsDB']->prefix('xoopstube_videos'), (int)$lid);
- Exclude checks
Line exceeds 120 characters; contains 128 characters Open
$sql = sprintf('DELETE FROM `%s` WHERE lid = %u', $GLOBALS['xoopsDB']->prefix('xoopstube_votedata'), (int)$lid);
- Exclude checks
Line exceeds 120 characters; contains 135 characters Open
$graph_array = Lists::getListTypeAsArray(XOOPS_ROOT_PATH . '/' . $GLOBALS['xoopsModuleConfig']['catimage'], $type = 'images');
- Exclude checks
Line exceeds 120 characters; contains 125 characters Open
$sql = sprintf('DELETE FROM `%s` WHERE cid = %u', $GLOBALS['xoopsDB']->prefix('xoopstube_altcat'), $arr[$i]);
- Exclude checks
Line exceeds 120 characters; contains 200 characters Open
$indeximage_tray->addElement(new \XoopsFormLabel('', "<br><br><img src='" . XOOPS_URL . '/' . $GLOBALS['xoopsModuleConfig']['catimage'] . '/' . $imgurl . "' name='image' id='image' alt=''>"));
- Exclude checks
Line exceeds 120 characters; contains 353 characters Open
. " SET title ='$title', imgurl='$imgurl', pid =$pid, description='$descriptionb', spotlighthis='$spotlighthis' , spotlighttop='$spotlighttop', nohtml='$nohtml', nosmiley='$nosmiley', noxcodes='$noxcodes', noimages='$noimages', nobreak='$nobreak', weight='$weight', client_id='$client_id', banner_id='$banner_id' WHERE cid="
- Exclude checks
Line exceeds 120 characters; contains 127 characters Open
$sql = sprintf('DELETE FROM `%s` WHERE cid = %u', $GLOBALS['xoopsDB']->prefix('xoopstube_cat'), (int)$arr[$i]);
- Exclude checks
Line exceeds 120 characters; contains 356 characters Open
. " (cid, pid, title, imgurl, description, nohtml, nosmiley, noxcodes, noimages, nobreak, weight, spotlighttop, spotlighthis, client_id, banner_id ) VALUES ($cid, $pid, '$title', '$imgurl', '$descriptionb', '$nohtml', '$nosmiley', '$noxcodes', '$noimages', '$nobreak', '$weight', $spotlighttop, $spotlighthis, $client_id, $banner_id )";
- Exclude checks
The variable $cat_arr is not named in camelCase. Open
function createCategory($cid = 0)
{
// require_once dirname(__DIR__) . '/class/xoopstube_lists.php';
// require_once XOOPS_ROOT_PATH . '/class/xoopsformloader.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 $html_checkbox is not named in camelCase. Open
function createCategory($cid = 0)
{
// require_once dirname(__DIR__) . '/class/xoopstube_lists.php';
// require_once XOOPS_ROOT_PATH . '/class/xoopsformloader.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 $butt_cancel is not named in camelCase. Open
function createCategory($cid = 0)
{
// require_once dirname(__DIR__) . '/class/xoopstube_lists.php';
// require_once XOOPS_ROOT_PATH . '/class/xoopsformloader.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 $cat_arr is not named in camelCase. Open
function createCategory($cid = 0)
{
// require_once dirname(__DIR__) . '/class/xoopstube_lists.php';
// require_once XOOPS_ROOT_PATH . '/class/xoopsformloader.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 $group_list is not named in camelCase. Open
function createCategory($cid = 0)
{
// require_once dirname(__DIR__) . '/class/xoopstube_lists.php';
// require_once XOOPS_ROOT_PATH . '/class/xoopsformloader.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 $indeximage_tray is not named in camelCase. Open
function createCategory($cid = 0)
{
// require_once dirname(__DIR__) . '/class/xoopstube_lists.php';
// require_once XOOPS_ROOT_PATH . '/class/xoopsformloader.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 $client_array is not named in camelCase. Open
function createCategory($cid = 0)
{
// require_once dirname(__DIR__) . '/class/xoopstube_lists.php';
// require_once XOOPS_ROOT_PATH . '/class/xoopsformloader.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 $banner_select is not named in camelCase. Open
function createCategory($cid = 0)
{
// require_once dirname(__DIR__) . '/class/xoopstube_lists.php';
// require_once XOOPS_ROOT_PATH . '/class/xoopsformloader.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 $options_tray is not named in camelCase. Open
function createCategory($cid = 0)
{
// require_once dirname(__DIR__) . '/class/xoopstube_lists.php';
// require_once XOOPS_ROOT_PATH . '/class/xoopsformloader.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 $options_tray is not named in camelCase. Open
function createCategory($cid = 0)
{
// require_once dirname(__DIR__) . '/class/xoopstube_lists.php';
// require_once XOOPS_ROOT_PATH . '/class/xoopsformloader.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 $breaks_checkbox is not named in camelCase. Open
function createCategory($cid = 0)
{
// require_once dirname(__DIR__) . '/class/xoopstube_lists.php';
// require_once XOOPS_ROOT_PATH . '/class/xoopsformloader.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 $options_tray is not named in camelCase. Open
function createCategory($cid = 0)
{
// require_once dirname(__DIR__) . '/class/xoopstube_lists.php';
// require_once XOOPS_ROOT_PATH . '/class/xoopsformloader.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 $butt_delete is not named in camelCase. Open
function createCategory($cid = 0)
{
// require_once dirname(__DIR__) . '/class/xoopstube_lists.php';
// require_once XOOPS_ROOT_PATH . '/class/xoopsformloader.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 $html_checkbox is not named in camelCase. Open
function createCategory($cid = 0)
{
// require_once dirname(__DIR__) . '/class/xoopstube_lists.php';
// require_once XOOPS_ROOT_PATH . '/class/xoopsformloader.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 $client_id is not named in camelCase. Open
function createCategory($cid = 0)
{
// require_once dirname(__DIR__) . '/class/xoopstube_lists.php';
// require_once XOOPS_ROOT_PATH . '/class/xoopsformloader.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 $butt_create is not named in camelCase. Open
function createCategory($cid = 0)
{
// require_once dirname(__DIR__) . '/class/xoopstube_lists.php';
// require_once XOOPS_ROOT_PATH . '/class/xoopsformloader.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 $client_array is not named in camelCase. Open
function createCategory($cid = 0)
{
// require_once dirname(__DIR__) . '/class/xoopstube_lists.php';
// require_once XOOPS_ROOT_PATH . '/class/xoopsformloader.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 $banner_id is not named in camelCase. Open
function createCategory($cid = 0)
{
// require_once dirname(__DIR__) . '/class/xoopstube_lists.php';
// require_once XOOPS_ROOT_PATH . '/class/xoopsformloader.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 $breaks_checkbox is not named in camelCase. Open
function createCategory($cid = 0)
{
// require_once dirname(__DIR__) . '/class/xoopstube_lists.php';
// require_once XOOPS_ROOT_PATH . '/class/xoopsformloader.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 $cat_arr is not named in camelCase. Open
function createCategory($cid = 0)
{
// require_once dirname(__DIR__) . '/class/xoopstube_lists.php';
// require_once XOOPS_ROOT_PATH . '/class/xoopsformloader.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 $butt_delete is not named in camelCase. Open
function createCategory($cid = 0)
{
// require_once dirname(__DIR__) . '/class/xoopstube_lists.php';
// require_once XOOPS_ROOT_PATH . '/class/xoopsformloader.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 $cat_arr is not named in camelCase. Open
function createCategory($cid = 0)
{
// require_once dirname(__DIR__) . '/class/xoopstube_lists.php';
// require_once XOOPS_ROOT_PATH . '/class/xoopsformloader.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 $cat_arr is not named in camelCase. Open
function createCategory($cid = 0)
{
// require_once dirname(__DIR__) . '/class/xoopstube_lists.php';
// require_once XOOPS_ROOT_PATH . '/class/xoopsformloader.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 $cat_arr is not named in camelCase. Open
function createCategory($cid = 0)
{
// require_once dirname(__DIR__) . '/class/xoopstube_lists.php';
// require_once XOOPS_ROOT_PATH . '/class/xoopsformloader.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 $cat_arr is not named in camelCase. Open
function createCategory($cid = 0)
{
// require_once dirname(__DIR__) . '/class/xoopstube_lists.php';
// require_once XOOPS_ROOT_PATH . '/class/xoopsformloader.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 $graph_array is not named in camelCase. Open
function createCategory($cid = 0)
{
// require_once dirname(__DIR__) . '/class/xoopstube_lists.php';
// require_once XOOPS_ROOT_PATH . '/class/xoopsformloader.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 $banner_array is not named in camelCase. Open
function createCategory($cid = 0)
{
// require_once dirname(__DIR__) . '/class/xoopstube_lists.php';
// require_once XOOPS_ROOT_PATH . '/class/xoopsformloader.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 $butt_create is not named in camelCase. Open
function createCategory($cid = 0)
{
// require_once dirname(__DIR__) . '/class/xoopstube_lists.php';
// require_once XOOPS_ROOT_PATH . '/class/xoopsformloader.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 $butt_cancel is not named in camelCase. Open
function createCategory($cid = 0)
{
// require_once dirname(__DIR__) . '/class/xoopstube_lists.php';
// require_once XOOPS_ROOT_PATH . '/class/xoopsformloader.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 $indeximage_tray is not named in camelCase. Open
function createCategory($cid = 0)
{
// require_once dirname(__DIR__) . '/class/xoopstube_lists.php';
// require_once XOOPS_ROOT_PATH . '/class/xoopsformloader.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 $butt_cancel is not named in camelCase. Open
function createCategory($cid = 0)
{
// require_once dirname(__DIR__) . '/class/xoopstube_lists.php';
// require_once XOOPS_ROOT_PATH . '/class/xoopsformloader.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 $banner_id is not named in camelCase. Open
function createCategory($cid = 0)
{
// require_once dirname(__DIR__) . '/class/xoopstube_lists.php';
// require_once XOOPS_ROOT_PATH . '/class/xoopsformloader.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 $client_select is not named in camelCase. Open
function createCategory($cid = 0)
{
// require_once dirname(__DIR__) . '/class/xoopstube_lists.php';
// require_once XOOPS_ROOT_PATH . '/class/xoopsformloader.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 $client_select is not named in camelCase. Open
function createCategory($cid = 0)
{
// require_once dirname(__DIR__) . '/class/xoopstube_lists.php';
// require_once XOOPS_ROOT_PATH . '/class/xoopsformloader.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 $banner_select is not named in camelCase. Open
function createCategory($cid = 0)
{
// require_once dirname(__DIR__) . '/class/xoopstube_lists.php';
// require_once XOOPS_ROOT_PATH . '/class/xoopsformloader.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 $banner_array is not named in camelCase. Open
function createCategory($cid = 0)
{
// require_once dirname(__DIR__) . '/class/xoopstube_lists.php';
// require_once XOOPS_ROOT_PATH . '/class/xoopsformloader.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 $butt_create is not named in camelCase. Open
function createCategory($cid = 0)
{
// require_once dirname(__DIR__) . '/class/xoopstube_lists.php';
// require_once XOOPS_ROOT_PATH . '/class/xoopsformloader.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 $noimages_checkbox is not named in camelCase. Open
function createCategory($cid = 0)
{
// require_once dirname(__DIR__) . '/class/xoopstube_lists.php';
// require_once XOOPS_ROOT_PATH . '/class/xoopsformloader.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 $butt_create is not named in camelCase. Open
function createCategory($cid = 0)
{
// require_once dirname(__DIR__) . '/class/xoopstube_lists.php';
// require_once XOOPS_ROOT_PATH . '/class/xoopsformloader.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 $cat_arr is not named in camelCase. Open
function createCategory($cid = 0)
{
// require_once dirname(__DIR__) . '/class/xoopstube_lists.php';
// require_once XOOPS_ROOT_PATH . '/class/xoopsformloader.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 $butt_clear is not named in camelCase. Open
function createCategory($cid = 0)
{
// require_once dirname(__DIR__) . '/class/xoopstube_lists.php';
// require_once XOOPS_ROOT_PATH . '/class/xoopsformloader.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 $butt_cancel is not named in camelCase. Open
function createCategory($cid = 0)
{
// require_once dirname(__DIR__) . '/class/xoopstube_lists.php';
// require_once XOOPS_ROOT_PATH . '/class/xoopsformloader.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 $client_id is not named in camelCase. Open
function createCategory($cid = 0)
{
// require_once dirname(__DIR__) . '/class/xoopstube_lists.php';
// require_once XOOPS_ROOT_PATH . '/class/xoopsformloader.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 $butt_clear is not named in camelCase. Open
function createCategory($cid = 0)
{
// require_once dirname(__DIR__) . '/class/xoopstube_lists.php';
// require_once XOOPS_ROOT_PATH . '/class/xoopsformloader.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 $butt_cancel is not named in camelCase. Open
function createCategory($cid = 0)
{
// require_once dirname(__DIR__) . '/class/xoopstube_lists.php';
// require_once XOOPS_ROOT_PATH . '/class/xoopsformloader.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 $client_select is not named in camelCase. Open
function createCategory($cid = 0)
{
// require_once dirname(__DIR__) . '/class/xoopstube_lists.php';
// require_once XOOPS_ROOT_PATH . '/class/xoopsformloader.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 $butt_cancel is not named in camelCase. Open
function createCategory($cid = 0)
{
// require_once dirname(__DIR__) . '/class/xoopstube_lists.php';
// require_once XOOPS_ROOT_PATH . '/class/xoopsformloader.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 $html_checkbox is not named in camelCase. Open
function createCategory($cid = 0)
{
// require_once dirname(__DIR__) . '/class/xoopstube_lists.php';
// require_once XOOPS_ROOT_PATH . '/class/xoopsformloader.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 $xcodes_checkbox is not named in camelCase. Open
function createCategory($cid = 0)
{
// require_once dirname(__DIR__) . '/class/xoopstube_lists.php';
// require_once XOOPS_ROOT_PATH . '/class/xoopsformloader.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 $indeximage_tray is not named in camelCase. Open
function createCategory($cid = 0)
{
// require_once dirname(__DIR__) . '/class/xoopstube_lists.php';
// require_once XOOPS_ROOT_PATH . '/class/xoopsformloader.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 $client_array is not named in camelCase. Open
function createCategory($cid = 0)
{
// require_once dirname(__DIR__) . '/class/xoopstube_lists.php';
// require_once XOOPS_ROOT_PATH . '/class/xoopsformloader.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 $smiley_checkbox is not named in camelCase. Open
function createCategory($cid = 0)
{
// require_once dirname(__DIR__) . '/class/xoopstube_lists.php';
// require_once XOOPS_ROOT_PATH . '/class/xoopsformloader.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 $xcodes_checkbox is not named in camelCase. Open
function createCategory($cid = 0)
{
// require_once dirname(__DIR__) . '/class/xoopstube_lists.php';
// require_once XOOPS_ROOT_PATH . '/class/xoopsformloader.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 $butt_create is not named in camelCase. Open
function createCategory($cid = 0)
{
// require_once dirname(__DIR__) . '/class/xoopstube_lists.php';
// require_once XOOPS_ROOT_PATH . '/class/xoopsformloader.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 $cat_arr is not named in camelCase. Open
function createCategory($cid = 0)
{
// require_once dirname(__DIR__) . '/class/xoopstube_lists.php';
// require_once XOOPS_ROOT_PATH . '/class/xoopsformloader.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 $cat_arr is not named in camelCase. Open
function createCategory($cid = 0)
{
// require_once dirname(__DIR__) . '/class/xoopstube_lists.php';
// require_once XOOPS_ROOT_PATH . '/class/xoopsformloader.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 $cat_arr is not named in camelCase. Open
function createCategory($cid = 0)
{
// require_once dirname(__DIR__) . '/class/xoopstube_lists.php';
// require_once XOOPS_ROOT_PATH . '/class/xoopsformloader.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 $indeximage_tray is not named in camelCase. Open
function createCategory($cid = 0)
{
// require_once dirname(__DIR__) . '/class/xoopstube_lists.php';
// require_once XOOPS_ROOT_PATH . '/class/xoopsformloader.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 $options_tray is not named in camelCase. Open
function createCategory($cid = 0)
{
// require_once dirname(__DIR__) . '/class/xoopstube_lists.php';
// require_once XOOPS_ROOT_PATH . '/class/xoopsformloader.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 $smiley_checkbox is not named in camelCase. Open
function createCategory($cid = 0)
{
// require_once dirname(__DIR__) . '/class/xoopstube_lists.php';
// require_once XOOPS_ROOT_PATH . '/class/xoopsformloader.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 $breaks_checkbox is not named in camelCase. Open
function createCategory($cid = 0)
{
// require_once dirname(__DIR__) . '/class/xoopstube_lists.php';
// require_once XOOPS_ROOT_PATH . '/class/xoopsformloader.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 $butt_create is not named in camelCase. Open
function createCategory($cid = 0)
{
// require_once dirname(__DIR__) . '/class/xoopstube_lists.php';
// require_once XOOPS_ROOT_PATH . '/class/xoopsformloader.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 $butt_delete is not named in camelCase. Open
function createCategory($cid = 0)
{
// require_once dirname(__DIR__) . '/class/xoopstube_lists.php';
// require_once XOOPS_ROOT_PATH . '/class/xoopsformloader.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 $client_id is not named in camelCase. Open
function createCategory($cid = 0)
{
// require_once dirname(__DIR__) . '/class/xoopstube_lists.php';
// require_once XOOPS_ROOT_PATH . '/class/xoopsformloader.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 $graph_array is not named in camelCase. Open
function createCategory($cid = 0)
{
// require_once dirname(__DIR__) . '/class/xoopstube_lists.php';
// require_once XOOPS_ROOT_PATH . '/class/xoopsformloader.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 $banner_select is not named in camelCase. Open
function createCategory($cid = 0)
{
// require_once dirname(__DIR__) . '/class/xoopstube_lists.php';
// require_once XOOPS_ROOT_PATH . '/class/xoopsformloader.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 $cat_arr is not named in camelCase. Open
function createCategory($cid = 0)
{
// require_once dirname(__DIR__) . '/class/xoopstube_lists.php';
// require_once XOOPS_ROOT_PATH . '/class/xoopsformloader.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 $banner_id is not named in camelCase. Open
function createCategory($cid = 0)
{
// require_once dirname(__DIR__) . '/class/xoopstube_lists.php';
// require_once XOOPS_ROOT_PATH . '/class/xoopsformloader.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 $indeximage_tray is not named in camelCase. Open
function createCategory($cid = 0)
{
// require_once dirname(__DIR__) . '/class/xoopstube_lists.php';
// require_once XOOPS_ROOT_PATH . '/class/xoopsformloader.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 $options_tray is not named in camelCase. Open
function createCategory($cid = 0)
{
// require_once dirname(__DIR__) . '/class/xoopstube_lists.php';
// require_once XOOPS_ROOT_PATH . '/class/xoopsformloader.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 $cat_arr is not named in camelCase. Open
function createCategory($cid = 0)
{
// require_once dirname(__DIR__) . '/class/xoopstube_lists.php';
// require_once XOOPS_ROOT_PATH . '/class/xoopsformloader.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 $noimages_checkbox is not named in camelCase. Open
function createCategory($cid = 0)
{
// require_once dirname(__DIR__) . '/class/xoopstube_lists.php';
// require_once XOOPS_ROOT_PATH . '/class/xoopsformloader.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 $cat_arr is not named in camelCase. Open
function createCategory($cid = 0)
{
// require_once dirname(__DIR__) . '/class/xoopstube_lists.php';
// require_once XOOPS_ROOT_PATH . '/class/xoopsformloader.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 $options_tray is not named in camelCase. Open
function createCategory($cid = 0)
{
// require_once dirname(__DIR__) . '/class/xoopstube_lists.php';
// require_once XOOPS_ROOT_PATH . '/class/xoopsformloader.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 $cat_arr is not named in camelCase. Open
function createCategory($cid = 0)
{
// require_once dirname(__DIR__) . '/class/xoopstube_lists.php';
// require_once XOOPS_ROOT_PATH . '/class/xoopsformloader.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 $banner_array is not named in camelCase. Open
function createCategory($cid = 0)
{
// require_once dirname(__DIR__) . '/class/xoopstube_lists.php';
// require_once XOOPS_ROOT_PATH . '/class/xoopsformloader.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 $xcodes_checkbox is not named in camelCase. Open
function createCategory($cid = 0)
{
// require_once dirname(__DIR__) . '/class/xoopstube_lists.php';
// require_once XOOPS_ROOT_PATH . '/class/xoopsformloader.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 $client_array is not named in camelCase. Open
function createCategory($cid = 0)
{
// require_once dirname(__DIR__) . '/class/xoopstube_lists.php';
// require_once XOOPS_ROOT_PATH . '/class/xoopsformloader.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 $client_select is not named in camelCase. Open
function createCategory($cid = 0)
{
// require_once dirname(__DIR__) . '/class/xoopstube_lists.php';
// require_once XOOPS_ROOT_PATH . '/class/xoopsformloader.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 $banner_select is not named in camelCase. Open
function createCategory($cid = 0)
{
// require_once dirname(__DIR__) . '/class/xoopstube_lists.php';
// require_once XOOPS_ROOT_PATH . '/class/xoopsformloader.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 $banner_array is not named in camelCase. Open
function createCategory($cid = 0)
{
// require_once dirname(__DIR__) . '/class/xoopstube_lists.php';
// require_once XOOPS_ROOT_PATH . '/class/xoopsformloader.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 $smiley_checkbox is not named in camelCase. Open
function createCategory($cid = 0)
{
// require_once dirname(__DIR__) . '/class/xoopstube_lists.php';
// require_once XOOPS_ROOT_PATH . '/class/xoopsformloader.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 $options_tray is not named in camelCase. Open
function createCategory($cid = 0)
{
// require_once dirname(__DIR__) . '/class/xoopstube_lists.php';
// require_once XOOPS_ROOT_PATH . '/class/xoopsformloader.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 $noimages_checkbox is not named in camelCase. Open
function createCategory($cid = 0)
{
// require_once dirname(__DIR__) . '/class/xoopstube_lists.php';
// require_once XOOPS_ROOT_PATH . '/class/xoopsformloader.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();
}
}