The method get_header_names() has an NPath complexity of 90720. The configured NPath complexity threshold is 200. Open
public function get_header_names($items_start = 0, $items_count = null, $show_detail = false)
{
$headers = [];
if (isset($this->params['show_official_code']) && $this->params['show_official_code']) {
$headers[] = get_lang('Code');
- 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 get_data() has an NPath complexity of 18133567488. The configured NPath complexity threshold is 200. Open
public function get_data(
$users_sorting = 0,
$users_start = 0,
$users_count = null,
$items_start = 0,
- 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 parseEvaluations() has an NPath complexity of 27652. The configured NPath complexity threshold is 200. Open
public function parseEvaluations(
$user_id,
$sum_categories_weight_array,
$items_count,
$items_start,
- 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
Missing class import via use statement (line '1070', column '36'). Open
$extraFieldValue = new ExtraFieldValue('user');
- 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 '1049', column '31'). Open
$extraField = new ExtraField('user');
- Read upRead up
- Exclude checks
MissingImport
Since: 2.7.0
Importing all external classes in a file through use statements makes them clearly visible.
Example
function make() {
return new \stdClass();
}
Source http://phpmd.org/rules/cleancode.html#MissingImport
The method get_data uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
$sum_categories_weight_array[$this->category->get_id()] = $this->category->get_weight();
}
- 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 get_header_names uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
$headers[] = get_lang('Last name');
$headers[] = get_lang('First 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
The method get_header_names uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
$main_cat = Category::load($parent_id, null, 0);
$main_weight = $main_cat[0]->get_weight();
}
- 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 get_header_names uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
if (api_is_western_name_order()) {
$headers[] = get_lang('First name');
$headers[] = get_lang('Last name');
} else {
- 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 get_header_names uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
if (!isset($this->params['only_total_category']) ||
(isset($this->params['only_total_category']) &&
false == $this->params['only_total_category'])
) {
- 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 get_header_names uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
$headers[] = '<span class="text-center">'.$mainHeader.'</span>';
}
- 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 get_data uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
$row[] = $user_id = $user[0];
}
- Read upRead up
- Exclude checks
ElseExpression
Since: 1.4.0
An if expression with an else branch is basically not necessary. You can rewrite the conditions in a way that the else clause is not necessary and the code becomes simpler to read. To achieve this, use early return statements, though you may need to split the code it several smaller methods. For very simple assignments you could also use the ternary operations.
Example
class Foo
{
public function bar($flag)
{
if ($flag) {
// one branch
} else {
// another branch
}
}
}
Source https://phpmd.org/rules/cleancode.html#elseexpression
The method get_data uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
$row[] = api_get_person_name($user[3], $user[2]);
}
- 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 get_data uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
if (api_is_western_name_order()) {
$row[] = $user[3]; //first name
$row[] = $user[2]; //last name
} else {
- 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 get_data uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
if ($export_to_pdf) {
if (api_is_western_name_order()) {
$row['firstname'] = $user[3];
$row['lastname'] = $user[2];
- 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 get_data uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
$average = array_sum($finalList) / count($finalList);
}
- 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 get_data uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
$row[] = $temp_score;
}
- 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 get_header_names uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
$headers[] = get_lang('Last Name and First 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
The method get_data uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
$row[] = $user[2]; //last name
$row[] = $user[3]; //first 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
The method get_data uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
$row['lastname'] = $user[2];
$row['firstname'] = $user[3];
}
- 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 get_data uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
$row[] = $temp_score.' ';
}
- 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 get_data uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
$main_cat = Category::load($parent_id, null, 0);
$main_weight = $main_cat[0]->get_weight();
}
- 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 get_data uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
$row[] = $user[4];
}
- 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 parseEvaluations uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
$row[] = '';
}
- 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 get_data uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
$defaultStyle = empty($style) ? SCORE_DIV_SIMPLE_WITH_CUSTOM_LETTERS : (int) $style;
$displayScore = $scoreDisplay->display_score($total_score, $defaultStyle);
if (!empty($model)) {
$displayScore = ExerciseLib::show_score($total_score[0], $total_score[1]);
- 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 get_data_to_graph2 uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
for ($count = 0; $count < count($this->evals_links); $count++) {
$item = $this->evals_links[$count];
$score = $item->calc_score($user[0]);
$score_final = null;
- 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 get_data uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
$row[] = $displayScore;
}
- 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 get_data uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
$row[] = $scoreDisplay->display_custom($total_score);
}
- 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 parseEvaluations uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
if (null !== $item_value) {
$item_value = $item_value * $item->get_weight();
}
}
- 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 parseEvaluations uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
$row[] = '';
}
- 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 parseEvaluations uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
$row[] = $temp_score;
}
- 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 parseEvaluations uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
if ($score) {
$item_value = $score[0] / $divide * $item->get_weight();
}
}
- 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 get_data uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
$row[] = $displayScore;
}
- 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 parseEvaluations uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
if (isset($score[0])) {
$row[] = $temp_score.' ';
} else {
$row[] = '';
- 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 parseEvaluations uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
$item_value = null;
}
- 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 get_data uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
// All evaluations
$result = $this->parseEvaluations(
$user_id,
$sum_categories_weight_array,
- Read upRead up
- Exclude checks
ElseExpression
Since: 1.4.0
An if expression with an else branch is basically not necessary. You can rewrite the conditions in a way that the else clause is not necessary and the code becomes simpler to read. To achieve this, use early return statements, though you may need to split the code it several smaller methods. For very simple assignments you could also use the ternary operations.
Example
class Foo
{
public function bar($flag)
{
if ($flag) {
// one branch
} else {
// another branch
}
}
}
Source https://phpmd.org/rules/cleancode.html#elseexpression
Avoid unused parameters such as '$show_detail'. Open
public function get_header_names($items_start = 0, $items_count = null, $show_detail = false)
- Read upRead up
- Exclude checks
UnusedFormalParameter
Since: 0.2
Avoid passing parameters to methods or constructors and then not using those parameters.
Example
class Foo
{
private function bar($howdy)
{
// $howdy is not used
}
}
Source https://phpmd.org/rules/unusedcode.html#unusedformalparameter
Avoid unused parameters such as '$ignore_score_color'. Open
$ignore_score_color = false,
- Read upRead up
- Exclude checks
UnusedFormalParameter
Since: 0.2
Avoid passing parameters to methods or constructors and then not using those parameters.
Example
class Foo
{
private function bar($howdy)
{
// $howdy is not used
}
}
Source https://phpmd.org/rules/unusedcode.html#unusedformalparameter
Avoid unused local variables such as '$sum_categories_weight_array'. Open
$sum_categories_weight_array = [];
- 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 '$defaultStyle'. Open
$defaultStyle = SCORE_DIV_SIMPLE_WITH_CUSTOM;
- 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 parameters such as '$session_id'. Open
public function getEvaluationSummaryResults($session_id = null)
- Read upRead up
- Exclude checks
UnusedFormalParameter
Since: 0.2
Avoid passing parameters to methods or constructors and then not using those parameters.
Example
class Foo
{
private function bar($howdy)
{
// $howdy is not used
}
}
Source https://phpmd.org/rules/unusedcode.html#unusedformalparameter
Avoid unused local variables such as '$item_value_total'. Open
$item_value_total = 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 '$complete_score'. Open
$complete_score = $scoreDisplay->display_score(
- 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 parameters such as '$sum_categories_weight_array'. Open
$sum_categories_weight_array,
- Read upRead up
- Exclude checks
UnusedFormalParameter
Since: 0.2
Avoid passing parameters to methods or constructors and then not using those parameters.
Example
class Foo
{
private function bar($howdy)
{
// $howdy is not used
}
}
Source https://phpmd.org/rules/unusedcode.html#unusedformalparameter
Avoid using count() function in for loops. Open
for ($count = 0; ($count < $items_count) && ($items_start + $count < count($this->evals_links)); $count++) {
/** @var AbstractLink $item */
$item = $this->evals_links[$count + $items_start];
$weight = round(100 * $item->get_weight() / $main_weight, 1);
$label = $item->get_name().' '.$weight.' % ';
- Read upRead up
- Exclude checks
CountInLoopExpression
Since: 2.7.0
Using count/sizeof in loops expressions is considered bad practice and is a potential source of many bugs, especially when the loop manipulates an array, as count happens on each iteration.
Example
class Foo {
public function bar()
{
$array = array();
for ($i = 0; count($array); $i++) {
// ...
}
}
}
Source https://phpmd.org/rules/design.html#countinloopexpression
Avoid using count() function in for loops. Open
for ($count = 0; ($count < $items_count) && ($items_start + $count < count($this->evals_links)); $count++) {
/** @var AbstractLink $item */
$item = $this->evals_links[$count + $items_start];
if ($mainCategoryId == $item->get_category_id() &&
!in_array($item->get_id(), $evaluationsAdded)
- Read upRead up
- Exclude checks
CountInLoopExpression
Since: 2.7.0
Using count/sizeof in loops expressions is considered bad practice and is a potential source of many bugs, especially when the loop manipulates an array, as count happens on each iteration.
Example
class Foo {
public function bar()
{
$array = array();
for ($i = 0; count($array); $i++) {
// ...
}
}
}
Source https://phpmd.org/rules/design.html#countinloopexpression
Avoid using count() function in for loops. Open
for ($count = 0; ($count < $items_count) && ($items_start + $count < count($this->evals_links)); $count++) {
$item = $this->evals_links[$count + $items_start];
$headers[] = $item->get_name();
}
- Read upRead up
- Exclude checks
CountInLoopExpression
Since: 2.7.0
Using count/sizeof in loops expressions is considered bad practice and is a potential source of many bugs, especially when the loop manipulates an array, as count happens on each iteration.
Example
class Foo {
public function bar()
{
$array = array();
for ($i = 0; count($array); $i++) {
// ...
}
}
}
Source https://phpmd.org/rules/design.html#countinloopexpression
Avoid using count() function in for loops. Open
for ($count = 0; $count < $items_count && ($items_start + $count < count($this->evals_links)); $count++) {
/** @var AbstractLink $item */
$item = $this->evals_links[$count + $items_start];
if (!empty($evaluationsAlreadyAdded)) {
- Read upRead up
- Exclude checks
CountInLoopExpression
Since: 2.7.0
Using count/sizeof in loops expressions is considered bad practice and is a potential source of many bugs, especially when the loop manipulates an array, as count happens on each iteration.
Example
class Foo {
public function bar()
{
$array = array();
for ($i = 0; count($array); $i++) {
// ...
}
}
}
Source https://phpmd.org/rules/design.html#countinloopexpression
Avoid using count() function in for loops. Open
for ($count = 0; $count < count($this->evals_links); $count++) {
$item = $this->evals_links[$count];
$score = $item->calc_score($user[0]);
$divide = (0 == ($score[1])) ? 1 : $score[1];
- Read upRead up
- Exclude checks
CountInLoopExpression
Since: 2.7.0
Using count/sizeof in loops expressions is considered bad practice and is a potential source of many bugs, especially when the loop manipulates an array, as count happens on each iteration.
Example
class Foo {
public function bar()
{
$array = array();
for ($i = 0; count($array); $i++) {
// ...
}
}
}
Source https://phpmd.org/rules/design.html#countinloopexpression
Avoid using count() function in for loops. Open
for ($count = 0; $count < count($this->evals_links); $count++) {
$item = $this->evals_links[$count];
$score = $item->calc_score($user[0]);
$porcent_score = isset($score[1]) && $score[1] > 0 ? ($score[0] * 100) / $score[1] : 0;
$row[$item->get_name()] = $porcent_score;
- Read upRead up
- Exclude checks
CountInLoopExpression
Since: 2.7.0
Using count/sizeof in loops expressions is considered bad practice and is a potential source of many bugs, especially when the loop manipulates an array, as count happens on each iteration.
Example
class Foo {
public function bar()
{
$array = array();
for ($i = 0; count($array); $i++) {
// ...
}
}
}
Source https://phpmd.org/rules/design.html#countinloopexpression
Avoid using count() function in for loops. Open
for ($count = 0; $count < count($this->evals_links); $count++) {
$item = $this->evals_links[$count];
$score = $item->calc_score($user[0]);
$score_final = null;
$displayScore = null;
- Read upRead up
- Exclude checks
CountInLoopExpression
Since: 2.7.0
Using count/sizeof in loops expressions is considered bad practice and is a potential source of many bugs, especially when the loop manipulates an array, as count happens on each iteration.
Example
class Foo {
public function bar()
{
$array = array();
for ($i = 0; count($array); $i++) {
// ...
}
}
}
Source https://phpmd.org/rules/design.html#countinloopexpression
The property $evals_links is not named in camelCase. Open
class FlatViewDataGenerator
{
// Sorting types constants
const FVDG_SORT_LASTNAME = 1;
const FVDG_SORT_FIRSTNAME = 2;
- Read upRead up
- Exclude checks
CamelCasePropertyName
Since: 0.2
It is considered best practice to use the camelCase notation to name attributes.
Example
class ClassName {
protected $property_name;
}
Source
The parameter $items_count is not named in camelCase. Open
public function get_header_names($items_start = 0, $items_count = null, $show_detail = false)
{
$headers = [];
if (isset($this->params['show_official_code']) && $this->params['show_official_code']) {
$headers[] = get_lang('Code');
- 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 $items_start is not named in camelCase. Open
public function get_header_names($items_start = 0, $items_count = null, $show_detail = false)
{
$headers = [];
if (isset($this->params['show_official_code']) && $this->params['show_official_code']) {
$headers[] = get_lang('Code');
- 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 $show_detail is not named in camelCase. Open
public function get_header_names($items_start = 0, $items_count = null, $show_detail = false)
{
$headers = [];
if (isset($this->params['show_official_code']) && $this->params['show_official_code']) {
$headers[] = get_lang('Code');
- 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 $users_sorting is not named in camelCase. Open
public function get_data(
$users_sorting = 0,
$users_start = 0,
$users_count = null,
$items_start = 0,
- 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 $users_count is not named in camelCase. Open
public function get_data(
$users_sorting = 0,
$users_start = 0,
$users_count = null,
$items_start = 0,
- 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 $items_start is not named in camelCase. Open
public function get_data(
$users_sorting = 0,
$users_start = 0,
$users_count = null,
$items_start = 0,
- 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 $show_all is not named in camelCase. Open
public function get_data(
$users_sorting = 0,
$users_start = 0,
$users_count = null,
$items_start = 0,
- 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 $items_count is not named in camelCase. Open
public function get_data(
$users_sorting = 0,
$users_start = 0,
$users_count = null,
$items_start = 0,
- 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 $ignore_score_color is not named in camelCase. Open
public function get_data(
$users_sorting = 0,
$users_start = 0,
$users_count = null,
$items_start = 0,
- 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 $users_start is not named in camelCase. Open
public function get_data(
$users_sorting = 0,
$users_start = 0,
$users_count = null,
$items_start = 0,
- 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 $items_start is not named in camelCase. Open
public function get_evaluation_items($items_start = 0, $items_count = null)
{
$headers = [];
if (!isset($items_count)) {
$items_count = count($this->evals_links) - $items_start;
- 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 $items_count is not named in camelCase. Open
public function get_evaluation_items($items_start = 0, $items_count = null)
{
$headers = [];
if (!isset($items_count)) {
$items_count = count($this->evals_links) - $items_start;
- 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 $session_id is not named in camelCase. Open
public function getEvaluationSummaryResults($session_id = null)
{
$usertable = [];
foreach ($this->users as $user) {
$usertable[] = $user;
- 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 $items_start is not named in camelCase. Open
public function parseEvaluations(
$user_id,
$sum_categories_weight_array,
$items_count,
$items_start,
- 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 $items_count is not named in camelCase. Open
public function parseEvaluations(
$user_id,
$sum_categories_weight_array,
$items_count,
$items_start,
- 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 $user_id is not named in camelCase. Open
public function parseEvaluations(
$user_id,
$sum_categories_weight_array,
$items_count,
$items_start,
- 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 $sum_categories_weight_array is not named in camelCase. Open
public function parseEvaluations(
$user_id,
$sum_categories_weight_array,
$items_count,
$items_start,
- 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 $show_all is not named in camelCase. Open
public function parseEvaluations(
$user_id,
$sum_categories_weight_array,
$items_count,
$items_start,
- 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
Expected 4 spaces after parameter type; 9 found Open
* @param ?array $params
- Exclude checks
Variable "sub_cat" is not in valid camel caps format Open
$sub_cat_weight = round(100 * $sub_cat->get_weight() / $main_weight, 1);
- Exclude checks
Variable "users_sorting" is not in valid camel caps format Open
} elseif ($users_sorting & self::FVDG_SORT_FIRSTNAME) {
- Exclude checks
Variable "parent_id" is not in valid camel caps format Open
$parent_id = $this->category->get_parent_id();
- Exclude checks
Variable "export_to_pdf" is not in valid camel caps format Open
if ($export_to_pdf) {
- Exclude checks
Variable "user_id" is not in valid camel caps format Open
$row['user_id'] = $user_id = $user[0];
- Exclude checks
Variable "temp_score" is not in valid camel caps format Open
$temp_score = Display::tip($real_score, $temp_score);
- Exclude checks
Variable "items_count" is not in valid camel caps format Open
$items_count,
- Exclude checks
Variable "item_total" is not in valid camel caps format Open
$item_total = $main_weight;
- Exclude checks
Variable "user_id" is not in valid camel caps format Open
$user_id,
- Exclude checks
Variable "total_score" is not in valid camel caps format Open
$displayScore = $scoreDisplay->display_score($total_score, $defaultStyle);
- Exclude checks
Variable "total_score" is not in valid camel caps format Open
$displayScore = ExerciseLib::show_score($total_score[0], $total_score[1]);
- Exclude checks
Variable "real_score" is not in valid camel caps format Open
$real_score = $score;
- Exclude checks
Variable "item_total" is not in valid camel caps format Open
$item_total = 0;
- Exclude checks
Expected 4 spaces after parameter type; 9 found Open
* @param ?array $evals
- Exclude checks
Method name "FlatViewDataGenerator::get_total_users_count" is not in camel caps format Open
public function get_total_users_count()
- Exclude checks
Variable "parent_id" is not in valid camel caps format Open
if (0 == $parent_id && !empty($allcat)) {
- Exclude checks
Variable "items_count" is not in valid camel caps format Open
for ($count = 0; ($count < $items_count) && ($items_start + $count < count($this->evals_links)); $count++) {
- Exclude checks
Variable "items_count" is not in valid camel caps format Open
if (!isset($items_count)) {
- Exclude checks
Variable "users_start" is not in valid camel caps format Open
$users_count = count($this->users) - $users_start;
- Exclude checks
Variable "main_weight" is not in valid camel caps format Open
$main_weight = $this->category->get_weight();
- Exclude checks
Variable "export_to_pdf" is not in valid camel caps format Open
if ($export_to_pdf) {
- Exclude checks
Variable "item_value" is not in valid camel caps format Open
$item_value = $percentage * $item_value;
- Exclude checks
Variable "items_count" is not in valid camel caps format Open
$items_count,
- Exclude checks
Variable "item_total" is not in valid camel caps format Open
$total_score = [$item_value_total, $item_total];
- Exclude checks
Variable "export_to_pdf" is not in valid camel caps format Open
if ($export_to_pdf) {
- Exclude checks
Variable "total_score" is not in valid camel caps format Open
$row['display_custom'] = $scoreDisplay->display_custom($total_score);
- Exclude checks
Variable "item_value" is not in valid camel caps format Open
if (null !== $item_value) {
- Exclude checks
Variable "real_score" is not in valid camel caps format Open
$real_score,
- Exclude checks
Variable "temp_score" is not in valid camel caps format Open
$temp_score = Display::tip($real_score, $temp_score);
- Exclude checks
Variable "evals_links" is not in valid camel caps format Open
$item = $this->evals_links[$count];
- Exclude checks
Variable "data_by_item" is not in valid camel caps format Open
foreach ($data_by_item as $k => $v) {
- Exclude checks
Variable "evals_links" is not in valid camel caps format Open
for ($count = 0; $count < count($this->evals_links); $count++) {
- Exclude checks
Variable "item_value" is not in valid camel caps format Open
$score_final = ($item_value / $item_total) * 100;
- Exclude checks
Variable "evals_links" is not in valid camel caps format Open
return count($this->evals_links);
- Exclude checks
Variable "sub_cat" is not in valid camel caps format Open
$links = $sub_cat->get_links();
- Exclude checks
Method name "FlatViewDataGenerator::get_evaluation_items" is not in camel caps format Open
public function get_evaluation_items($items_start = 0, $items_count = null)
- Exclude checks
Variable "evals_links" is not in valid camel caps format Open
for ($count = 0; ($count < $items_count) && ($items_start + $count < count($this->evals_links)); $count++) {
- Exclude checks
Variable "items_start" is not in valid camel caps format Open
$items_start = 0,
- Exclude checks
Variable "users_sorting" is not in valid camel caps format Open
if ($users_sorting & self::FVDG_SORT_LASTNAME) {
- Exclude checks
Variable "sum_categories_weight_array" is not in valid camel caps format Open
$sum_categories_weight_array = [];
- Exclude checks
Variable "export_to_pdf" is not in valid camel caps format Open
$export_to_pdf = true;
- Exclude checks
Variable "session_id" is not in valid camel caps format Open
$session_id,
- Exclude checks
Variable "sub_cat" is not in valid camel caps format Open
$item_total += $sub_cat->get_weight();
- Exclude checks
Variable "item_value_total" is not in valid camel caps format Open
$item_value_total += $item_value;
- Exclude checks
Variable "show_all" is not in valid camel caps format Open
$show_all,
- Exclude checks
Variable "item_value" is not in valid camel caps format Open
$item_value = $score[0] / $divide * $item->get_weight();
- Exclude checks
Variable "item_value" is not in valid camel caps format Open
[$item_value, null],
- Exclude checks
Variable "evals_links" is not in valid camel caps format Open
for ($count = 0; $count < count($this->evals_links); $count++) {
- Exclude checks
Variable "data_by_item" is not in valid camel caps format Open
$data_by_item[$item][$uid] = $value;
- Exclude checks
Variable "main_weight" is not in valid camel caps format Open
$main_weight = $this->category->get_weight();
- Exclude checks
Variable "main_weight" is not in valid camel caps format Open
$sub_cat_weight = round(100 * $sub_cat->get_weight() / $main_weight, 1);
- Exclude checks
Variable "sub_cat" is not in valid camel caps format Open
$sub_cat->get_name(),
- Exclude checks
Variable "add_weight" is not in valid camel caps format Open
).$add_weight;
- Exclude checks
Variable "evals_links" is not in valid camel caps format Open
$item = $this->evals_links[$count + $items_start];
- Exclude checks
Variable "evals_links" is not in valid camel caps format Open
$items_count = count($this->evals_links) - $items_start;
- Exclude checks
Variable "items_start" is not in valid camel caps format Open
for ($count = 0; ($count < $items_count) && ($items_start + $count < count($this->evals_links)); $count++) {
- Exclude checks
Variable "users_count" is not in valid camel caps format Open
$selected_users = array_slice($userTable, $users_start, $users_count);
- Exclude checks
Variable "export_to_pdf" is not in valid camel caps format Open
if ($export_to_pdf) {
- Exclude checks
Variable "sub_cat" is not in valid camel caps format Open
$evaluations = $sub_cat->get_evaluations();
- Exclude checks
Variable "sum_categories_weight_array" is not in valid camel caps format Open
$sub_cat_percentage = $sum_categories_weight_array[$sub_cat->get_id()];
- Exclude checks
Variable "sub_cat_percentage" is not in valid camel caps format Open
$percentage = $sub_cat->get_weight() / ($sub_cat_percentage) * $sub_cat_percentage / $this->category->get_weight();
- Exclude checks
Variable "show_all" is not in valid camel caps format Open
$show_all,
- Exclude checks
Variable "total_score" is not in valid camel caps format Open
$displayScore = ExerciseLib::show_score($total_score[0], $total_score[1]);
- Exclude checks
Variable "temp_score" is not in valid camel caps format Open
$temp_score = $scoreToShow;
- Exclude checks
Variable "session_id" is not in valid camel caps format Open
public function getEvaluationSummaryResults($session_id = null)
- Exclude checks
Variable "evals_links" is not in valid camel caps format Open
$item = $this->evals_links[$count];
- Exclude checks
Variable "item_value" is not in valid camel caps format Open
$item_value += $score[0] / $divide * $item->get_weight();
- Exclude checks
Variable "score_denom" is not in valid camel caps format Open
$score_final = ($score[0] / $score_denom) * 100;
- Exclude checks
Variable "item_total" is not in valid camel caps format Open
$score_final = ($item_value / $item_total) * 100;
- Exclude checks
Variable "evals_links" is not in valid camel caps format Open
for ($count = 0; ($count < $items_count) && ($items_start + $count < count($this->evals_links)); $count++) {
- Exclude checks
Variable "evals_links" is not in valid camel caps format Open
for ($count = 0; ($count < $items_count) && ($items_start + $count < count($this->evals_links)); $count++) {
- Exclude checks
Variable "items_start" is not in valid camel caps format Open
$item = $this->evals_links[$count + $items_start];
- Exclude checks
Variable "ignore_score_color" is not in valid camel caps format Open
$ignore_score_color = false,
- Exclude checks
Variable "show_all" is not in valid camel caps format Open
$show_all = false
- Exclude checks
Variable "items_count" is not in valid camel caps format Open
if (!isset($items_count)) {
- Exclude checks
Variable "main_cat" is not in valid camel caps format Open
$main_cat = Category::load($parent_id, null, 0);
- Exclude checks
Variable "main_weight" is not in valid camel caps format Open
$main_weight = $main_cat[0]->get_weight();
- Exclude checks
Variable "item_value_total" is not in valid camel caps format Open
$item_value_total = 0;
- Exclude checks
Variable "user_id" is not in valid camel caps format Open
$score = $sub_cat->calc_score($user_id);
- Exclude checks
Variable "sum_categories_weight_array" is not in valid camel caps format Open
$sum_categories_weight_array,
- Exclude checks
Variable "show_detail" is not in valid camel caps format Open
public function get_header_names($items_start = 0, $items_count = null, $show_detail = false)
- Exclude checks
Variable "user_id" is not in valid camel caps format Open
$user_id,
- Exclude checks
Variable "sub_cat_weight" is not in valid camel caps format Open
$add_weight = " $sub_cat_weight %";
- Exclude checks
Variable "items_count" is not in valid camel caps format Open
for ($count = 0; $count < $items_count && ($items_start + $count < count($this->evals_links)); $count++) {
- Exclude checks
Variable "evals_links" is not in valid camel caps format Open
$item = $this->evals_links[$count + $items_start];
- Exclude checks
Variable "items_count" is not in valid camel caps format Open
$items_count = null,
- Exclude checks
Variable "temp_score" is not in valid camel caps format Open
$row[] = $temp_score.' ';
- Exclude checks
Variable "sub_cat" is not in valid camel caps format Open
$links = $sub_cat->get_links();
- Exclude checks
Variable "selected_users" is not in valid camel caps format Open
foreach ($selected_users as $user) {
- Exclude checks
Variable "sub_cat" is not in valid camel caps format Open
$percentage = $sub_cat->get_weight() / ($sub_cat_percentage) * $sub_cat_percentage / $this->category->get_weight();
- Exclude checks
Variable "score_denom" is not in valid camel caps format Open
$score_denom = (0 == $score[1]) ? 1 : $score[1];
- Exclude checks
Variable "sub_cat_percentage" is not in valid camel caps format Open
$percentage = $sub_cat->get_weight() / ($sub_cat_percentage) * $sub_cat_percentage / $this->category->get_weight();
- Exclude checks
Variable "item_value_total" is not in valid camel caps format Open
$item_value_total = 0;
- Exclude checks
Variable "evals_links" is not in valid camel caps format Open
for ($count = 0; $count < $items_count && ($items_start + $count < count($this->evals_links)); $count++) {
- Exclude checks
Variable "user_id" is not in valid camel caps format Open
$score = $item->calc_score($user_id);
- Exclude checks
Variable "item_value" is not in valid camel caps format Open
$item_value = isset($score[0]) ? $score[0] / $divide : null;
- Exclude checks
Variable "item_value" is not in valid camel caps format Open
$item_value_total += $item_value;
- Exclude checks
Variable "item_value_total" is not in valid camel caps format Open
'item_value_total' => $item_value_total,
- Exclude checks
Method name "FlatViewDataGenerator::get_data_to_graph" is not in camel caps format Open
public function get_data_to_graph()
- Exclude checks
Variable "score_final" is not in valid camel caps format Open
$row[] = $score_final;
- Exclude checks
Method name "FlatViewDataGenerator::get_data_to_graph2" is not in camel caps format Open
public function get_data_to_graph2($displayWarning = true)
- Exclude checks
Variable "sum_categories_weight_array" is not in valid camel caps format Open
$sum_categories_weight_array = [];
- Exclude checks
Variable "items_count" is not in valid camel caps format Open
for ($count = 0; ($count < $items_count) && ($items_start + $count < count($this->evals_links)); $count++) {
- Exclude checks
Variable "items_start" is not in valid camel caps format Open
public function get_evaluation_items($items_start = 0, $items_count = null)
- Exclude checks
Variable "items_count" is not in valid camel caps format Open
public function get_evaluation_items($items_start = 0, $items_count = null)
- Exclude checks
Variable "item_value" is not in valid camel caps format Open
$item_value = $score[0] / $divide * $main_weight;
- Exclude checks
Variable "temp_score" is not in valid camel caps format Open
$temp_score = Display::tip($real_score, $temp_score);
- Exclude checks
Variable "show_all" is not in valid camel caps format Open
if (!$show_all) {
- Exclude checks
Variable "item_value" is not in valid camel caps format Open
$item_value_total += $item_value;
- Exclude checks
Variable "item_total" is not in valid camel caps format Open
$item_total += $item->get_weight();
- Exclude checks
Variable "selected_users" is not in valid camel caps format Open
$selected_users = $usertable;
- Exclude checks
Variable "items_count" is not in valid camel caps format Open
public function get_header_names($items_start = 0, $items_count = null, $show_detail = false)
- Exclude checks
Variable "items_start" is not in valid camel caps format Open
for ($count = 0; ($count < $items_count) && ($items_start + $count < count($this->evals_links)); $count++) {
- Exclude checks
Variable "selected_users" is not in valid camel caps format Open
$selected_users = array_slice($userTable, $users_start, $users_count);
- Exclude checks
Variable "sub_cat" is not in valid camel caps format Open
foreach ($allcat as $sub_cat) {
- Exclude checks
Variable "real_score" is not in valid camel caps format Open
$temp_score = Display::tip($real_score, $temp_score);
- Exclude checks
Variable "sum_categories_weight_array" is not in valid camel caps format Open
$sum_categories_weight_array,
- Exclude checks
Variable "real_score" is not in valid camel caps format Open
$temp_score = Display::tip($real_score, $temp_score);
- Exclude checks
Variable "score_final" is not in valid camel caps format Open
$score_final = ($score[0] / $score_denom) * 100;
- Exclude checks
Variable "score_final" is not in valid camel caps format Open
$score_final = ($item_value / $item_total) * 100;
- Exclude checks
Variable "evals_links" is not in valid camel caps format Open
$this->evals_links = array_merge($this->evals, $this->links);
- Exclude checks
Variable "sub_cat" is not in valid camel caps format Open
api_get_self().'?selectcat='.$sub_cat->get_id().'&'.api_get_cidreq()
- Exclude checks
Variable "users_count" is not in valid camel caps format Open
$users_count = null,
- Exclude checks
Variable "users_sorting" is not in valid camel caps format Open
if ($users_sorting & self::FVDG_SORT_DESC) {
- Exclude checks
Variable "user_id" is not in valid camel caps format Open
$row[] = $user_id = $user[0];
- Exclude checks
Variable "item_total" is not in valid camel caps format Open
$item_total = 0;
- Exclude checks
Variable "user_id" is not in valid camel caps format Open
$evalScore = $evaluation->calc_score($user_id);
- Exclude checks
Variable "total_score" is not in valid camel caps format Open
$total_score = [$item_value_total, $item_total];
- Exclude checks
Variable "selected_users" is not in valid camel caps format Open
foreach ($selected_users as $user) {
- Exclude checks
Variable "parent_id" is not in valid camel caps format Open
$parent_id = $this->category->get_parent_id();
- Exclude checks
Variable "evals_links" is not in valid camel caps format Open
$item = $this->evals_links[$id];
- Exclude checks
Variable "items_start" is not in valid camel caps format Open
$items_count = count($this->evals_links) - $items_start;
- Exclude checks
Variable "users_count" is not in valid camel caps format Open
if ($users_count < 0) {
- Exclude checks
Variable "items_count" is not in valid camel caps format Open
$items_count = count($this->evals) + count($this->links) - $items_start;
- Exclude checks
Variable "sum_categories_weight_array" is not in valid camel caps format Open
$sum_categories_weight_array[$category->get_id()] = $category->get_weight();
- Exclude checks
Variable "export_to_pdf" is not in valid camel caps format Open
$export_to_pdf = false;
- Exclude checks
Variable "item_total" is not in valid camel caps format Open
$item_total += $result['item_total'];
- Exclude checks
Variable "show_all" is not in valid camel caps format Open
if (!$show_all) {
- Exclude checks
Variable "export_to_pdf" is not in valid camel caps format Open
if ($export_to_pdf) {
- Exclude checks
Doc comment for parameter $parentCategoryIdFilter does not match actual variable name $row Open
* @param int $parentCategoryIdFilter filter by category id if set
- Exclude checks
Variable "items_count" is not in valid camel caps format Open
$items_count,
- Exclude checks
Variable "temp_score" is not in valid camel caps format Open
$row[] = $temp_score.' ';
- Exclude checks
Variable "item_total" is not in valid camel caps format Open
'item_total' => $item_total,
- Exclude checks
Variable "porcent_score" is not in valid camel caps format Open
$porcent_score = isset($score[1]) && $score[1] > 0 ? ($score[0] * 100) / $score[1] : 0;
- Exclude checks
Variable "selected_users" is not in valid camel caps format Open
$selected_users = $usertable;
- Exclude checks
Variable "selected_users" is not in valid camel caps format Open
foreach ($selected_users as $user) {
- Exclude checks
Variable "selected_users" is not in valid camel caps format Open
$selected_users = $usertable;
- Exclude checks
Expected 4 spaces after parameter type; 9 found Open
* @param ?array $links
- Exclude checks
Method name "FlatViewDataGenerator::get_total_items_count" is not in camel caps format Open
public function get_total_items_count()
- Exclude checks
Variable "items_count" is not in valid camel caps format Open
$items_count = count($this->evals_links) - $items_start;
- Exclude checks
Variable "parent_id" is not in valid camel caps format Open
if (0 == $parent_id ||
- Exclude checks
Variable "main_weight" is not in valid camel caps format Open
$main_weight = $main_cat[0]->get_weight();
- Exclude checks
Variable "users_sorting" is not in valid camel caps format Open
$users_sorting = 0,
- Exclude checks
Variable "items_count" is not in valid camel caps format Open
if ($items_count < 0) {
- Exclude checks
Variable "items_count" is not in valid camel caps format Open
$items_count = 0;
- Exclude checks
Variable "parent_id" is not in valid camel caps format Open
if (0 == $parent_id && !empty($allcat)) {
- Exclude checks
Variable "real_score" is not in valid camel caps format Open
$real_score = $scoreDisplay->display_score(
- Exclude checks
Variable "export_to_pdf" is not in valid camel caps format Open
if ($export_to_pdf) {
- Exclude checks
Variable "total_score" is not in valid camel caps format Open
$displayScore = $scoreDisplay->display_score($total_score, $defaultStyle);
- Exclude checks
Variable "item_total" is not in valid camel caps format Open
$item_total = 0;
- Exclude checks
Variable "evals_links" is not in valid camel caps format Open
$item = $this->evals_links[$count + $items_start];
- Exclude checks
Variable "temp_score" is not in valid camel caps format Open
$temp_score = Display::tip($real_score, $temp_score);
- Exclude checks
Variable "temp_score" is not in valid camel caps format Open
$row[] = $temp_score;
- Exclude checks
Variable "data_by_item" is not in valid camel caps format Open
$data_by_item = [];
- Exclude checks
Variable "score_final" is not in valid camel caps format Open
$row[] = $score_final;
- Exclude checks
Variable "item_value" is not in valid camel caps format Open
$item_value = 0;
- Exclude checks
Expected 4 spaces after parameter type; 9 found Open
* @param ?array $users
- Exclude checks
Variable "main_cat" is not in valid camel caps format Open
$main_cat = Category::load($parent_id, null, 0);
- Exclude checks
Variable "parent_id" is not in valid camel caps format Open
$main_cat = Category::load($parent_id, null, 0);
- Exclude checks
Variable "session_id" is not in valid camel caps format Open
$session_id,
- Exclude checks
Variable "sub_cat" is not in valid camel caps format Open
$evaluations = $sub_cat->get_evaluations();
- Exclude checks
Variable "items_start" is not in valid camel caps format Open
for ($count = 0; ($count < $items_count) && ($items_start + $count < count($this->evals_links)); $count++) {
- Exclude checks
Variable "main_weight" is not in valid camel caps format Open
$weight = round(100 * $item->get_weight() / $main_weight, 1);
- Exclude checks
Variable "items_count" is not in valid camel caps format Open
$items_count = count($this->evals_links) - $items_start;
- Exclude checks
Variable "users_count" is not in valid camel caps format Open
$users_count = 0;
- Exclude checks
Variable "sum_categories_weight_array" is not in valid camel caps format Open
$sum_categories_weight_array[$this->category->get_id()] = $this->category->get_weight();
- Exclude checks
Variable "sub_cat" is not in valid camel caps format Open
$score = $sub_cat->calc_score($user_id);
- Exclude checks
Variable "sub_cat" is not in valid camel caps format Open
$sub_cat_percentage = $sum_categories_weight_array[$sub_cat->get_id()];
- Exclude checks
Variable "temp_score" is not in valid camel caps format Open
$row[] = $temp_score.' ';
- Exclude checks
Variable "items_start" is not in valid camel caps format Open
$items_start,
- Exclude checks
Variable "total_score" is not in valid camel caps format Open
$row[] = $scoreDisplay->display_custom($total_score);
- Exclude checks
Variable "items_start" is not in valid camel caps format Open
for ($count = 0; $count < $items_count && ($items_start + $count < count($this->evals_links)); $count++) {
- Exclude checks
Variable "show_all" is not in valid camel caps format Open
if (!$show_all) {
- Exclude checks
Variable "items_count" is not in valid camel caps format Open
if (!isset($items_count)) {
- Exclude checks
Variable "items_start" is not in valid camel caps format Open
$items_count = count($this->evals_links) - $items_start;
- Exclude checks
Variable "add_weight" is not in valid camel caps format Open
$add_weight = " $sub_cat_weight %";
- Exclude checks
Variable "items_count" is not in valid camel caps format Open
for ($count = 0; ($count < $items_count) && ($items_start + $count < count($this->evals_links)); $count++) {
- Exclude checks
Variable "users_start" is not in valid camel caps format Open
$users_start = 0,
- Exclude checks
Variable "items_start" is not in valid camel caps format Open
$items_count = count($this->evals) + count($this->links) - $items_start;
- Exclude checks
Variable "users_start" is not in valid camel caps format Open
$selected_users = array_slice($userTable, $users_start, $users_count);
- Exclude checks
Variable "parent_id" is not in valid camel caps format Open
if (0 == $parent_id ||
- Exclude checks
Variable "items_start" is not in valid camel caps format Open
public function get_header_names($items_start = 0, $items_count = null, $show_detail = false)
- Exclude checks
Variable "main_cat" is not in valid camel caps format Open
$main_weight = $main_cat[0]->get_weight();
- Exclude checks
Variable "evals_links" is not in valid camel caps format Open
$items_count = count($this->evals_links) - $items_start;
- Exclude checks
Variable "export_to_pdf" is not in valid camel caps format Open
if ($export_to_pdf) {
- Exclude checks
Variable "main_cat" is not in valid camel caps format Open
$main_weight = $main_cat[0]->get_weight();
- Exclude checks
Variable "sub_cat_percentage" is not in valid camel caps format Open
$sub_cat_percentage = $sum_categories_weight_array[$sub_cat->get_id()];
- Exclude checks
Variable "sub_cat_weight" is not in valid camel caps format Open
$sub_cat_weight = round(100 * $sub_cat->get_weight() / $main_weight, 1);
- Exclude checks
Variable "item_value_total" is not in valid camel caps format Open
$item_value_total += $result['item_value_total'];
- Exclude checks
Variable "items_start" is not in valid camel caps format Open
$item = $this->evals_links[$count + $items_start];
- Exclude checks
Variable "items_start" is not in valid camel caps format Open
$item = $this->evals_links[$count + $items_start];
- Exclude checks
Variable "complete_score" is not in valid camel caps format Open
$complete_score = $scoreDisplay->display_score(
- Exclude checks
Variable "main_weight" is not in valid camel caps format Open
$weight = round(100 * $item->get_weight() / $main_weight, 1);
- Exclude checks
Variable "temp_score" is not in valid camel caps format Open
$temp_score = $scoreDisplay->display_score(
- Exclude checks
Variable "porcent_score" is not in valid camel caps format Open
$row[$item->get_name()] = $porcent_score;
- Exclude checks
Variable "items_start" is not in valid camel caps format Open
$item = $this->evals_links[$count + $items_start];
- Exclude checks
Variable "item_total" is not in valid camel caps format Open
$item_total += $item->get_weight();
- Exclude checks
Method name "FlatViewDataGenerator::get_max_result_by_link" is not in camel caps format Open
public function get_max_result_by_link($id)
- Exclude checks
Variable "item_total" is not in valid camel caps format Open
$item_total = 0;
- Exclude checks
Variable "users_count" is not in valid camel caps format Open
if (!isset($users_count)) {
- Exclude checks
Variable "selected_users" is not in valid camel caps format Open
foreach ($selected_users as $user) {
- Exclude checks
Variable "user_id" is not in valid camel caps format Open
$linkScore = $link->calc_score($user_id);
- Exclude checks
Variable "main_weight" is not in valid camel caps format Open
$item_value = $score[0] / $divide * $main_weight;
- Exclude checks
Variable "item_value" is not in valid camel caps format Open
$item_value = $percentage * $item_value;
- Exclude checks
Variable "temp_score" is not in valid camel caps format Open
$row[] = $temp_score;
- Exclude checks
Variable "main_weight" is not in valid camel caps format Open
$item_total = $main_weight;
- Exclude checks
Variable "item_value" is not in valid camel caps format Open
$item_value = $score[0] / $divide * $item->get_weight();
- Exclude checks
Method name "FlatViewDataGenerator::get_header_names" is not in camel caps format Open
public function get_header_names($items_start = 0, $items_count = null, $show_detail = false)
- Exclude checks
Variable "session_id" is not in valid camel caps format Open
$session_id = api_get_session_id();
- Exclude checks
Variable "evals_links" is not in valid camel caps format Open
$item = $this->evals_links[$count + $items_start];
- Exclude checks
Method name "FlatViewDataGenerator::get_data" is not in camel caps format Open
public function get_data(
- Exclude checks
Variable "users_count" is not in valid camel caps format Open
$users_count = count($this->users) - $users_start;
- Exclude checks
Variable "parent_id" is not in valid camel caps format Open
$main_cat = Category::load($parent_id, null, 0);
- Exclude checks
Variable "item_total" is not in valid camel caps format Open
$item_total += $sub_cat->get_weight();
- Exclude checks
Variable "temp_score" is not in valid camel caps format Open
$temp_score = $scoreDisplay->display_score(
- Exclude checks
Variable "items_start" is not in valid camel caps format Open
$items_start,
- Exclude checks
Variable "item_value_total" is not in valid camel caps format Open
$total_score = [$item_value_total, $item_total];
- Exclude checks
Variable "total_score" is not in valid camel caps format Open
$displayScore = ExerciseLib::show_score($total_score[0], $total_score[1]);
- Exclude checks
Variable "sum_categories_weight_array" is not in valid camel caps format Open
$sum_categories_weight_array,
- Exclude checks
Variable "items_start" is not in valid camel caps format Open
$items_start,
- Exclude checks
Variable "item_value" is not in valid camel caps format Open
$item_value = $item_value * $item->get_weight();
- Exclude checks
Variable "item_value" is not in valid camel caps format Open
$item_value = 0;
- Exclude checks
Variable "session_id" is not in valid camel caps format Open
$session_id = api_get_session_id();
- Exclude checks
Variable "sub_cat" is not in valid camel caps format Open
foreach ($allcat as $sub_cat) {
- Exclude checks
Variable "session_id" is not in valid camel caps format Open
$session_id = api_get_session_id();
- Exclude checks
Variable "real_score" is not in valid camel caps format Open
$real_score = $score;
- Exclude checks
Variable "real_score" is not in valid camel caps format Open
$real_score,
- Exclude checks
Variable "user_id" is not in valid camel caps format Open
$user_id,
- Exclude checks
Variable "item_value_total" is not in valid camel caps format Open
$item_value_total += $result['item_value_total'];
- Exclude checks
Variable "show_all" is not in valid camel caps format Open
$show_all,
- Exclude checks
Variable "total_score" is not in valid camel caps format Open
$displayScore = ExerciseLib::show_score($total_score[0], $total_score[1]);
- Exclude checks
Variable "item_value" is not in valid camel caps format Open
$item_value = null;
- Exclude checks
Variable "item_value" is not in valid camel caps format Open
$item_value = $item_value * $item->get_weight();
- Exclude checks
Variable "real_score" is not in valid camel caps format Open
$real_score = $scoreDisplay->display_score(
- Exclude checks
Variable "item_value_total" is not in valid camel caps format Open
$item_value_total += $item_value;
- Exclude checks
Variable "session_id" is not in valid camel caps format Open
$session_id,
- Exclude checks
Variable "item_total" is not in valid camel caps format Open
$item_total += $item->get_weight();
- Exclude checks
Variable "item_total" is not in valid camel caps format Open
$score_final = ($item_value / $item_total) * 100;
- Exclude checks
Variable "item_value" is not in valid camel caps format Open
$item_value = $score[0] / $divide * $main_weight;
- Exclude checks
Variable "item_total" is not in valid camel caps format Open
$item_total += $sub_cat->get_weight();
- Exclude checks
Variable "score_final" is not in valid camel caps format Open
$score_final = null;
- Exclude checks
Variable "score_final" is not in valid camel caps format Open
$score_final = ($item_value / $item_total) * 100;
- Exclude checks
Variable "total_score" is not in valid camel caps format Open
$total_score,
- Exclude checks
Missing parameter name Open
* @param $item1
- Exclude checks
Variable "item_value_total" is not in valid camel caps format Open
$item_value_total = 0;
- Exclude checks
Variable "score_final" is not in valid camel caps format Open
$score_final = ($score[0] / $score_denom) * 100;
- Exclude checks
Variable "sub_cat" is not in valid camel caps format Open
$item_total += $sub_cat->get_weight();
- Exclude checks
Variable "item_total" is not in valid camel caps format Open
$total_score = [$final_score, $item_total];
- Exclude checks
Variable "final_score" is not in valid camel caps format Open
$final_score,
- Exclude checks
Variable "total_score" is not in valid camel caps format Open
$total_score,
- Exclude checks
Variable "total_score" is not in valid camel caps format Open
echo Display::return_message($total_score[1], 'warning');
- Exclude checks
Variable "main_weight" is not in valid camel caps format Open
$main_weight = $this->category->get_weight();
- Exclude checks
Variable "item_value_total" is not in valid camel caps format Open
$item_value_total += $item_value;
- Exclude checks
Variable "final_score" is not in valid camel caps format Open
$final_score += $score[0];
- Exclude checks
Variable "total_score" is not in valid camel caps format Open
$total_score = [$final_score, $item_total];
- Exclude checks
Variable "evals_links" is not in valid camel caps format Open
for ($count = 0; $count < count($this->evals_links); $count++) {
- Exclude checks
Variable "item_value" is not in valid camel caps format Open
$score_final = ($item_value / $item_total) * 100;
- Exclude checks
Missing parameter name Open
* @param $item2
- Exclude checks
Variable "item_value" is not in valid camel caps format Open
$item_value,
- Exclude checks
Variable "score_denom" is not in valid camel caps format Open
$score_denom = (0 == $score[1]) ? 1 : $score[1];
- Exclude checks
Missing parameter name Open
* @param $item2
- Exclude checks
Method name "FlatViewDataGenerator::sort_by_last_name" is not in camel caps format Open
public function sort_by_last_name($item1, $item2)
- Exclude checks
Method name "FlatViewDataGenerator::sort_by_first_name" is not in camel caps format Open
public function sort_by_first_name($item1, $item2)
- Exclude checks
Variable "item_value" is not in valid camel caps format Open
$item_value += $score[0] / $divide * $item->get_weight();
- Exclude checks
Variable "real_score" is not in valid camel caps format Open
$real_score,
- Exclude checks
Variable "final_score" is not in valid camel caps format Open
$total_score = [$final_score, $item_total];
- Exclude checks
Variable "score_final" is not in valid camel caps format Open
$score_final,
- Exclude checks
Variable "sub_cat" is not in valid camel caps format Open
foreach ($allcat as $sub_cat) {
- Exclude checks
Variable "sub_cat" is not in valid camel caps format Open
$score = $sub_cat->calc_score($user[0]);
- Exclude checks
Variable "real_score" is not in valid camel caps format Open
$real_score = $score;
- Exclude checks
Variable "score_final" is not in valid camel caps format Open
$score_final,
- Exclude checks
Missing parameter name Open
* @param $item1
- Exclude checks
Variable "item_value" is not in valid camel caps format Open
$total_score = [$item_value, $item_total];
- Exclude checks
Variable "final_score" is not in valid camel caps format Open
$final_score = 0;
- Exclude checks
Variable "parent_id" is not in valid camel caps format Open
if (0 == $parent_id && !empty($allcat)) {
- Exclude checks
Variable "main_weight" is not in valid camel caps format Open
$item_value = $score[0] / $divide * $main_weight;
- Exclude checks
Variable "total_score" is not in valid camel caps format Open
$total_score = [$item_value, $item_total];
- Exclude checks
Variable "parent_id" is not in valid camel caps format Open
$parent_id = $this->category->get_parent_id();
- Exclude checks
Variable "item_total" is not in valid camel caps format Open
$total_score = [$item_value, $item_total];
- Exclude checks
Variable "item_value" is not in valid camel caps format Open
$item_value_total += $item_value;
- Exclude checks
Variable "evals_links" is not in valid camel caps format Open
$item = $this->evals_links[$count];
- Exclude checks
Variable "score_denom" is not in valid camel caps format Open
$score_final = ($score[0] / $score_denom) * 100;
- Exclude checks
Line indented incorrectly; expected 20 spaces, found 24 Open
if (!empty($style)) {
- Exclude checks
Line indented incorrectly; expected 20 spaces, found 24 Open
}
- Exclude checks
Line indented incorrectly; expected 12 spaces, found 16 Open
}
- Exclude checks
Line indented incorrectly; expected 12 spaces, found 16 Open
if (!empty($style)) {
- Exclude checks
The variable $sub_cat is not named in camelCase. Open
public function get_header_names($items_start = 0, $items_count = null, $show_detail = false)
{
$headers = [];
if (isset($this->params['show_official_code']) && $this->params['show_official_code']) {
$headers[] = get_lang('Code');
- 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 $items_count is not named in camelCase. Open
public function get_header_names($items_start = 0, $items_count = null, $show_detail = false)
{
$headers = [];
if (isset($this->params['show_official_code']) && $this->params['show_official_code']) {
$headers[] = get_lang('Code');
- 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 $parent_id is not named in camelCase. Open
public function get_header_names($items_start = 0, $items_count = null, $show_detail = false)
{
$headers = [];
if (isset($this->params['show_official_code']) && $this->params['show_official_code']) {
$headers[] = get_lang('Code');
- 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 $main_weight is not named in camelCase. Open
public function get_header_names($items_start = 0, $items_count = null, $show_detail = false)
{
$headers = [];
if (isset($this->params['show_official_code']) && $this->params['show_official_code']) {
$headers[] = get_lang('Code');
- 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 $parent_id is not named in camelCase. Open
public function get_header_names($items_start = 0, $items_count = null, $show_detail = false)
{
$headers = [];
if (isset($this->params['show_official_code']) && $this->params['show_official_code']) {
$headers[] = get_lang('Code');
- 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 $sub_cat is not named in camelCase. Open
public function get_header_names($items_start = 0, $items_count = null, $show_detail = false)
{
$headers = [];
if (isset($this->params['show_official_code']) && $this->params['show_official_code']) {
$headers[] = get_lang('Code');
- 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 $sub_cat is not named in camelCase. Open
public function get_header_names($items_start = 0, $items_count = null, $show_detail = false)
{
$headers = [];
if (isset($this->params['show_official_code']) && $this->params['show_official_code']) {
$headers[] = get_lang('Code');
- 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 $session_id is not named in camelCase. Open
public function get_header_names($items_start = 0, $items_count = null, $show_detail = false)
{
$headers = [];
if (isset($this->params['show_official_code']) && $this->params['show_official_code']) {
$headers[] = get_lang('Code');
- 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 $sub_cat is not named in camelCase. Open
public function get_header_names($items_start = 0, $items_count = null, $show_detail = false)
{
$headers = [];
if (isset($this->params['show_official_code']) && $this->params['show_official_code']) {
$headers[] = get_lang('Code');
- 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 $main_weight is not named in camelCase. Open
public function get_header_names($items_start = 0, $items_count = null, $show_detail = false)
{
$headers = [];
if (isset($this->params['show_official_code']) && $this->params['show_official_code']) {
$headers[] = get_lang('Code');
- 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 $items_start is not named in camelCase. Open
public function get_header_names($items_start = 0, $items_count = null, $show_detail = false)
{
$headers = [];
if (isset($this->params['show_official_code']) && $this->params['show_official_code']) {
$headers[] = get_lang('Code');
- 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 $main_weight is not named in camelCase. Open
public function get_header_names($items_start = 0, $items_count = null, $show_detail = false)
{
$headers = [];
if (isset($this->params['show_official_code']) && $this->params['show_official_code']) {
$headers[] = get_lang('Code');
- 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 $sub_cat_weight is not named in camelCase. Open
public function get_header_names($items_start = 0, $items_count = null, $show_detail = false)
{
$headers = [];
if (isset($this->params['show_official_code']) && $this->params['show_official_code']) {
$headers[] = get_lang('Code');
- 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 $sub_cat is not named in camelCase. Open
public function get_header_names($items_start = 0, $items_count = null, $show_detail = false)
{
$headers = [];
if (isset($this->params['show_official_code']) && $this->params['show_official_code']) {
$headers[] = get_lang('Code');
- 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 $items_start is not named in camelCase. Open
public function get_header_names($items_start = 0, $items_count = null, $show_detail = false)
{
$headers = [];
if (isset($this->params['show_official_code']) && $this->params['show_official_code']) {
$headers[] = get_lang('Code');
- 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 $add_weight is not named in camelCase. Open
public function get_header_names($items_start = 0, $items_count = null, $show_detail = false)
{
$headers = [];
if (isset($this->params['show_official_code']) && $this->params['show_official_code']) {
$headers[] = get_lang('Code');
- 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 $items_count is not named in camelCase. Open
public function get_header_names($items_start = 0, $items_count = null, $show_detail = false)
{
$headers = [];
if (isset($this->params['show_official_code']) && $this->params['show_official_code']) {
$headers[] = get_lang('Code');
- 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 $parent_id is not named in camelCase. Open
public function get_header_names($items_start = 0, $items_count = null, $show_detail = false)
{
$headers = [];
if (isset($this->params['show_official_code']) && $this->params['show_official_code']) {
$headers[] = get_lang('Code');
- 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 $main_cat is not named in camelCase. Open
public function get_header_names($items_start = 0, $items_count = null, $show_detail = false)
{
$headers = [];
if (isset($this->params['show_official_code']) && $this->params['show_official_code']) {
$headers[] = get_lang('Code');
- 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 $items_count is not named in camelCase. Open
public function get_header_names($items_start = 0, $items_count = null, $show_detail = false)
{
$headers = [];
if (isset($this->params['show_official_code']) && $this->params['show_official_code']) {
$headers[] = get_lang('Code');
- 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 $session_id is not named in camelCase. Open
public function get_header_names($items_start = 0, $items_count = null, $show_detail = false)
{
$headers = [];
if (isset($this->params['show_official_code']) && $this->params['show_official_code']) {
$headers[] = get_lang('Code');
- 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 $sub_cat_weight is not named in camelCase. Open
public function get_header_names($items_start = 0, $items_count = null, $show_detail = false)
{
$headers = [];
if (isset($this->params['show_official_code']) && $this->params['show_official_code']) {
$headers[] = get_lang('Code');
- 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 $items_start is not named in camelCase. Open
public function get_header_names($items_start = 0, $items_count = null, $show_detail = false)
{
$headers = [];
if (isset($this->params['show_official_code']) && $this->params['show_official_code']) {
$headers[] = get_lang('Code');
- 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 $add_weight is not named in camelCase. Open
public function get_header_names($items_start = 0, $items_count = null, $show_detail = false)
{
$headers = [];
if (isset($this->params['show_official_code']) && $this->params['show_official_code']) {
$headers[] = get_lang('Code');
- 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 $parent_id is not named in camelCase. Open
public function get_header_names($items_start = 0, $items_count = null, $show_detail = false)
{
$headers = [];
if (isset($this->params['show_official_code']) && $this->params['show_official_code']) {
$headers[] = get_lang('Code');
- 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 $sum_categories_weight_array is not named in camelCase. Open
public function get_header_names($items_start = 0, $items_count = null, $show_detail = false)
{
$headers = [];
if (isset($this->params['show_official_code']) && $this->params['show_official_code']) {
$headers[] = get_lang('Code');
- 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 $sub_cat is not named in camelCase. Open
public function get_header_names($items_start = 0, $items_count = null, $show_detail = false)
{
$headers = [];
if (isset($this->params['show_official_code']) && $this->params['show_official_code']) {
$headers[] = get_lang('Code');
- 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 $main_cat is not named in camelCase. Open
public function get_header_names($items_start = 0, $items_count = null, $show_detail = false)
{
$headers = [];
if (isset($this->params['show_official_code']) && $this->params['show_official_code']) {
$headers[] = get_lang('Code');
- 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 $users_start is not named in camelCase. Open
public function get_data(
$users_sorting = 0,
$users_start = 0,
$users_count = null,
$items_start = 0,
- 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 $item_total is not named in camelCase. Open
public function get_data(
$users_sorting = 0,
$users_start = 0,
$users_count = null,
$items_start = 0,
- 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 $item_value is not named in camelCase. Open
public function get_data(
$users_sorting = 0,
$users_start = 0,
$users_count = null,
$items_start = 0,
- 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 $real_score is not named in camelCase. Open
public function get_data(
$users_sorting = 0,
$users_start = 0,
$users_count = null,
$items_start = 0,
- 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 $sum_categories_weight_array is not named in camelCase. Open
public function get_data(
$users_sorting = 0,
$users_start = 0,
$users_count = null,
$items_start = 0,
- 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 $item_total is not named in camelCase. Open
public function get_data(
$users_sorting = 0,
$users_start = 0,
$users_count = null,
$items_start = 0,
- 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 $items_count is not named in camelCase. Open
public function get_evaluation_items($items_start = 0, $items_count = null)
{
$headers = [];
if (!isset($items_count)) {
$items_count = count($this->evals_links) - $items_start;
- 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 $items_start is not named in camelCase. Open
public function get_evaluation_items($items_start = 0, $items_count = null)
{
$headers = [];
if (!isset($items_count)) {
$items_count = count($this->evals_links) - $items_start;
- 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 $users_count is not named in camelCase. Open
public function get_data(
$users_sorting = 0,
$users_start = 0,
$users_count = null,
$items_start = 0,
- 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 $main_weight is not named in camelCase. Open
public function get_data(
$users_sorting = 0,
$users_start = 0,
$users_count = null,
$items_start = 0,
- 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 $item_total is not named in camelCase. Open
public function get_data(
$users_sorting = 0,
$users_start = 0,
$users_count = null,
$items_start = 0,
- 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 $temp_score is not named in camelCase. Open
public function get_data(
$users_sorting = 0,
$users_start = 0,
$users_count = null,
$items_start = 0,
- 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 $temp_score is not named in camelCase. Open
public function get_data(
$users_sorting = 0,
$users_start = 0,
$users_count = null,
$items_start = 0,
- 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 $total_score is not named in camelCase. Open
public function get_data(
$users_sorting = 0,
$users_start = 0,
$users_count = null,
$items_start = 0,
- 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 $items_count is not named in camelCase. Open
public function get_evaluation_items($items_start = 0, $items_count = null)
{
$headers = [];
if (!isset($items_count)) {
$items_count = count($this->evals_links) - $items_start;
- 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 $users_sorting is not named in camelCase. Open
public function get_data(
$users_sorting = 0,
$users_start = 0,
$users_count = null,
$items_start = 0,
- 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 $sum_categories_weight_array is not named in camelCase. Open
public function get_data(
$users_sorting = 0,
$users_start = 0,
$users_count = null,
$items_start = 0,
- 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 $parent_id is not named in camelCase. Open
public function get_data(
$users_sorting = 0,
$users_start = 0,
$users_count = null,
$items_start = 0,
- 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 $user_id is not named in camelCase. Open
public function get_data(
$users_sorting = 0,
$users_start = 0,
$users_count = null,
$items_start = 0,
- 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 $item_value is not named in camelCase. Open
public function get_data(
$users_sorting = 0,
$users_start = 0,
$users_count = null,
$items_start = 0,
- 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 $show_all is not named in camelCase. Open
public function get_data(
$users_sorting = 0,
$users_start = 0,
$users_count = null,
$items_start = 0,
- 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 $items_start is not named in camelCase. Open
public function get_data(
$users_sorting = 0,
$users_start = 0,
$users_count = null,
$items_start = 0,
- 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 $main_weight is not named in camelCase. Open
public function get_header_names($items_start = 0, $items_count = null, $show_detail = false)
{
$headers = [];
if (isset($this->params['show_official_code']) && $this->params['show_official_code']) {
$headers[] = get_lang('Code');
- 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 $items_start is not named in camelCase. Open
public function get_data(
$users_sorting = 0,
$users_start = 0,
$users_count = null,
$items_start = 0,
- 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 $show_all is not named in camelCase. Open
public function get_data(
$users_sorting = 0,
$users_start = 0,
$users_count = null,
$items_start = 0,
- 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 $users_sorting is not named in camelCase. Open
public function get_data(
$users_sorting = 0,
$users_start = 0,
$users_count = null,
$items_start = 0,
- 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 $user_id is not named in camelCase. Open
public function get_data(
$users_sorting = 0,
$users_start = 0,
$users_count = null,
$items_start = 0,
- 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 $items_count is not named in camelCase. Open
public function get_data(
$users_sorting = 0,
$users_start = 0,
$users_count = null,
$items_start = 0,
- 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 $items_count is not named in camelCase. Open
public function get_data(
$users_sorting = 0,
$users_start = 0,
$users_count = null,
$items_start = 0,
- 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 $items_start is not named in camelCase. Open
public function get_evaluation_items($items_start = 0, $items_count = null)
{
$headers = [];
if (!isset($items_count)) {
$items_count = count($this->evals_links) - $items_start;
- 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 $item_value is not named in camelCase. Open
public function get_data(
$users_sorting = 0,
$users_start = 0,
$users_count = null,
$items_start = 0,
- 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 $total_score is not named in camelCase. Open
public function get_data(
$users_sorting = 0,
$users_start = 0,
$users_count = null,
$items_start = 0,
- 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 $export_to_pdf is not named in camelCase. Open
public function get_data(
$users_sorting = 0,
$users_start = 0,
$users_count = null,
$items_start = 0,
- 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 $main_cat is not named in camelCase. Open
public function get_data(
$users_sorting = 0,
$users_start = 0,
$users_count = null,
$items_start = 0,
- 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 $total_score is not named in camelCase. Open
public function get_data(
$users_sorting = 0,
$users_start = 0,
$users_count = null,
$items_start = 0,
- 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 $main_cat is not named in camelCase. Open
public function get_data(
$users_sorting = 0,
$users_start = 0,
$users_count = null,
$items_start = 0,
- 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 $export_to_pdf is not named in camelCase. Open
public function get_data(
$users_sorting = 0,
$users_start = 0,
$users_count = null,
$items_start = 0,
- 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 $real_score is not named in camelCase. Open
public function get_data(
$users_sorting = 0,
$users_start = 0,
$users_count = null,
$items_start = 0,
- 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 $sum_categories_weight_array is not named in camelCase. Open
public function get_data(
$users_sorting = 0,
$users_start = 0,
$users_count = null,
$items_start = 0,
- 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 $main_weight is not named in camelCase. Open
public function get_data(
$users_sorting = 0,
$users_start = 0,
$users_count = null,
$items_start = 0,
- 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 $sub_cat_percentage is not named in camelCase. Open
public function get_data(
$users_sorting = 0,
$users_start = 0,
$users_count = null,
$items_start = 0,
- 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 $temp_score is not named in camelCase. Open
public function get_data(
$users_sorting = 0,
$users_start = 0,
$users_count = null,
$items_start = 0,
- 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 $temp_score is not named in camelCase. Open
public function get_data(
$users_sorting = 0,
$users_start = 0,
$users_count = null,
$items_start = 0,
- 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 $user_id is not named in camelCase. Open
public function get_data(
$users_sorting = 0,
$users_start = 0,
$users_count = null,
$items_start = 0,
- 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 $main_weight is not named in camelCase. Open
public function get_data(
$users_sorting = 0,
$users_start = 0,
$users_count = null,
$items_start = 0,
- 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 $total_score is not named in camelCase. Open
public function get_data(
$users_sorting = 0,
$users_start = 0,
$users_count = null,
$items_start = 0,
- 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 $items_count is not named in camelCase. Open
public function get_data(
$users_sorting = 0,
$users_start = 0,
$users_count = null,
$items_start = 0,
- 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 $sub_cat_percentage is not named in camelCase. Open
public function get_data(
$users_sorting = 0,
$users_start = 0,
$users_count = null,
$items_start = 0,
- 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 $sub_cat is not named in camelCase. Open
public function get_data(
$users_sorting = 0,
$users_start = 0,
$users_count = null,
$items_start = 0,
- 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 $sub_cat is not named in camelCase. Open
public function get_data(
$users_sorting = 0,
$users_start = 0,
$users_count = null,
$items_start = 0,
- 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 $real_score is not named in camelCase. Open
public function get_data(
$users_sorting = 0,
$users_start = 0,
$users_count = null,
$items_start = 0,
- 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 $total_score is not named in camelCase. Open
public function get_data(
$users_sorting = 0,
$users_start = 0,
$users_count = null,
$items_start = 0,
- 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 $total_score is not named in camelCase. Open
public function get_data(
$users_sorting = 0,
$users_start = 0,
$users_count = null,
$items_start = 0,
- 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 $users_count is not named in camelCase. Open
public function get_data(
$users_sorting = 0,
$users_start = 0,
$users_count = null,
$items_start = 0,
- 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 $session_id is not named in camelCase. Open
public function get_data(
$users_sorting = 0,
$users_start = 0,
$users_count = null,
$items_start = 0,
- 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 $sub_cat is not named in camelCase. Open
public function get_data(
$users_sorting = 0,
$users_start = 0,
$users_count = null,
$items_start = 0,
- 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 $sub_cat is not named in camelCase. Open
public function get_data(
$users_sorting = 0,
$users_start = 0,
$users_count = null,
$items_start = 0,
- 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 $temp_score is not named in camelCase. Open
public function get_data(
$users_sorting = 0,
$users_start = 0,
$users_count = null,
$items_start = 0,
- 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 $item_total is not named in camelCase. Open
public function get_data(
$users_sorting = 0,
$users_start = 0,
$users_count = null,
$items_start = 0,
- 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 $item_value_total is not named in camelCase. Open
public function get_data(
$users_sorting = 0,
$users_start = 0,
$users_count = null,
$items_start = 0,
- 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 $export_to_pdf is not named in camelCase. Open
public function get_data(
$users_sorting = 0,
$users_start = 0,
$users_count = null,
$items_start = 0,
- 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 $user_id is not named in camelCase. Open
public function get_data(
$users_sorting = 0,
$users_start = 0,
$users_count = null,
$items_start = 0,
- 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 $export_to_pdf is not named in camelCase. Open
public function get_data(
$users_sorting = 0,
$users_start = 0,
$users_count = null,
$items_start = 0,
- 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 $sub_cat_percentage is not named in camelCase. Open
public function get_data(
$users_sorting = 0,
$users_start = 0,
$users_count = null,
$items_start = 0,
- 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 $item_value_total is not named in camelCase. Open
public function get_data(
$users_sorting = 0,
$users_start = 0,
$users_count = null,
$items_start = 0,
- 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 $total_score is not named in camelCase. Open
public function get_data(
$users_sorting = 0,
$users_start = 0,
$users_count = null,
$items_start = 0,
- 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 $session_id is not named in camelCase. Open
public function get_data(
$users_sorting = 0,
$users_start = 0,
$users_count = null,
$items_start = 0,
- 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 $selected_users is not named in camelCase. Open
public function get_data(
$users_sorting = 0,
$users_start = 0,
$users_count = null,
$items_start = 0,
- 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 $items_count is not named in camelCase. Open
public function get_data(
$users_sorting = 0,
$users_start = 0,
$users_count = null,
$items_start = 0,
- 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 $show_all is not named in camelCase. Open
public function get_data(
$users_sorting = 0,
$users_start = 0,
$users_count = null,
$items_start = 0,
- 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 $item_value_total is not named in camelCase. Open
public function get_data(
$users_sorting = 0,
$users_start = 0,
$users_count = null,
$items_start = 0,
- 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 $sum_categories_weight_array is not named in camelCase. Open
public function get_data(
$users_sorting = 0,
$users_start = 0,
$users_count = null,
$items_start = 0,
- 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 $show_all is not named in camelCase. Open
public function get_data(
$users_sorting = 0,
$users_start = 0,
$users_count = null,
$items_start = 0,
- 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 $total_score is not named in camelCase. Open
public function get_data(
$users_sorting = 0,
$users_start = 0,
$users_count = null,
$items_start = 0,
- 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 $selected_users is not named in camelCase. Open
public function get_data(
$users_sorting = 0,
$users_start = 0,
$users_count = null,
$items_start = 0,
- 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 $export_to_pdf is not named in camelCase. Open
public function get_data(
$users_sorting = 0,
$users_start = 0,
$users_count = null,
$items_start = 0,
- 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 $export_to_pdf is not named in camelCase. Open
public function get_data(
$users_sorting = 0,
$users_start = 0,
$users_count = null,
$items_start = 0,
- 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 $sub_cat is not named in camelCase. Open
public function get_data(
$users_sorting = 0,
$users_start = 0,
$users_count = null,
$items_start = 0,
- 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 $item_total is not named in camelCase. Open
public function get_data(
$users_sorting = 0,
$users_start = 0,
$users_count = null,
$items_start = 0,
- 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 $users_count is not named in camelCase. Open
public function get_data(
$users_sorting = 0,
$users_start = 0,
$users_count = null,
$items_start = 0,
- 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 $export_to_pdf is not named in camelCase. Open
public function get_data(
$users_sorting = 0,
$users_start = 0,
$users_count = null,
$items_start = 0,
- 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 $sub_cat is not named in camelCase. Open
public function get_data(
$users_sorting = 0,
$users_start = 0,
$users_count = null,
$items_start = 0,
- 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 $sub_cat is not named in camelCase. Open
public function get_data(
$users_sorting = 0,
$users_start = 0,
$users_count = null,
$items_start = 0,
- 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 $item_value is not named in camelCase. Open
public function get_data(
$users_sorting = 0,
$users_start = 0,
$users_count = null,
$items_start = 0,
- 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 $items_count is not named in camelCase. Open
public function get_evaluation_items($items_start = 0, $items_count = null)
{
$headers = [];
if (!isset($items_count)) {
$items_count = count($this->evals_links) - $items_start;
- 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 $users_count is not named in camelCase. Open
public function get_data(
$users_sorting = 0,
$users_start = 0,
$users_count = null,
$items_start = 0,
- 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 $items_start is not named in camelCase. Open
public function get_evaluation_items($items_start = 0, $items_count = null)
{
$headers = [];
if (!isset($items_count)) {
$items_count = count($this->evals_links) - $items_start;
- 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 $parent_id is not named in camelCase. Open
public function get_data(
$users_sorting = 0,
$users_start = 0,
$users_count = null,
$items_start = 0,
- 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 $user_id is not named in camelCase. Open
public function get_data(
$users_sorting = 0,
$users_start = 0,
$users_count = null,
$items_start = 0,
- 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 $users_sorting is not named in camelCase. Open
public function get_data(
$users_sorting = 0,
$users_start = 0,
$users_count = null,
$items_start = 0,
- 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 $item_value_total is not named in camelCase. Open
public function get_data(
$users_sorting = 0,
$users_start = 0,
$users_count = null,
$items_start = 0,
- 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 $parent_id is not named in camelCase. Open
public function get_data(
$users_sorting = 0,
$users_start = 0,
$users_count = null,
$items_start = 0,
- 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 $user_id is not named in camelCase. Open
public function get_data(
$users_sorting = 0,
$users_start = 0,
$users_count = null,
$items_start = 0,
- 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 $items_start is not named in camelCase. Open
public function get_data(
$users_sorting = 0,
$users_start = 0,
$users_count = null,
$items_start = 0,
- 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 $main_weight is not named in camelCase. Open
public function get_data(
$users_sorting = 0,
$users_start = 0,
$users_count = null,
$items_start = 0,
- 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 $export_to_pdf is not named in camelCase. Open
public function get_data(
$users_sorting = 0,
$users_start = 0,
$users_count = null,
$items_start = 0,
- 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 $export_to_pdf is not named in camelCase. Open
public function get_data(
$users_sorting = 0,
$users_start = 0,
$users_count = null,
$items_start = 0,
- 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 $parent_id is not named in camelCase. Open
public function get_data(
$users_sorting = 0,
$users_start = 0,
$users_count = null,
$items_start = 0,
- 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 $item_value_total is not named in camelCase. Open
public function get_data(
$users_sorting = 0,
$users_start = 0,
$users_count = null,
$items_start = 0,
- 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 $items_count is not named in camelCase. Open
public function get_header_names($items_start = 0, $items_count = null, $show_detail = false)
{
$headers = [];
if (isset($this->params['show_official_code']) && $this->params['show_official_code']) {
$headers[] = get_lang('Code');
- 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 $items_count is not named in camelCase. Open
public function get_data(
$users_sorting = 0,
$users_start = 0,
$users_count = null,
$items_start = 0,
- 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 $main_weight is not named in camelCase. Open
public function get_header_names($items_start = 0, $items_count = null, $show_detail = false)
{
$headers = [];
if (isset($this->params['show_official_code']) && $this->params['show_official_code']) {
$headers[] = get_lang('Code');
- 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 $items_count is not named in camelCase. Open
public function get_data(
$users_sorting = 0,
$users_start = 0,
$users_count = null,
$items_start = 0,
- 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 $items_start is not named in camelCase. Open
public function get_header_names($items_start = 0, $items_count = null, $show_detail = false)
{
$headers = [];
if (isset($this->params['show_official_code']) && $this->params['show_official_code']) {
$headers[] = get_lang('Code');
- 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 $items_start is not named in camelCase. Open
public function get_header_names($items_start = 0, $items_count = null, $show_detail = false)
{
$headers = [];
if (isset($this->params['show_official_code']) && $this->params['show_official_code']) {
$headers[] = get_lang('Code');
- 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 $users_start is not named in camelCase. Open
public function get_data(
$users_sorting = 0,
$users_start = 0,
$users_count = null,
$items_start = 0,
- 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 $users_count is not named in camelCase. Open
public function get_data(
$users_sorting = 0,
$users_start = 0,
$users_count = null,
$items_start = 0,
- 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 $real_score is not named in camelCase. Open
public function get_data(
$users_sorting = 0,
$users_start = 0,
$users_count = null,
$items_start = 0,
- 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 $sum_categories_weight_array is not named in camelCase. Open
public function get_data(
$users_sorting = 0,
$users_start = 0,
$users_count = null,
$items_start = 0,
- 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 $user_id is not named in camelCase. Open
public function get_data(
$users_sorting = 0,
$users_start = 0,
$users_count = null,
$items_start = 0,
- 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 $sum_categories_weight_array is not named in camelCase. Open
public function get_data(
$users_sorting = 0,
$users_start = 0,
$users_count = null,
$items_start = 0,
- 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 $total_score is not named in camelCase. Open
public function get_data(
$users_sorting = 0,
$users_start = 0,
$users_count = null,
$items_start = 0,
- 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 $items_count is not named in camelCase. Open
public function parseEvaluations(
$user_id,
$sum_categories_weight_array,
$items_count,
$items_start,
- 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 $item_value is not named in camelCase. Open
public function parseEvaluations(
$user_id,
$sum_categories_weight_array,
$items_count,
$items_start,
- 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 $temp_score is not named in camelCase. Open
public function parseEvaluations(
$user_id,
$sum_categories_weight_array,
$items_count,
$items_start,
- 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 $total_score is not named in camelCase. Open
public function get_data_to_graph2($displayWarning = true)
{
$session_id = api_get_session_id();
// do some checks on users/items counts, redefine if invalid values
$usertable = [];
- 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 $score_final is not named in camelCase. Open
public function get_data_to_graph2($displayWarning = true)
{
$session_id = api_get_session_id();
// do some checks on users/items counts, redefine if invalid values
$usertable = [];
- 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 $score_final is not named in camelCase. Open
public function get_data_to_graph2($displayWarning = true)
{
$session_id = api_get_session_id();
// do some checks on users/items counts, redefine if invalid values
$usertable = [];
- 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 $item_value is not named in camelCase. Open
public function parseEvaluations(
$user_id,
$sum_categories_weight_array,
$items_count,
$items_start,
- 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 $item_value is not named in camelCase. Open
public function parseEvaluations(
$user_id,
$sum_categories_weight_array,
$items_count,
$items_start,
- 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 $temp_score is not named in camelCase. Open
public function parseEvaluations(
$user_id,
$sum_categories_weight_array,
$items_count,
$items_start,
- 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 $temp_score is not named in camelCase. Open
public function parseEvaluations(
$user_id,
$sum_categories_weight_array,
$items_count,
$items_start,
- 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 $item_value_total is not named in camelCase. Open
public function parseEvaluations(
$user_id,
$sum_categories_weight_array,
$items_count,
$items_start,
- 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 $selected_users is not named in camelCase. Open
public function getEvaluationSummaryResults($session_id = null)
{
$usertable = [];
foreach ($this->users as $user) {
$usertable[] = $user;
- 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 $selected_users is not named in camelCase. Open
public function get_data_to_graph()
{
// do some checks on users/items counts, redefine if invalid values
$usertable = [];
foreach ($this->users as $user) {
- 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 $score_final is not named in camelCase. Open
public function get_data_to_graph()
{
// do some checks on users/items counts, redefine if invalid values
$usertable = [];
foreach ($this->users as $user) {
- 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 $score_final is not named in camelCase. Open
public function get_data_to_graph2($displayWarning = true)
{
$session_id = api_get_session_id();
// do some checks on users/items counts, redefine if invalid values
$usertable = [];
- 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 $real_score is not named in camelCase. Open
public function parseEvaluations(
$user_id,
$sum_categories_weight_array,
$items_count,
$items_start,
- 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 $temp_score is not named in camelCase. Open
public function parseEvaluations(
$user_id,
$sum_categories_weight_array,
$items_count,
$items_start,
- 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 $porcent_score is not named in camelCase. Open
public function getEvaluationSummaryResults($session_id = null)
{
$usertable = [];
foreach ($this->users as $user) {
$usertable[] = $user;
- 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 $data_by_item is not named in camelCase. Open
public function getEvaluationSummaryResults($session_id = null)
{
$usertable = [];
foreach ($this->users as $user) {
$usertable[] = $user;
- 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 $score_denom is not named in camelCase. Open
public function get_data_to_graph()
{
// do some checks on users/items counts, redefine if invalid values
$usertable = [];
foreach ($this->users as $user) {
- 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 $selected_users is not named in camelCase. Open
public function get_data_to_graph2($displayWarning = true)
{
$session_id = api_get_session_id();
// do some checks on users/items counts, redefine if invalid values
$usertable = [];
- 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 $item_value is not named in camelCase. Open
public function get_data_to_graph2($displayWarning = true)
{
$session_id = api_get_session_id();
// do some checks on users/items counts, redefine if invalid values
$usertable = [];
- 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 $item_value is not named in camelCase. Open
public function parseEvaluations(
$user_id,
$sum_categories_weight_array,
$items_count,
$items_start,
- 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 $item_total is not named in camelCase. Open
public function get_data_to_graph2($displayWarning = true)
{
$session_id = api_get_session_id();
// do some checks on users/items counts, redefine if invalid values
$usertable = [];
- 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 $sub_cat is not named in camelCase. Open
public function get_data_to_graph2($displayWarning = true)
{
$session_id = api_get_session_id();
// do some checks on users/items counts, redefine if invalid values
$usertable = [];
- 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 $final_score is not named in camelCase. Open
public function get_data_to_graph2($displayWarning = true)
{
$session_id = api_get_session_id();
// do some checks on users/items counts, redefine if invalid values
$usertable = [];
- 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 $item_total is not named in camelCase. Open
public function get_data_to_graph()
{
// do some checks on users/items counts, redefine if invalid values
$usertable = [];
foreach ($this->users as $user) {
- 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 $item_total is not named in camelCase. Open
public function get_data_to_graph()
{
// do some checks on users/items counts, redefine if invalid values
$usertable = [];
foreach ($this->users as $user) {
- 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 $item_total is not named in camelCase. Open
public function get_data_to_graph2($displayWarning = true)
{
$session_id = api_get_session_id();
// do some checks on users/items counts, redefine if invalid values
$usertable = [];
- 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 $temp_score is not named in camelCase. Open
public function parseEvaluations(
$user_id,
$sum_categories_weight_array,
$items_count,
$items_start,
- 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 $item_total is not named in camelCase. Open
public function parseEvaluations(
$user_id,
$sum_categories_weight_array,
$items_count,
$items_start,
- 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 $parent_id is not named in camelCase. Open
public function get_data_to_graph2($displayWarning = true)
{
$session_id = api_get_session_id();
// do some checks on users/items counts, redefine if invalid values
$usertable = [];
- 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 $selected_users is not named in camelCase. Open
public function get_data_to_graph()
{
// do some checks on users/items counts, redefine if invalid values
$usertable = [];
foreach ($this->users as $user) {
- 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 $item_value is not named in camelCase. Open
public function get_data_to_graph()
{
// do some checks on users/items counts, redefine if invalid values
$usertable = [];
foreach ($this->users as $user) {
- 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 $item_value_total is not named in camelCase. Open
public function get_data_to_graph2($displayWarning = true)
{
$session_id = api_get_session_id();
// do some checks on users/items counts, redefine if invalid values
$usertable = [];
- 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 $item_value is not named in camelCase. Open
public function get_data_to_graph2($displayWarning = true)
{
$session_id = api_get_session_id();
// do some checks on users/items counts, redefine if invalid values
$usertable = [];
- 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 $real_score is not named in camelCase. Open
public function parseEvaluations(
$user_id,
$sum_categories_weight_array,
$items_count,
$items_start,
- 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 $item_value is not named in camelCase. Open
public function parseEvaluations(
$user_id,
$sum_categories_weight_array,
$items_count,
$items_start,
- 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 $real_score is not named in camelCase. Open
public function parseEvaluations(
$user_id,
$sum_categories_weight_array,
$items_count,
$items_start,
- 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 $selected_users is not named in camelCase. Open
public function getEvaluationSummaryResults($session_id = null)
{
$usertable = [];
foreach ($this->users as $user) {
$usertable[] = $user;
- 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 $porcent_score is not named in camelCase. Open
public function getEvaluationSummaryResults($session_id = null)
{
$usertable = [];
foreach ($this->users as $user) {
$usertable[] = $user;
- 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 $item_value is not named in camelCase. Open
public function get_data_to_graph()
{
// do some checks on users/items counts, redefine if invalid values
$usertable = [];
foreach ($this->users as $user) {
- 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 $selected_users is not named in camelCase. Open
public function get_data_to_graph2($displayWarning = true)
{
$session_id = api_get_session_id();
// do some checks on users/items counts, redefine if invalid values
$usertable = [];
- 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 $item_total is not named in camelCase. Open
public function get_data_to_graph2($displayWarning = true)
{
$session_id = api_get_session_id();
// do some checks on users/items counts, redefine if invalid values
$usertable = [];
- 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 $item_total is not named in camelCase. Open
public function parseEvaluations(
$user_id,
$sum_categories_weight_array,
$items_count,
$items_start,
- 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 $items_start is not named in camelCase. Open
public function parseEvaluations(
$user_id,
$sum_categories_weight_array,
$items_count,
$items_start,
- 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 $item_total is not named in camelCase. Open
public function parseEvaluations(
$user_id,
$sum_categories_weight_array,
$items_count,
$items_start,
- 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 $temp_score is not named in camelCase. Open
public function parseEvaluations(
$user_id,
$sum_categories_weight_array,
$items_count,
$items_start,
- 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 $score_final is not named in camelCase. Open
public function get_data_to_graph()
{
// do some checks on users/items counts, redefine if invalid values
$usertable = [];
foreach ($this->users as $user) {
- 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 $item_value is not named in camelCase. Open
public function parseEvaluations(
$user_id,
$sum_categories_weight_array,
$items_count,
$items_start,
- 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 $score_final is not named in camelCase. Open
public function get_data_to_graph()
{
// do some checks on users/items counts, redefine if invalid values
$usertable = [];
foreach ($this->users as $user) {
- 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 $total_score is not named in camelCase. Open
public function get_data_to_graph2($displayWarning = true)
{
$session_id = api_get_session_id();
// do some checks on users/items counts, redefine if invalid values
$usertable = [];
- 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 $item_value_total is not named in camelCase. Open
public function get_data_to_graph2($displayWarning = true)
{
$session_id = api_get_session_id();
// do some checks on users/items counts, redefine if invalid values
$usertable = [];
- 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 $real_score is not named in camelCase. Open
public function get_data_to_graph2($displayWarning = true)
{
$session_id = api_get_session_id();
// do some checks on users/items counts, redefine if invalid values
$usertable = [];
- 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 $final_score is not named in camelCase. Open
public function get_data_to_graph2($displayWarning = true)
{
$session_id = api_get_session_id();
// do some checks on users/items counts, redefine if invalid values
$usertable = [];
- 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 $item_value_total is not named in camelCase. Open
public function parseEvaluations(
$user_id,
$sum_categories_weight_array,
$items_count,
$items_start,
- 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 $items_start is not named in camelCase. Open
public function parseEvaluations(
$user_id,
$sum_categories_weight_array,
$items_count,
$items_start,
- 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 $item_value is not named in camelCase. Open
public function parseEvaluations(
$user_id,
$sum_categories_weight_array,
$items_count,
$items_start,
- 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 $main_weight is not named in camelCase. Open
public function get_data_to_graph2($displayWarning = true)
{
$session_id = api_get_session_id();
// do some checks on users/items counts, redefine if invalid values
$usertable = [];
- 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 $main_weight is not named in camelCase. Open
public function get_data_to_graph2($displayWarning = true)
{
$session_id = api_get_session_id();
// do some checks on users/items counts, redefine if invalid values
$usertable = [];
- 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 $real_score is not named in camelCase. Open
public function get_data_to_graph2($displayWarning = true)
{
$session_id = api_get_session_id();
// do some checks on users/items counts, redefine if invalid values
$usertable = [];
- 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 $item_total is not named in camelCase. Open
public function get_data_to_graph2($displayWarning = true)
{
$session_id = api_get_session_id();
// do some checks on users/items counts, redefine if invalid values
$usertable = [];
- 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 $user_id is not named in camelCase. Open
public function parseEvaluations(
$user_id,
$sum_categories_weight_array,
$items_count,
$items_start,
- 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 $item_value is not named in camelCase. Open
public function parseEvaluations(
$user_id,
$sum_categories_weight_array,
$items_count,
$items_start,
- 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 $complete_score is not named in camelCase. Open
public function parseEvaluations(
$user_id,
$sum_categories_weight_array,
$items_count,
$items_start,
- 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 $temp_score is not named in camelCase. Open
public function parseEvaluations(
$user_id,
$sum_categories_weight_array,
$items_count,
$items_start,
- 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 $parent_id is not named in camelCase. Open
public function get_data_to_graph2($displayWarning = true)
{
$session_id = api_get_session_id();
// do some checks on users/items counts, redefine if invalid values
$usertable = [];
- 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 $item_value is not named in camelCase. Open
public function get_data_to_graph2($displayWarning = true)
{
$session_id = api_get_session_id();
// do some checks on users/items counts, redefine if invalid values
$usertable = [];
- 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 $score_denom is not named in camelCase. Open
public function get_data_to_graph2($displayWarning = true)
{
$session_id = api_get_session_id();
// do some checks on users/items counts, redefine if invalid values
$usertable = [];
- 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 $total_score is not named in camelCase. Open
public function get_data_to_graph2($displayWarning = true)
{
$session_id = api_get_session_id();
// do some checks on users/items counts, redefine if invalid values
$usertable = [];
- 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 $total_score is not named in camelCase. Open
public function get_data_to_graph2($displayWarning = true)
{
$session_id = api_get_session_id();
// do some checks on users/items counts, redefine if invalid values
$usertable = [];
- 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 $item_value_total is not named in camelCase. Open
public function parseEvaluations(
$user_id,
$sum_categories_weight_array,
$items_count,
$items_start,
- 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 $item_total is not named in camelCase. Open
public function get_data_to_graph()
{
// do some checks on users/items counts, redefine if invalid values
$usertable = [];
foreach ($this->users as $user) {
- 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 $item_value is not named in camelCase. Open
public function get_data_to_graph()
{
// do some checks on users/items counts, redefine if invalid values
$usertable = [];
foreach ($this->users as $user) {
- 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 $session_id is not named in camelCase. Open
public function get_data_to_graph2($displayWarning = true)
{
$session_id = api_get_session_id();
// do some checks on users/items counts, redefine if invalid values
$usertable = [];
- 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 $session_id is not named in camelCase. Open
public function get_data_to_graph2($displayWarning = true)
{
$session_id = api_get_session_id();
// do some checks on users/items counts, redefine if invalid values
$usertable = [];
- 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 $sub_cat is not named in camelCase. Open
public function get_data_to_graph2($displayWarning = true)
{
$session_id = api_get_session_id();
// do some checks on users/items counts, redefine if invalid values
$usertable = [];
- 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 $item_total is not named in camelCase. Open
public function get_data_to_graph2($displayWarning = true)
{
$session_id = api_get_session_id();
// do some checks on users/items counts, redefine if invalid values
$usertable = [];
- 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 $item_value is not named in camelCase. Open
public function get_data_to_graph2($displayWarning = true)
{
$session_id = api_get_session_id();
// do some checks on users/items counts, redefine if invalid values
$usertable = [];
- 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 $score_final is not named in camelCase. Open
public function get_data_to_graph()
{
// do some checks on users/items counts, redefine if invalid values
$usertable = [];
foreach ($this->users as $user) {
- 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 $final_score is not named in camelCase. Open
public function get_data_to_graph2($displayWarning = true)
{
$session_id = api_get_session_id();
// do some checks on users/items counts, redefine if invalid values
$usertable = [];
- 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 $sub_cat is not named in camelCase. Open
public function get_data_to_graph2($displayWarning = true)
{
$session_id = api_get_session_id();
// do some checks on users/items counts, redefine if invalid values
$usertable = [];
- 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 $item_value is not named in camelCase. Open
public function get_data_to_graph2($displayWarning = true)
{
$session_id = api_get_session_id();
// do some checks on users/items counts, redefine if invalid values
$usertable = [];
- 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 $score_denom is not named in camelCase. Open
public function get_data_to_graph2($displayWarning = true)
{
$session_id = api_get_session_id();
// do some checks on users/items counts, redefine if invalid values
$usertable = [];
- 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 $real_score is not named in camelCase. Open
public function parseEvaluations(
$user_id,
$sum_categories_weight_array,
$items_count,
$items_start,
- 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 $show_all is not named in camelCase. Open
public function parseEvaluations(
$user_id,
$sum_categories_weight_array,
$items_count,
$items_start,
- 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 $data_by_item is not named in camelCase. Open
public function getEvaluationSummaryResults($session_id = null)
{
$usertable = [];
foreach ($this->users as $user) {
$usertable[] = $user;
- 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 $data_by_item is not named in camelCase. Open
public function getEvaluationSummaryResults($session_id = null)
{
$usertable = [];
foreach ($this->users as $user) {
$usertable[] = $user;
- 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 $score_denom is not named in camelCase. Open
public function get_data_to_graph()
{
// do some checks on users/items counts, redefine if invalid values
$usertable = [];
foreach ($this->users as $user) {
- 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 $final_score is not named in camelCase. Open
public function get_data_to_graph2($displayWarning = true)
{
$session_id = api_get_session_id();
// do some checks on users/items counts, redefine if invalid values
$usertable = [];
- 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 $item_value is not named in camelCase. Open
public function parseEvaluations(
$user_id,
$sum_categories_weight_array,
$items_count,
$items_start,
- 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 $item_value is not named in camelCase. Open
public function get_data_to_graph2($displayWarning = true)
{
$session_id = api_get_session_id();
// do some checks on users/items counts, redefine if invalid values
$usertable = [];
- 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 $item_total is not named in camelCase. Open
public function get_data_to_graph2($displayWarning = true)
{
$session_id = api_get_session_id();
// do some checks on users/items counts, redefine if invalid values
$usertable = [];
- 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 $item_value is not named in camelCase. Open
public function get_data_to_graph2($displayWarning = true)
{
$session_id = api_get_session_id();
// do some checks on users/items counts, redefine if invalid values
$usertable = [];
- 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 $score_final is not named in camelCase. Open
public function get_data_to_graph2($displayWarning = true)
{
$session_id = api_get_session_id();
// do some checks on users/items counts, redefine if invalid values
$usertable = [];
- 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 $score_final is not named in camelCase. Open
public function get_data_to_graph2($displayWarning = true)
{
$session_id = api_get_session_id();
// do some checks on users/items counts, redefine if invalid values
$usertable = [];
- 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 $total_score is not named in camelCase. Open
public function get_data_to_graph2($displayWarning = true)
{
$session_id = api_get_session_id();
// do some checks on users/items counts, redefine if invalid values
$usertable = [];
- 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 get_total_items_count is not named in camelCase. Open
public function get_total_items_count()
{
return count($this->evals_links);
}
- 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 get_total_users_count is not named in camelCase. Open
public function get_total_users_count()
{
return count($this->users);
}
- 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 get_data is not named in camelCase. Open
public function get_data(
$users_sorting = 0,
$users_start = 0,
$users_count = null,
$items_start = 0,
- 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 get_header_names is not named in camelCase. Open
public function get_header_names($items_start = 0, $items_count = null, $show_detail = false)
{
$headers = [];
if (isset($this->params['show_official_code']) && $this->params['show_official_code']) {
$headers[] = get_lang('Code');
- 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 get_evaluation_items is not named in camelCase. Open
public function get_evaluation_items($items_start = 0, $items_count = null)
{
$headers = [];
if (!isset($items_count)) {
$items_count = count($this->evals_links) - $items_start;
- 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 get_max_result_by_link is not named in camelCase. Open
public function get_max_result_by_link($id)
{
$max = 0;
foreach ($this->users as $user) {
$item = $this->evals_links[$id];
- 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 get_data_to_graph2 is not named in camelCase. Open
public function get_data_to_graph2($displayWarning = true)
{
$session_id = api_get_session_id();
// do some checks on users/items counts, redefine if invalid values
$usertable = [];
- 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_by_last_name is not named in camelCase. Open
public function sort_by_last_name($item1, $item2)
{
return api_strcmp($item1[2], $item2[2]);
}
- 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 get_data_to_graph is not named in camelCase. Open
public function get_data_to_graph()
{
// do some checks on users/items counts, redefine if invalid values
$usertable = [];
foreach ($this->users as $user) {
- 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_by_first_name is not named in camelCase. Open
public function sort_by_first_name($item1, $item2)
{
return api_strcmp($item1[3], $item2[3]);
}
- 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() {
}
}