The method getExercisesReporting() has an NPath complexity of 1874880. The configured NPath complexity threshold is 200. Open
public function getExercisesReporting(
$user_id = null,
$filter = 0,
$exercise_id = 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 exportCompleteReportXLS() has an NPath complexity of 3720. The configured NPath complexity threshold is 200. Open
public function exportCompleteReportXLS(
$document_path = '',
$user_id = null,
$export_user_fields = false,
$export_filter = 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 exportCompleteReportCSV() has an NPath complexity of 16896. The configured NPath complexity threshold is 200. Open
public function exportCompleteReportCSV(
$document_path = '',
$user_id = null,
$export_user_fields = false,
$export_filter = 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 getExercisesReporting uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
//revised or not
$sql_exe = "SELECT exe_id
FROM $tblTrackAttemptQualify
WHERE
- 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 exportCompleteReportCSV uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
header('Content-Disposition: attachment; filename= '.$filename);
}
- 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 getExercisesReporting uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
$user_id_and = ' AND te.exe_user_id = '.api_get_user_id().' ';
$orderBy = 'lastname';
if (api_is_western_name_order()) {
$orderBy = 'firstname';
- 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 exportCompleteReportXLS uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
$list[$column][] = api_html_entity_decode(
strip_tags($row['last_name']),
ENT_QUOTES,
$charset
- 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 getExercisesReporting uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
$results[] = $rowx;
}
- 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 exportCompleteReportCSV uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
if (!empty($this->results[0]['lastname'])) {
$data .= get_lang('Last name').';';
}
if (!empty($this->results[0]['firstname'])) {
- 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 getExercisesReporting uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
if ($rowx['exresult'] > $bestAttemptPerUser[$rowx['excruid']]['exresult']) {
$bestAttemptPerUser[$rowx['excruid']] = $rowx;
}
}
- 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 exportCompleteReportXLS uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
$list[0][] = get_lang('Last name');
$list[0][] = 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 getExercisesReporting uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
$students = CourseManager::get_user_list_from_course_code($cid, $sessionId);
}
- 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 getExercisesReporting uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
$return[$i]['is_user_subscribed'] = get_lang('No');
}
- 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 exportCompleteReportCSV uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
$data .= str_replace("\r\n", ' ', api_html_entity_decode(strip_tags($row['lastname']), ENT_QUOTES, $charset)).';';
$data .= str_replace("\r\n", ' ', api_html_entity_decode(strip_tags($row['firstname']), ENT_QUOTES, $charset)).';';
}
- 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 '$document_path'. Open
$document_path = '',
- 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 '$document_path'. Open
$document_path = '',
- 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 '$isWestern'. Open
$isWestern = api_is_western_name_order();
- Read upRead up
- Exclude checks
UnusedLocalVariable
Since: 0.2
Detects when a local variable is declared and/or assigned, but not used.
Example
class Foo {
public function doSomething()
{
$i = 5; // Unused
}
}
Source https://phpmd.org/rules/unusedcode.html#unusedlocalvariable
The parameter $export_user_fields is not named in camelCase. Open
public function exportCompleteReportCSV(
$document_path = '',
$user_id = null,
$export_user_fields = false,
$export_filter = 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 $exercise_id is not named in camelCase. Open
public function getExercisesReporting(
$user_id = null,
$filter = 0,
$exercise_id = 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 $user_id is not named in camelCase. Open
public function getExercisesReporting(
$user_id = null,
$filter = 0,
$exercise_id = 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 $exercise_id is not named in camelCase. Open
public function exportCompleteReportCSV(
$document_path = '',
$user_id = null,
$export_user_fields = false,
$export_filter = 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 $exercise_id is not named in camelCase. Open
public function exportCompleteReportXLS(
$document_path = '',
$user_id = null,
$export_user_fields = false,
$export_filter = 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 $export_filter is not named in camelCase. Open
public function exportCompleteReportCSV(
$document_path = '',
$user_id = null,
$export_user_fields = false,
$export_filter = 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 $export_user_fields is not named in camelCase. Open
public function exportCompleteReportXLS(
$document_path = '',
$user_id = null,
$export_user_fields = false,
$export_filter = 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 $export_filter is not named in camelCase. Open
public function exportCompleteReportXLS(
$document_path = '',
$user_id = null,
$export_user_fields = false,
$export_filter = 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 $hotpotato_name is not named in camelCase. Open
public function exportCompleteReportXLS(
$document_path = '',
$user_id = null,
$export_user_fields = false,
$export_filter = 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 $document_path is not named in camelCase. Open
public function exportCompleteReportXLS(
$document_path = '',
$user_id = null,
$export_user_fields = false,
$export_filter = 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 $user_id is not named in camelCase. Open
public function exportCompleteReportCSV(
$document_path = '',
$user_id = null,
$export_user_fields = false,
$export_filter = 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 $document_path is not named in camelCase. Open
public function exportCompleteReportCSV(
$document_path = '',
$user_id = null,
$export_user_fields = false,
$export_filter = 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 $user_id is not named in camelCase. Open
public function exportCompleteReportXLS(
$document_path = '',
$user_id = null,
$export_user_fields = false,
$export_filter = 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
Variable "TBL_EXERCISES" is not in valid camel caps format Open
FROM $TBL_EXERCISES AS ce
- Exclude checks
Variable "session_id_and" is not in valid camel caps format Open
te.c_id = ce.c_id $user_id_and $session_id_and AND
- Exclude checks
Variable "filter_by_not_revised" is not in valid camel caps format Open
$filter_by_not_revised = true;
- Exclude checks
Variable "user_id" is not in valid camel caps format Open
if (empty($user_id)) {
- Exclude checks
Variable "extra_user_fields" is not in valid camel caps format Open
if (!empty($extra_user_fields)) {
- Exclude checks
Variable "extra_user_fields" is not in valid camel caps format Open
foreach ($extra_user_fields as $field) {
- Exclude checks
Variable "hotpotato_name" is not in valid camel caps format Open
$hotpotato_name
- Exclude checks
Variable "exercise_id" is not in valid camel caps format Open
$exercise_id = 0
- Exclude checks
Variable "TBL_TABLE_LP_MAIN" is not in valid camel caps format Open
LEFT JOIN $TBL_TABLE_LP_MAIN AS tlm
- Exclude checks
Variable "filter_by_not_revised" is not in valid camel caps format Open
$filter_by_not_revised = false;
- Exclude checks
Variable "sql_exe" is not in valid camel caps format Open
$query = Database::query($sql_exe);
- Exclude checks
Variable "export_user_fields" is not in valid camel caps format Open
if ($export_user_fields) {
- Exclude checks
Variable "user_fields_values" is not in valid camel caps format Open
foreach ($user_fields_values as $value) {
- Exclude checks
Variable "document_path" is not in valid camel caps format Open
$document_path = '',
- Exclude checks
Variable "exercise_id" is not in valid camel caps format Open
$exercise_id,
- Exclude checks
Variable "user_id" is not in valid camel caps format Open
$user_id = null,
- Exclude checks
Variable "user_id" is not in valid camel caps format Open
$user_id = (int) $user_id;
- Exclude checks
Variable "user_id" is not in valid camel caps format Open
$user_id = (int) $user_id;
- Exclude checks
Variable "TBL_TABLE_LP_MAIN" is not in valid camel caps format Open
LEFT JOIN $TBL_TABLE_LP_MAIN AS tlm
- Exclude checks
Variable "course_id" is not in valid camel caps format Open
$course_id = api_get_course_int_id();
- Exclude checks
Variable "exercise_id" is not in valid camel caps format Open
$exercise_id = (int) $exercise_id;
- Exclude checks
Variable "session_id_and" is not in valid camel caps format Open
$session_id_and .= " AND exe_exo_id = $exercise_id ";
- Exclude checks
Variable "user_id_and" is not in valid camel caps format Open
$user_id_and = ' AND te.exe_user_id = '.api_get_user_id().' ';
- Exclude checks
Variable "user_id" is not in valid camel caps format Open
$user_id = null,
- Exclude checks
Variable "export_filter" is not in valid camel caps format Open
$export_filter = 0,
- Exclude checks
Variable "user_id" is not in valid camel caps format Open
$user_id,
- Exclude checks
Variable "export_user_fields" is not in valid camel caps format Open
if ($export_user_fields) {
- Exclude checks
Variable "exercise_id" is not in valid camel caps format Open
if (!empty($exercise_id)) {
- Exclude checks
Variable "user_id" is not in valid camel caps format Open
$filename = 'exercise_results_user_'.$user_id.'_'.$now;
- Exclude checks
Variable "export_user_fields" is not in valid camel caps format Open
if ($export_user_fields) {
- Exclude checks
Variable "TBL_USER" is not in valid camel caps format Open
INNER JOIN $TBL_USER AS user
- Exclude checks
Variable "filter_by_revised" is not in valid camel caps format Open
$filter_by_revised = false;
- Exclude checks
Variable "TBL_TRACK_EXERCISES" is not in valid camel caps format Open
$TBL_TRACK_EXERCISES = Database::get_main_table(TABLE_STATISTIC_TRACK_E_EXERCISES);
- Exclude checks
Variable "user_id" is not in valid camel caps format Open
if (empty($user_id)) {
- Exclude checks
Variable "TBL_TRACK_EXERCISES" is not in valid camel caps format Open
INNER JOIN $TBL_TRACK_EXERCISES AS te
- Exclude checks
Variable "exercise_id" is not in valid camel caps format Open
$exercise_id = 0
- Exclude checks
Variable "user_id" is not in valid camel caps format Open
if (!empty($user_id)) {
- Exclude checks
Variable "exercise_id" is not in valid camel caps format Open
$exercise_id = 0,
- Exclude checks
Variable "user_id" is not in valid camel caps format Open
if (!empty($user_id)) {
- Exclude checks
Variable "extra_user_fields" is not in valid camel caps format Open
$extra_user_fields = UserManager::get_extra_fields(
- Exclude checks
Variable "user_id" is not in valid camel caps format Open
$user_id = null,
- Exclude checks
Variable "session_id_and" is not in valid camel caps format Open
$session_id_and = $sessionCondition;
- Exclude checks
Variable "TBL_EXERCISES" is not in valid camel caps format Open
FROM $TBL_EXERCISES AS ce
- Exclude checks
Variable "filter_by_revised" is not in valid camel caps format Open
$filter_by_revised = true;
- Exclude checks
Variable "user_id" is not in valid camel caps format Open
$filename = 'exercise_results_user_'.$user_id.'_'.$now.'.csv';
- Exclude checks
Variable "user_fields_values" is not in valid camel caps format Open
$user_fields_values = UserManager::get_extra_user_data(
- Exclude checks
Variable "extra_user_fields" is not in valid camel caps format Open
foreach ($extra_user_fields as $field) {
- Exclude checks
Variable "TBL_TABLE_LP_MAIN" is not in valid camel caps format Open
$TBL_TABLE_LP_MAIN = Database::get_course_table(TABLE_LP_MAIN);
- Exclude checks
Variable "export_user_fields" is not in valid camel caps format Open
if ($export_user_fields) {
- Exclude checks
Variable "export_user_fields" is not in valid camel caps format Open
$export_user_fields = false,
- Exclude checks
Variable "filter_by_not_revised" is not in valid camel caps format Open
if ($filter_by_not_revised && 1 === $revised) {
- Exclude checks
Variable "filter_by_revised" is not in valid camel caps format Open
if ($filter_by_revised && $revised < 1) {
- Exclude checks
Variable "export_user_fields" is not in valid camel caps format Open
$export_user_fields = false,
- Exclude checks
Variable "export_filter" is not in valid camel caps format Open
$export_filter = 0,
- Exclude checks
Variable "user_fields_values" is not in valid camel caps format Open
if (!empty($user_fields_values)) {
- Exclude checks
Variable "user_id_and" is not in valid camel caps format Open
te.c_id = ce.c_id $user_id_and $session_id_and AND
- Exclude checks
Variable "TBL_TRACK_EXERCISES" is not in valid camel caps format Open
INNER JOIN $TBL_TRACK_EXERCISES AS te
- Exclude checks
Variable "document_path" is not in valid camel caps format Open
$document_path = '',
- Exclude checks
Variable "export_filter" is not in valid camel caps format Open
$export_filter,
- Exclude checks
Variable "exercise_id" is not in valid camel caps format Open
$exercise_id = (int) $exercise_id;
- Exclude checks
Variable "user_id_and" is not in valid camel caps format Open
$user_id_and = null;
- Exclude checks
Variable "session_id_and" is not in valid camel caps format Open
te.c_id = ce.c_id $user_id_and $session_id_and AND
- Exclude checks
Variable "export_filter" is not in valid camel caps format Open
$export_filter,
- Exclude checks
Variable "exercise_id" is not in valid camel caps format Open
$exercise_id
- Exclude checks
Variable "hotpotato_name" is not in valid camel caps format Open
$hotpotato_name = null
- Exclude checks
Variable "TBL_USER" is not in valid camel caps format Open
$TBL_USER = Database::get_main_table(TABLE_MAIN_USER);
- Exclude checks
Variable "exercise_id" is not in valid camel caps format Open
$session_id_and .= " AND exe_exo_id = $exercise_id ";
- Exclude checks
Variable "course_id" is not in valid camel caps format Open
ce.c_id = $course_id AND
- Exclude checks
Variable "TBL_EXERCISES" is not in valid camel caps format Open
$TBL_EXERCISES = Database::get_course_table(TABLE_QUIZ_TEST);
- Exclude checks
Variable "sql_exe" is not in valid camel caps format Open
$sql_exe = "SELECT exe_id
- Exclude checks
Variable "TBL_USER" is not in valid camel caps format Open
INNER JOIN $TBL_USER AS user
- Exclude checks
Variable "course_id" is not in valid camel caps format Open
ce.c_id = $course_id AND
- Exclude checks
Variable "user_id_and" is not in valid camel caps format Open
te.c_id = ce.c_id $user_id_and $session_id_and AND
- Exclude checks
Variable "user_id" is not in valid camel caps format Open
if (empty($user_id)) {
- Exclude checks
Variable "user_id" is not in valid camel caps format Open
$user_id,
- Exclude checks
Variable "extra_user_fields" is not in valid camel caps format Open
$extra_user_fields = UserManager::get_extra_fields(
- Exclude checks
The 'getExercisesReporting()' method which returns a boolean should be named 'is...()' or 'has...()' Open
public function getExercisesReporting(
$user_id = null,
$filter = 0,
$exercise_id = 0
) {
- Read upRead up
- Exclude checks
BooleanGetMethodName
Since: 0.2
Looks for methods named 'getX()' with 'boolean' as the return type. The convention is to name these methods 'isX()' or 'hasX()'.
Example
class Foo {
/**
* @return boolean
*/
public function getFoo() {} // bad
/**
* @return bool
*/
public function isFoo(); // ok
/**
* @return boolean
*/
public function getFoo($bar); // ok, unless checkParameterizedMethods=true
}
Source https://phpmd.org/rules/naming.html#booleangetmethodname
The variable $user_id is not named in camelCase. Open
public function getExercisesReporting(
$user_id = null,
$filter = 0,
$exercise_id = 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 $exercise_id is not named in camelCase. Open
public function getExercisesReporting(
$user_id = null,
$filter = 0,
$exercise_id = 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 $TBL_EXERCISES is not named in camelCase. Open
public function getExercisesReporting(
$user_id = null,
$filter = 0,
$exercise_id = 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 $exercise_id is not named in camelCase. Open
public function exportCompleteReportCSV(
$document_path = '',
$user_id = null,
$export_user_fields = false,
$export_filter = 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 $hotpotato_name is not named in camelCase. Open
public function exportCompleteReportXLS(
$document_path = '',
$user_id = null,
$export_user_fields = false,
$export_filter = 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_user_fields is not named in camelCase. Open
public function exportCompleteReportXLS(
$document_path = '',
$user_id = null,
$export_user_fields = false,
$export_filter = 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 $TBL_TABLE_LP_MAIN is not named in camelCase. Open
public function getExercisesReporting(
$user_id = null,
$filter = 0,
$exercise_id = 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 $exercise_id is not named in camelCase. Open
public function getExercisesReporting(
$user_id = null,
$filter = 0,
$exercise_id = 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 $course_id is not named in camelCase. Open
public function getExercisesReporting(
$user_id = null,
$filter = 0,
$exercise_id = 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_and is not named in camelCase. Open
public function getExercisesReporting(
$user_id = null,
$filter = 0,
$exercise_id = 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 $sql_exe is not named in camelCase. Open
public function getExercisesReporting(
$user_id = null,
$filter = 0,
$exercise_id = 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 exportCompleteReportXLS(
$document_path = '',
$user_id = null,
$export_user_fields = false,
$export_filter = 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 $TBL_TABLE_LP_MAIN is not named in camelCase. Open
public function getExercisesReporting(
$user_id = null,
$filter = 0,
$exercise_id = 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 $TBL_USER is not named in camelCase. Open
public function getExercisesReporting(
$user_id = null,
$filter = 0,
$exercise_id = 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_and is not named in camelCase. Open
public function getExercisesReporting(
$user_id = null,
$filter = 0,
$exercise_id = 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 $filter_by_not_revised is not named in camelCase. Open
public function getExercisesReporting(
$user_id = null,
$filter = 0,
$exercise_id = 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 $sql_exe is not named in camelCase. Open
public function getExercisesReporting(
$user_id = null,
$filter = 0,
$exercise_id = 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 getExercisesReporting(
$user_id = null,
$filter = 0,
$exercise_id = 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 exportCompleteReportXLS(
$document_path = '',
$user_id = null,
$export_user_fields = false,
$export_filter = 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_user_fields is not named in camelCase. Open
public function exportCompleteReportXLS(
$document_path = '',
$user_id = null,
$export_user_fields = false,
$export_filter = 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 $TBL_USER is not named in camelCase. Open
public function getExercisesReporting(
$user_id = null,
$filter = 0,
$exercise_id = 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_and is not named in camelCase. Open
public function getExercisesReporting(
$user_id = null,
$filter = 0,
$exercise_id = 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 $TBL_TRACK_EXERCISES is not named in camelCase. Open
public function getExercisesReporting(
$user_id = null,
$filter = 0,
$exercise_id = 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 $TBL_TABLE_LP_MAIN is not named in camelCase. Open
public function getExercisesReporting(
$user_id = null,
$filter = 0,
$exercise_id = 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 getExercisesReporting(
$user_id = null,
$filter = 0,
$exercise_id = 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 $TBL_TRACK_EXERCISES is not named in camelCase. Open
public function getExercisesReporting(
$user_id = null,
$filter = 0,
$exercise_id = 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 $TBL_USER is not named in camelCase. Open
public function getExercisesReporting(
$user_id = null,
$filter = 0,
$exercise_id = 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 $TBL_EXERCISES is not named in camelCase. Open
public function getExercisesReporting(
$user_id = null,
$filter = 0,
$exercise_id = 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_fields_values is not named in camelCase. Open
public function exportCompleteReportCSV(
$document_path = '',
$user_id = null,
$export_user_fields = false,
$export_filter = 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 getExercisesReporting(
$user_id = null,
$filter = 0,
$exercise_id = 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 exportCompleteReportCSV(
$document_path = '',
$user_id = null,
$export_user_fields = false,
$export_filter = 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_fields_values is not named in camelCase. Open
public function exportCompleteReportCSV(
$document_path = '',
$user_id = null,
$export_user_fields = false,
$export_filter = 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 $extra_user_fields is not named in camelCase. Open
public function exportCompleteReportXLS(
$document_path = '',
$user_id = null,
$export_user_fields = false,
$export_filter = 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 $course_id is not named in camelCase. Open
public function getExercisesReporting(
$user_id = null,
$filter = 0,
$exercise_id = 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 $course_id is not named in camelCase. Open
public function getExercisesReporting(
$user_id = null,
$filter = 0,
$exercise_id = 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 $filter_by_revised is not named in camelCase. Open
public function getExercisesReporting(
$user_id = null,
$filter = 0,
$exercise_id = 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 $extra_user_fields is not named in camelCase. Open
public function exportCompleteReportCSV(
$document_path = '',
$user_id = null,
$export_user_fields = false,
$export_filter = 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 getExercisesReporting(
$user_id = null,
$filter = 0,
$exercise_id = 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_and is not named in camelCase. Open
public function getExercisesReporting(
$user_id = null,
$filter = 0,
$exercise_id = 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 $TBL_EXERCISES is not named in camelCase. Open
public function getExercisesReporting(
$user_id = null,
$filter = 0,
$exercise_id = 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_and is not named in camelCase. Open
public function getExercisesReporting(
$user_id = null,
$filter = 0,
$exercise_id = 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_user_fields is not named in camelCase. Open
public function exportCompleteReportCSV(
$document_path = '',
$user_id = null,
$export_user_fields = false,
$export_filter = 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_user_fields is not named in camelCase. Open
public function exportCompleteReportCSV(
$document_path = '',
$user_id = null,
$export_user_fields = false,
$export_filter = 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_and is not named in camelCase. Open
public function getExercisesReporting(
$user_id = null,
$filter = 0,
$exercise_id = 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 $filter_by_revised is not named in camelCase. Open
public function getExercisesReporting(
$user_id = null,
$filter = 0,
$exercise_id = 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 $extra_user_fields is not named in camelCase. Open
public function exportCompleteReportXLS(
$document_path = '',
$user_id = null,
$export_user_fields = false,
$export_filter = 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 $exercise_id is not named in camelCase. Open
public function getExercisesReporting(
$user_id = null,
$filter = 0,
$exercise_id = 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 exportCompleteReportXLS(
$document_path = '',
$user_id = null,
$export_user_fields = false,
$export_filter = 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 $exercise_id is not named in camelCase. Open
public function getExercisesReporting(
$user_id = null,
$filter = 0,
$exercise_id = 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 $extra_user_fields is not named in camelCase. Open
public function exportCompleteReportCSV(
$document_path = '',
$user_id = null,
$export_user_fields = false,
$export_filter = 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 $extra_user_fields is not named in camelCase. Open
public function exportCompleteReportCSV(
$document_path = '',
$user_id = null,
$export_user_fields = false,
$export_filter = 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 $filter_by_revised is not named in camelCase. Open
public function getExercisesReporting(
$user_id = null,
$filter = 0,
$exercise_id = 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 $filter_by_not_revised is not named in camelCase. Open
public function getExercisesReporting(
$user_id = null,
$filter = 0,
$exercise_id = 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_filter is not named in camelCase. Open
public function exportCompleteReportCSV(
$document_path = '',
$user_id = null,
$export_user_fields = false,
$export_filter = 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_fields_values is not named in camelCase. Open
public function exportCompleteReportCSV(
$document_path = '',
$user_id = null,
$export_user_fields = false,
$export_filter = 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_filter is not named in camelCase. Open
public function exportCompleteReportXLS(
$document_path = '',
$user_id = null,
$export_user_fields = false,
$export_filter = 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_and is not named in camelCase. Open
public function getExercisesReporting(
$user_id = null,
$filter = 0,
$exercise_id = 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 $filter_by_not_revised is not named in camelCase. Open
public function getExercisesReporting(
$user_id = null,
$filter = 0,
$exercise_id = 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_and is not named in camelCase. Open
public function getExercisesReporting(
$user_id = null,
$filter = 0,
$exercise_id = 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 $TBL_TRACK_EXERCISES is not named in camelCase. Open
public function getExercisesReporting(
$user_id = null,
$filter = 0,
$exercise_id = 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 exportCompleteReportCSV(
$document_path = '',
$user_id = null,
$export_user_fields = false,
$export_filter = 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 exportCompleteReportCSV(
$document_path = '',
$user_id = null,
$export_user_fields = false,
$export_filter = 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 $exercise_id is not named in camelCase. Open
public function exportCompleteReportXLS(
$document_path = '',
$user_id = null,
$export_user_fields = false,
$export_filter = 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();
}
}