The method sort_table_config() has an NPath complexity of 208980. The configured NPath complexity threshold is 200. Open
public static function sort_table_config(
$data,
$column = 0,
$direction = SORT_ASC,
$column_show = null,
- 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 method sort_table_config uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
if (!empty($docs_to_sort)) {
api_natrsort($docs_to_sort);
}
if (!empty($folder_to_sort)) {
- 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 sort_table_config uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
$type = SORT_STRING;
}
- 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 is_date_column uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
$is_date &= false;
}
- 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 sort_table_config uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
$function = self::getSortFunction($type, $direction, $column);
// Sort the content
usort($data, $function);
- 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 sort_table_config uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
$folder_to_sort[$document['id']] = api_strtolower($document['name']);
}
- 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 '$index'. Open
foreach ($data as $index => &$row) {
- 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 '$index'. Open
foreach ($data as $index => &$row) {
- 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 '$index'. Open
foreach ($data as $index => &$row) {
- 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
The parameter $doc_filter is not named in camelCase. Open
public static function sort_table_config(
$data,
$column = 0,
$direction = SORT_ASC,
$column_show = null,
- Read upRead up
- Exclude checks
CamelCaseParameterName
Since: 0.2
It is considered best practice to use the camelCase notation to name parameters.
Example
class ClassName {
public function doSomething($user_name) {
}
}
Source
The parameter $column_show is not named in camelCase. Open
public static function sort_table_config(
$data,
$column = 0,
$direction = SORT_ASC,
$column_show = null,
- Read upRead up
- Exclude checks
CamelCaseParameterName
Since: 0.2
It is considered best practice to use the camelCase notation to name parameters.
Example
class ClassName {
public function doSomething($user_name) {
}
}
Source
The parameter $column_order is not named in camelCase. Open
public static function sort_table_config(
$data,
$column = 0,
$direction = SORT_ASC,
$column_show = null,
- Read upRead up
- Exclude checks
CamelCaseParameterName
Since: 0.2
It is considered best practice to use the camelCase notation to name parameters.
Example
class ClassName {
public function doSomething($user_name) {
}
}
Source
Missing parameter name Open
* @param $column
- Exclude checks
Method name "TableSort::sort_table_config" is not in camel caps format Open
public static function sort_table_config(
- Exclude checks
Variable "folder_to_sort" is not in valid camel caps format Open
foreach ($folder_to_sort as $id => $document) {
- Exclude checks
Variable "count_column_show" is not in valid camel caps format Open
$count_column_show = count($column_show);
- Exclude checks
Method name "TableSort::is_image_column" is not in camel caps format Open
private static function is_image_column(&$data, $column)
- Exclude checks
Variable "column_order" is not in valid camel caps format Open
if (is_array($column_order)) {
- Exclude checks
Variable "column_order" is not in valid camel caps format Open
$column = isset($column_order[$column]) ? $column_order[$column] : $column;
- Exclude checks
Variable "doc_filter" is not in valid camel caps format Open
if ($doc_filter && in_array($type, [SORT_STRING])) {
- Exclude checks
Variable "docs_to_sort" is not in valid camel caps format Open
if (!empty($docs_to_sort)) {
- Exclude checks
Variable "docs_to_sort" is not in valid camel caps format Open
foreach ($docs_to_sort as $id => $document) {
- Exclude checks
Variable "new_data" is not in valid camel caps format Open
if (isset($new_data[$id])) {
- Exclude checks
Variable "new_order_data" is not in valid camel caps format Open
$data = $new_order_data;
- Exclude checks
Variable "is_image" is not in valid camel caps format Open
if (!$is_image) {
- Exclude checks
Variable "new_data" is not in valid camel caps format Open
$new_data = [];
- Exclude checks
Variable "is_image" is not in valid camel caps format Open
$is_image = true;
- Exclude checks
Variable "is_image" is not in valid camel caps format Open
return $is_image;
- Exclude checks
Variable "folder_to_sort" is not in valid camel caps format Open
$folder_to_sort = [];
- Exclude checks
Variable "new_data_order" is not in valid camel caps format Open
$data = $new_data_order;
- Exclude checks
Variable "count_column_show" is not in valid camel caps format Open
for ($i = 0; $i < $count_column_show; $i++) {
- Exclude checks
Variable "column_show" is not in valid camel caps format Open
if ($column_show[$i]) {
- Exclude checks
Variable "check_date" is not in valid camel caps format Open
$check_date = strtotime(strip_tags($row[$column]));
- Exclude checks
Variable "is_date" is not in valid camel caps format Open
return $is_date;
- Exclude checks
Variable "column_show" is not in valid camel caps format Open
$column_show = null,
- Exclude checks
Variable "new_data_order" is not in valid camel caps format Open
$new_data_order = [];
- Exclude checks
Variable "check_date" is not in valid camel caps format Open
$is_date &= (-1 != $check_date && $check_date);
- Exclude checks
Variable "is_image" is not in valid camel caps format Open
$is_image &= 0 == strlen(trim(strip_tags($row[$column])));
- Exclude checks
Variable "folder_to_sort" is not in valid camel caps format Open
if (!empty($folder_to_sort)) {
- Exclude checks
Variable "docs_to_sort" is not in valid camel caps format Open
if (!empty($docs_to_sort)) {
- Exclude checks
Variable "new_data" is not in valid camel caps format Open
if (isset($new_data[$id])) {
- Exclude checks
Variable "new_data" is not in valid camel caps format Open
$new_data_order[] = $new_data[$id];
- Exclude checks
Variable "is_date" is not in valid camel caps format Open
$is_date = true;
- Exclude checks
Variable "is_date" is not in valid camel caps format Open
$is_date &= (-1 != $check_date && $check_date);
- Exclude checks
Variable "is_image" is not in valid camel caps format Open
$is_image &= strlen(trim(strip_tags($row[$column], '<img>'))) > 0;
- Exclude checks
Missing parameter name Open
* @param $direction
- Exclude checks
Variable "folder_to_sort" is not in valid camel caps format Open
$folder_to_sort[$document['id']] = api_strtolower($document['name']);
- Exclude checks
Variable "folder_to_sort" is not in valid camel caps format Open
if (!empty($folder_to_sort)) {
- Exclude checks
Variable "is_numeric" is not in valid camel caps format Open
$is_numeric = true;
- Exclude checks
Method name "TableSort::is_date_column" is not in camel caps format Open
private static function is_date_column(&$data, $column)
- Exclude checks
Variable "column_order" is not in valid camel caps format Open
$column_order = null,
- Exclude checks
Variable "count_data" is not in valid camel caps format Open
for ($j = 0; $j < $count_data; $j++) {
- Exclude checks
Variable "is_numeric" is not in valid camel caps format Open
return $is_numeric;
- Exclude checks
Variable "new_data" is not in valid camel caps format Open
$new_data[$document['id']] = $document;
- Exclude checks
Variable "folder_to_sort" is not in valid camel caps format Open
if (!empty($folder_to_sort)) {
- Exclude checks
Variable "folder_to_sort" is not in valid camel caps format Open
api_natsort($folder_to_sort);
- Exclude checks
Missing parameter name Open
* @param $type
- Exclude checks
Variable "docs_to_sort" is not in valid camel caps format Open
$docs_to_sort[$document['id']] = api_strtolower($document['name']);
- Exclude checks
Variable "column_show" is not in valid camel caps format Open
$count_column_show = count($column_show);
- Exclude checks
Method name "TableSort::is_numeric_column" is not in camel caps format Open
private static function is_numeric_column(&$data, $column)
- Exclude checks
Variable "column_order" is not in valid camel caps format Open
$column = isset($column_order[$column]) ? $column_order[$column] : $column;
- Exclude checks
Variable "new_data_order" is not in valid camel caps format Open
$new_data_order[] = $new_data[$id];
- Exclude checks
Variable "count_data" is not in valid camel caps format Open
$count_data = count($data);
- Exclude checks
Variable "is_numeric" is not in valid camel caps format Open
$is_numeric &= is_numeric(strip_tags($row[$column]));
- Exclude checks
Variable "check_date" is not in valid camel caps format Open
$is_date &= (-1 != $check_date && $check_date);
- Exclude checks
Variable "docs_to_sort" is not in valid camel caps format Open
api_natsort($docs_to_sort);
- Exclude checks
Variable "docs_to_sort" is not in valid camel caps format Open
api_natrsort($docs_to_sort);
- Exclude checks
Variable "new_data" is not in valid camel caps format Open
$new_data_order[] = $new_data[$id];
- Exclude checks
Variable "column_show" is not in valid camel caps format Open
if (is_array($column_show) && !empty($column_show)) {
- Exclude checks
Variable "is_date" is not in valid camel caps format Open
$is_date &= false;
- Exclude checks
Variable "docs_to_sort" is not in valid camel caps format Open
if (!empty($docs_to_sort)) {
- Exclude checks
Variable "is_date" is not in valid camel caps format Open
if (!$is_date) {
- Exclude checks
Method name "TableSort::sort_table" is not in camel caps format Open
public static function sort_table(
- Exclude checks
Variable "folder_to_sort" is not in valid camel caps format Open
api_natrsort($folder_to_sort);
- Exclude checks
Variable "column_show" is not in valid camel caps format Open
if (is_array($column_show) && !empty($column_show)) {
- Exclude checks
Variable "new_order_data" is not in valid camel caps format Open
$new_order_data = [];
- Exclude checks
Variable "new_order_data" is not in valid camel caps format Open
$new_order_data[$j][$k] = $data[$j][$i];
- Exclude checks
Variable "is_numeric" is not in valid camel caps format Open
if (!$is_numeric) {
- Exclude checks
Variable "doc_filter" is not in valid camel caps format Open
$doc_filter = false
- Exclude checks
Variable "new_data_order" is not in valid camel caps format Open
$new_data_order[] = $new_data[$id];
- Exclude checks
The variable $new_data is not named in camelCase. Open
public static function sort_table_config(
$data,
$column = 0,
$direction = SORT_ASC,
$column_show = null,
- 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 $column_show is not named in camelCase. Open
public static function sort_table_config(
$data,
$column = 0,
$direction = SORT_ASC,
$column_show = null,
- 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 $is_date is not named in camelCase. Open
private static function is_date_column(&$data, $column)
{
$is_date = true;
foreach ($data as $index => &$row) {
if (0 != strlen(strip_tags($row[$column]))) {
- 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 $new_data is not named in camelCase. Open
public static function sort_table_config(
$data,
$column = 0,
$direction = SORT_ASC,
$column_show = null,
- 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 $new_data is not named in camelCase. Open
public static function sort_table_config(
$data,
$column = 0,
$direction = SORT_ASC,
$column_show = null,
- 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 $new_data is not named in camelCase. Open
public static function sort_table_config(
$data,
$column = 0,
$direction = SORT_ASC,
$column_show = null,
- 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 $is_date is not named in camelCase. Open
private static function is_date_column(&$data, $column)
{
$is_date = true;
foreach ($data as $index => &$row) {
if (0 != strlen(strip_tags($row[$column]))) {
- 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 $doc_filter is not named in camelCase. Open
public static function sort_table_config(
$data,
$column = 0,
$direction = SORT_ASC,
$column_show = null,
- 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 $new_data is not named in camelCase. Open
public static function sort_table_config(
$data,
$column = 0,
$direction = SORT_ASC,
$column_show = null,
- 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 $docs_to_sort is not named in camelCase. Open
public static function sort_table_config(
$data,
$column = 0,
$direction = SORT_ASC,
$column_show = null,
- 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 $folder_to_sort is not named in camelCase. Open
public static function sort_table_config(
$data,
$column = 0,
$direction = SORT_ASC,
$column_show = null,
- 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 $new_order_data is not named in camelCase. Open
public static function sort_table_config(
$data,
$column = 0,
$direction = SORT_ASC,
$column_show = null,
- 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 $docs_to_sort is not named in camelCase. Open
public static function sort_table_config(
$data,
$column = 0,
$direction = SORT_ASC,
$column_show = null,
- 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 $new_data_order is not named in camelCase. Open
public static function sort_table_config(
$data,
$column = 0,
$direction = SORT_ASC,
$column_show = null,
- 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 $is_numeric is not named in camelCase. Open
private static function is_numeric_column(&$data, $column)
{
$is_numeric = true;
foreach ($data as $index => &$row) {
$is_numeric &= is_numeric(strip_tags($row[$column]));
- 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 $docs_to_sort is not named in camelCase. Open
public static function sort_table_config(
$data,
$column = 0,
$direction = SORT_ASC,
$column_show = null,
- 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 $folder_to_sort is not named in camelCase. Open
public static function sort_table_config(
$data,
$column = 0,
$direction = SORT_ASC,
$column_show = null,
- 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 $new_data_order is not named in camelCase. Open
public static function sort_table_config(
$data,
$column = 0,
$direction = SORT_ASC,
$column_show = null,
- 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 $new_data is not named in camelCase. Open
public static function sort_table_config(
$data,
$column = 0,
$direction = SORT_ASC,
$column_show = null,
- 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 $column_order is not named in camelCase. Open
public static function sort_table_config(
$data,
$column = 0,
$direction = SORT_ASC,
$column_show = null,
- 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 $folder_to_sort is not named in camelCase. Open
public static function sort_table_config(
$data,
$column = 0,
$direction = SORT_ASC,
$column_show = null,
- 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 $docs_to_sort is not named in camelCase. Open
public static function sort_table_config(
$data,
$column = 0,
$direction = SORT_ASC,
$column_show = null,
- 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 $check_date is not named in camelCase. Open
private static function is_date_column(&$data, $column)
{
$is_date = true;
foreach ($data as $index => &$row) {
if (0 != strlen(strip_tags($row[$column]))) {
- 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 $is_image is not named in camelCase. Open
private static function is_image_column(&$data, $column)
{
$is_image = true;
foreach ($data as $index => &$row) {
if (isset($row[$column])) {
- 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 $folder_to_sort is not named in camelCase. Open
public static function sort_table_config(
$data,
$column = 0,
$direction = SORT_ASC,
$column_show = null,
- 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 $count_column_show is not named in camelCase. Open
public static function sort_table_config(
$data,
$column = 0,
$direction = SORT_ASC,
$column_show = null,
- 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 $is_numeric is not named in camelCase. Open
private static function is_numeric_column(&$data, $column)
{
$is_numeric = true;
foreach ($data as $index => &$row) {
$is_numeric &= is_numeric(strip_tags($row[$column]));
- 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 $check_date is not named in camelCase. Open
private static function is_date_column(&$data, $column)
{
$is_date = true;
foreach ($data as $index => &$row) {
if (0 != strlen(strip_tags($row[$column]))) {
- 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 $is_image is not named in camelCase. Open
private static function is_image_column(&$data, $column)
{
$is_image = true;
foreach ($data as $index => &$row) {
if (isset($row[$column])) {
- 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 $column_order is not named in camelCase. Open
public static function sort_table_config(
$data,
$column = 0,
$direction = SORT_ASC,
$column_show = null,
- 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 $is_numeric is not named in camelCase. Open
private static function is_numeric_column(&$data, $column)
{
$is_numeric = true;
foreach ($data as $index => &$row) {
$is_numeric &= is_numeric(strip_tags($row[$column]));
- 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 $column_order is not named in camelCase. Open
public static function sort_table_config(
$data,
$column = 0,
$direction = SORT_ASC,
$column_show = null,
- 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 $count_data is not named in camelCase. Open
public static function sort_table_config(
$data,
$column = 0,
$direction = SORT_ASC,
$column_show = null,
- 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 $count_data is not named in camelCase. Open
public static function sort_table_config(
$data,
$column = 0,
$direction = SORT_ASC,
$column_show = null,
- 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 $is_date is not named in camelCase. Open
private static function is_date_column(&$data, $column)
{
$is_date = true;
foreach ($data as $index => &$row) {
if (0 != strlen(strip_tags($row[$column]))) {
- 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 $is_date is not named in camelCase. Open
private static function is_date_column(&$data, $column)
{
$is_date = true;
foreach ($data as $index => &$row) {
if (0 != strlen(strip_tags($row[$column]))) {
- 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 $folder_to_sort is not named in camelCase. Open
public static function sort_table_config(
$data,
$column = 0,
$direction = SORT_ASC,
$column_show = null,
- 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 $new_data_order is not named in camelCase. Open
public static function sort_table_config(
$data,
$column = 0,
$direction = SORT_ASC,
$column_show = null,
- 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 $new_order_data is not named in camelCase. Open
public static function sort_table_config(
$data,
$column = 0,
$direction = SORT_ASC,
$column_show = null,
- 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 $is_image is not named in camelCase. Open
private static function is_image_column(&$data, $column)
{
$is_image = true;
foreach ($data as $index => &$row) {
if (isset($row[$column])) {
- 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 $column_show is not named in camelCase. Open
public static function sort_table_config(
$data,
$column = 0,
$direction = SORT_ASC,
$column_show = null,
- 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 $count_column_show is not named in camelCase. Open
public static function sort_table_config(
$data,
$column = 0,
$direction = SORT_ASC,
$column_show = null,
- 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 $column_show is not named in camelCase. Open
public static function sort_table_config(
$data,
$column = 0,
$direction = SORT_ASC,
$column_show = null,
- 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 $is_image is not named in camelCase. Open
private static function is_image_column(&$data, $column)
{
$is_image = true;
foreach ($data as $index => &$row) {
if (isset($row[$column])) {
- 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 $folder_to_sort is not named in camelCase. Open
public static function sort_table_config(
$data,
$column = 0,
$direction = SORT_ASC,
$column_show = null,
- 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 $new_data_order is not named in camelCase. Open
public static function sort_table_config(
$data,
$column = 0,
$direction = SORT_ASC,
$column_show = null,
- 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 $is_date is not named in camelCase. Open
private static function is_date_column(&$data, $column)
{
$is_date = true;
foreach ($data as $index => &$row) {
if (0 != strlen(strip_tags($row[$column]))) {
- 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 $docs_to_sort is not named in camelCase. Open
public static function sort_table_config(
$data,
$column = 0,
$direction = SORT_ASC,
$column_show = null,
- 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 $docs_to_sort is not named in camelCase. Open
public static function sort_table_config(
$data,
$column = 0,
$direction = SORT_ASC,
$column_show = null,
- 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 $folder_to_sort is not named in camelCase. Open
public static function sort_table_config(
$data,
$column = 0,
$direction = SORT_ASC,
$column_show = null,
- 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 $is_numeric is not named in camelCase. Open
private static function is_numeric_column(&$data, $column)
{
$is_numeric = true;
foreach ($data as $index => &$row) {
$is_numeric &= is_numeric(strip_tags($row[$column]));
- 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 $check_date is not named in camelCase. Open
private static function is_date_column(&$data, $column)
{
$is_date = true;
foreach ($data as $index => &$row) {
if (0 != strlen(strip_tags($row[$column]))) {
- 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 $is_image is not named in camelCase. Open
private static function is_image_column(&$data, $column)
{
$is_image = true;
foreach ($data as $index => &$row) {
if (isset($row[$column])) {
- 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 $folder_to_sort is not named in camelCase. Open
public static function sort_table_config(
$data,
$column = 0,
$direction = SORT_ASC,
$column_show = null,
- 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 $docs_to_sort is not named in camelCase. Open
public static function sort_table_config(
$data,
$column = 0,
$direction = SORT_ASC,
$column_show = null,
- 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 $column_show is not named in camelCase. Open
public static function sort_table_config(
$data,
$column = 0,
$direction = SORT_ASC,
$column_show = null,
- 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 $new_order_data is not named in camelCase. Open
public static function sort_table_config(
$data,
$column = 0,
$direction = SORT_ASC,
$column_show = null,
- 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 method is_image_column is not named in camelCase. Open
private static function is_image_column(&$data, $column)
{
$is_image = true;
foreach ($data as $index => &$row) {
if (isset($row[$column])) {
- Read upRead up
- Exclude checks
CamelCaseMethodName
Since: 0.2
It is considered best practice to use the camelCase notation to name methods.
Example
class ClassName {
public function get_name() {
}
}
Source
The method is_date_column is not named in camelCase. Open
private static function is_date_column(&$data, $column)
{
$is_date = true;
foreach ($data as $index => &$row) {
if (0 != strlen(strip_tags($row[$column]))) {
- Read upRead up
- Exclude checks
CamelCaseMethodName
Since: 0.2
It is considered best practice to use the camelCase notation to name methods.
Example
class ClassName {
public function get_name() {
}
}
Source
The method sort_table is not named in camelCase. Open
public static function sort_table(
$data,
$column = 0,
$direction = SORT_ASC,
$type = SORT_REGULAR
- Read upRead up
- Exclude checks
CamelCaseMethodName
Since: 0.2
It is considered best practice to use the camelCase notation to name methods.
Example
class ClassName {
public function get_name() {
}
}
Source
The method sort_table_config is not named in camelCase. Open
public static function sort_table_config(
$data,
$column = 0,
$direction = SORT_ASC,
$column_show = null,
- Read upRead up
- Exclude checks
CamelCaseMethodName
Since: 0.2
It is considered best practice to use the camelCase notation to name methods.
Example
class ClassName {
public function get_name() {
}
}
Source
The method is_numeric_column is not named in camelCase. Open
private static function is_numeric_column(&$data, $column)
{
$is_numeric = true;
foreach ($data as $index => &$row) {
$is_numeric &= is_numeric(strip_tags($row[$column]));
- Read upRead up
- Exclude checks
CamelCaseMethodName
Since: 0.2
It is considered best practice to use the camelCase notation to name methods.
Example
class ClassName {
public function get_name() {
}
}