The method displayQuestionListByAttempt() has an NPath complexity of 102840192. The configured NPath complexity threshold is 200. Open
private function displayQuestionListByAttempt(
Exercise $objExercise,
TrackEExercise $exerciseTracking
): array {
$courseId = api_get_course_int_id();
- 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 class CategorizedExerciseResultStateProvider has a coupling between objects value of 16. Consider to reduce the number of dependencies under 13. Open
class CategorizedExerciseResultStateProvider implements ProviderInterface
{
public function __construct(
private readonly EntityManagerInterface $entityManager,
private readonly AuthorizationCheckerInterface $security,
- Read upRead up
- Exclude checks
CouplingBetweenObjects
Since: 1.1.0
A class with too many dependencies has negative impacts on several quality aspects of a class. This includes quality criteria like stability, maintainability and understandability
Example
class Foo {
/**
* @var \foo\bar\X
*/
private $x = null;
/**
* @var \foo\bar\Y
*/
private $y = null;
/**
* @var \foo\bar\Z
*/
private $z = null;
public function setFoo(\Foo $foo) {}
public function setBar(\Bar $bar) {}
public function setBaz(\Baz $baz) {}
/**
* @return \SplObjectStorage
* @throws \OutOfRangeException
* @throws \InvalidArgumentException
* @throws \ErrorException
*/
public function process(\Iterator $it) {}
// ...
}
Source https://phpmd.org/rules/design.html#couplingbetweenobjects
The method displayQuestionListByAttempt uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
$category_list[$objQuestionTmp->category]['no_answer']++;
}
- 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 '$context'. Open
public function provide(Operation $operation, array $uriVariables = [], array $context = []): array|object|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 parameters such as '$operation'. Open
public function provide(Operation $operation, array $uriVariables = [], array $context = []): array|object|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
The parameter $category_list is not named in camelCase. Open
private static function getStatsTableByAttempt(Exercise $exercise, array $category_list = []): array
{
if (empty($category_list)) {
return [];
}
- 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 "results_disabled" is not in valid camel caps format Open
$objExercise->results_disabled,
- Exclude checks
Variable "show_only_score" is not in valid camel caps format Open
$show_only_score = true;
- Exclude checks
Variable "total_score" is not in valid camel caps format Open
$total_score += $result['score'];
- Exclude checks
Variable "my_total_score" is not in valid camel caps format Open
$category_list[$objQuestionTmp->category]['score'] += $my_total_score;
- Exclude checks
Variable "category_list" is not in valid camel caps format Open
$category_list[$objQuestionTmp->category]['wrong']++;
- Exclude checks
Variable "category_list" is not in valid camel caps format Open
if (!empty($objQuestionTmp->category_list)) {
- Exclude checks
Variable "category_list" is not in valid camel caps format Open
$category_list[$category_id]['total'] += $my_total_weight;
- Exclude checks
Variable "category_was_added_for_this_test" is not in valid camel caps format Open
if (!$category_was_added_for_this_test) {
- Exclude checks
Variable "category_list" is not in valid camel caps format Open
$category_list['total'] = [
- Exclude checks
Variable "category_list" is not in valid camel caps format Open
$category_list['none']['total'],
- Exclude checks
Variable "category_list" is not in valid camel caps format Open
$category_list['none']['total'],
- Exclude checks
Variable "total_weight" is not in valid camel caps format Open
$total_weight += $result['weight'];
- Exclude checks
Variable "my_total_score" is not in valid camel caps format Open
$my_total_score = $result['score'];
- Exclude checks
Variable "my_total_weight" is not in valid camel caps format Open
$scorePassed = ExerciseLib::scorePassed($my_total_score, $my_total_weight);
- Exclude checks
Variable "category_list" is not in valid camel caps format Open
$category_list[$objQuestionTmp->category]['no_answer']++;
- Exclude checks
Variable "total_score" is not in valid camel caps format Open
'score' => $total_score,
- Exclude checks
Variable "total_weight" is not in valid camel caps format Open
'total' => $total_weight,
- Exclude checks
Variable "category_list" is not in valid camel caps format Open
$category_list['none']['score'],
- Exclude checks
Variable "show_only_score" is not in valid camel caps format Open
$show_only_score = false;
- Exclude checks
Variable "results_disabled" is not in valid camel caps format Open
$objExercise->results_disabled,
- Exclude checks
Variable "results_disabled" is not in valid camel caps format Open
if (RESULT_DISABLE_SHOW_SCORE_ATTEMPT_SHOW_ANSWERS_LAST_ATTEMPT === $objExercise->results_disabled) {
- Exclude checks
Variable "question_list" is not in valid camel caps format Open
foreach ($question_list as $questionId) {
- Exclude checks
Variable "my_total_weight" is not in valid camel caps format Open
$my_total_weight = $result['weight'];
- Exclude checks
Variable "category_was_added_for_this_test" is not in valid camel caps format Open
$category_was_added_for_this_test = false;
- Exclude checks
Variable "my_total_score" is not in valid camel caps format Open
if (!empty($my_total_score)) {
- Exclude checks
Variable "category_list" is not in valid camel caps format Open
$category_list[$objQuestionTmp->category]['score'] += $my_total_score;
- Exclude checks
Variable "category_list" is not in valid camel caps format Open
$category_list[$objQuestionTmp->category]['passed']++;
- Exclude checks
Variable "show_only_score" is not in valid camel caps format Open
if (($show_results || $show_only_score) && $showTotalScore) {
- Exclude checks
Variable "category_list" is not in valid camel caps format Open
$category_list['none']['score'] += $my_total_score;
- Exclude checks
Variable "category_id" is not in valid camel caps format Open
$category_list[$category_id]['score'],
- Exclude checks
Variable "category_list" is not in valid camel caps format Open
$category_list[$category_id]['total'],
- Exclude checks
Variable "total_score" is not in valid camel caps format Open
$total_score = $pluginEvaluation->getResultWithFormula(
- Exclude checks
Variable "category_id" is not in valid camel caps format Open
$category_list[$category_id]['total'],
- Exclude checks
Variable "category_list" is not in valid camel caps format Open
$category_list['total']['total'],
- Exclude checks
Variable "question_list" is not in valid camel caps format Open
$question_list = explode(',', $exerciseTracking->getDataTracking());
- Exclude checks
Variable "show_results" is not in valid camel caps format Open
$show_results,
- Exclude checks
Variable "my_total_score" is not in valid camel caps format Open
$category_list[$category_id]['score'] += $my_total_score;
- Exclude checks
Variable "my_total_weight" is not in valid camel caps format Open
$category_list[$category_id]['total'] += $my_total_weight;
- Exclude checks
Variable "category_was_added_for_this_test" is not in valid camel caps format Open
$category_was_added_for_this_test = true;
- Exclude checks
Variable "category_list" is not in valid camel caps format Open
if (isset($category_list['none']) && $category_list['none']['score'] > 0) {
- Exclude checks
Variable "category_list" is not in valid camel caps format Open
if (!isset($category_list[$objQuestionTmp->category])) {
- Exclude checks
Variable "category_list" is not in valid camel caps format Open
$category_list[$objQuestionTmp->category] = [
- Exclude checks
Variable "category_id" is not in valid camel caps format Open
$category_list[$category_id]['score'] += $my_total_score;
- Exclude checks
Variable "show_results" is not in valid camel caps format Open
if (!$show_results && !$show_only_score && RESULT_DISABLE_RADAR !== $objExercise->results_disabled) {
- Exclude checks
Variable "category_list" is not in valid camel caps format Open
if (isset($category_list['none']) && $category_list['none']['score'] > 0) {
- Exclude checks
Variable "total_score" is not in valid camel caps format Open
$total_score = $total_weight = 0;
- Exclude checks
Variable "category_was_added_for_this_test" is not in valid camel caps format Open
$category_was_added_for_this_test = true;
- Exclude checks
Variable "category_id" is not in valid camel caps format Open
foreach ($labelsWithId as $category_id => $title) {
- Exclude checks
Variable "category_id" is not in valid camel caps format Open
if (!isset($category_list[$category_id])) {
- Exclude checks
Variable "category_list" is not in valid camel caps format Open
$category_list[$category_id]['total'],
- Exclude checks
Variable "category_list" is not in valid camel caps format Open
$category_list['total']['total'],
- Exclude checks
Variable "show_results" is not in valid camel caps format Open
$show_results = true;
- Exclude checks
Variable "results_disabled" is not in valid camel caps format Open
$objExercise->results_disabled,
- Exclude checks
Variable "show_only_score" is not in valid camel caps format Open
$show_only_score = false;
- Exclude checks
Variable "my_total_score" is not in valid camel caps format Open
$scorePassed = ExerciseLib::scorePassed($my_total_score, $my_total_weight);
- Exclude checks
Variable "category_id" is not in valid camel caps format Open
foreach ($objQuestionTmp->category_list as $category_id) {
- Exclude checks
Variable "category_list" is not in valid camel caps format Open
return $category_list;
- Exclude checks
Variable "category_list" is not in valid camel caps format Open
foreach ($objQuestionTmp->category_list as $category_id) {
- Exclude checks
Variable "show_results" is not in valid camel caps format Open
$show_results = false;
- Exclude checks
Variable "show_results" is not in valid camel caps format Open
$show_results = true;
- Exclude checks
Variable "results_disabled" is not in valid camel caps format Open
if (RESULT_DISABLE_SHOW_SCORE_ONLY === $objExercise->results_disabled
- Exclude checks
Variable "category_list" is not in valid camel caps format Open
$category_list[$objQuestionTmp->category]['total_questions']++;
- Exclude checks
Variable "category_list" is not in valid camel caps format Open
$category_list[$category_id]['score'],
- Exclude checks
Missing function doc comment Open
public function __construct(
- Exclude checks
Closing brace must be on a line by itself Open
) {}
- Exclude checks
Variable "question_list" is not in valid camel caps format Open
$question_list = array_map('intval', $question_list);
- Exclude checks
Variable "show_only_score" is not in valid camel caps format Open
if (!$show_results && !$show_only_score && RESULT_DISABLE_RADAR !== $objExercise->results_disabled) {
- Exclude checks
Variable "category_id" is not in valid camel caps format Open
$category_list[$category_id]['score'],
- Exclude checks
Variable "show_results" is not in valid camel caps format Open
$show_results = true;
- Exclude checks
Variable "show_results" is not in valid camel caps format Open
if (($show_results || $show_only_score) && $showTotalScore) {
- Exclude checks
Variable "category_list" is not in valid camel caps format Open
$category_list['none']['score'],
- Exclude checks
Variable "category_list" is not in valid camel caps format Open
$category_list = [
- Exclude checks
Variable "my_total_weight" is not in valid camel caps format Open
$category_list[$objQuestionTmp->category]['total'] += $my_total_weight;
- Exclude checks
Variable "category_id" is not in valid camel caps format Open
$category_list[$category_id]['total'] += $my_total_weight;
- Exclude checks
Variable "results_disabled" is not in valid camel caps format Open
if (!$show_results && !$show_only_score && RESULT_DISABLE_RADAR !== $objExercise->results_disabled) {
- Exclude checks
Variable "category_list" is not in valid camel caps format Open
private static function getStatsTableByAttempt(Exercise $exercise, array $category_list = []): array
- Exclude checks
Variable "category_list" is not in valid camel caps format Open
if (!isset($category_list[$category_id])) {
- Exclude checks
Variable "category_list" is not in valid camel caps format Open
$category_list[$category_id]['score'],
- Exclude checks
Variable "exercise_stat_info" is not in valid camel caps format Open
$exercise_stat_info = $objExercise->get_stat_track_exercise_info_by_exe_id(
- Exclude checks
Variable "exercise_stat_info" is not in valid camel caps format Open
if (false === $objExercise->hasResultsAccess($exercise_stat_info)) {
- Exclude checks
Variable "total_weight" is not in valid camel caps format Open
$total_score = $total_weight = 0;
- Exclude checks
Variable "show_only_score" is not in valid camel caps format Open
$show_only_score = true;
- Exclude checks
Variable "show_only_score" is not in valid camel caps format Open
$show_only_score = false;
- Exclude checks
Variable "category_list" is not in valid camel caps format Open
if (empty($category_list)) {
- Exclude checks
Variable "my_total_score" is not in valid camel caps format Open
$category_list['none']['score'] += $my_total_score;
- Exclude checks
Variable "category_id" is not in valid camel caps format Open
$category_list[$category_id]['total'],
- Exclude checks
Variable "category_list" is not in valid camel caps format Open
$category_list['total']['score'],
- Exclude checks
Add a single space around assignment operators Open
declare(strict_types=1);
- Exclude checks
Variable "question_list" is not in valid camel caps format Open
$question_list = array_map('intval', $question_list);
- Exclude checks
Variable "show_only_score" is not in valid camel caps format Open
$show_only_score = false;
- Exclude checks
Variable "results_disabled" is not in valid camel caps format Open
if (RESULT_DISABLE_SHOW_SCORE_ATTEMPT_SHOW_ANSWERS_LAST_ATTEMPT_NO_FEEDBACK === $objExercise->results_disabled) {
- Exclude checks
Variable "show_only_score" is not in valid camel caps format Open
$show_only_score = false;
- Exclude checks
Variable "results_disabled" is not in valid camel caps format Open
$objExercise->results_disabled
- Exclude checks
Variable "category_list" is not in valid camel caps format Open
$category_list[$objQuestionTmp->category]['total'] += $my_total_weight;
- Exclude checks
Variable "category_list" is not in valid camel caps format Open
$category_list[$category_id]['score'] += $my_total_score;
- Exclude checks
Variable "category_list" is not in valid camel caps format Open
$category_list['none']['total'] += $my_total_weight;
- Exclude checks
Variable "my_total_weight" is not in valid camel caps format Open
$category_list['none']['total'] += $my_total_weight;
- Exclude checks
Variable "total_weight" is not in valid camel caps format Open
$total_weight = $pluginEvaluation->getMaxScore();
- Exclude checks
Variable "show_results" is not in valid camel caps format Open
$show_results = true;
- Exclude checks
Variable "category_list" is not in valid camel caps format Open
$category_list['total']['score'],
- Exclude checks
Line indented incorrectly; expected 4 spaces, found 8 Open
private readonly AuthorizationCheckerInterface $security,
- Exclude checks
Line indented incorrectly; expected 4 spaces, found 8 Open
private readonly RequestStack $requestStack
- Exclude checks
Closing brace must be on a line by itself Open
) {}
- Exclude checks
Line indented incorrectly; expected 4 spaces, found 8 Open
private readonly EntityManagerInterface $entityManager,
- Exclude checks
The variable $question_list is not named in camelCase. Open
private function displayQuestionListByAttempt(
Exercise $objExercise,
TrackEExercise $exerciseTracking
): array {
$courseId = api_get_course_int_id();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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_weight is not named in camelCase. Open
private function displayQuestionListByAttempt(
Exercise $objExercise,
TrackEExercise $exerciseTracking
): array {
$courseId = api_get_course_int_id();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $my_total_weight is not named in camelCase. Open
private function displayQuestionListByAttempt(
Exercise $objExercise,
TrackEExercise $exerciseTracking
): array {
$courseId = api_get_course_int_id();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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_results is not named in camelCase. Open
private function displayQuestionListByAttempt(
Exercise $objExercise,
TrackEExercise $exerciseTracking
): array {
$courseId = api_get_course_int_id();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $category_list is not named in camelCase. Open
private function displayQuestionListByAttempt(
Exercise $objExercise,
TrackEExercise $exerciseTracking
): array {
$courseId = api_get_course_int_id();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $category_id is not named in camelCase. Open
private static function getStatsTableByAttempt(Exercise $exercise, array $category_list = []): array
{
if (empty($category_list)) {
return [];
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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_only_score is not named in camelCase. Open
private function displayQuestionListByAttempt(
Exercise $objExercise,
TrackEExercise $exerciseTracking
): array {
$courseId = api_get_course_int_id();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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_only_score is not named in camelCase. Open
private function displayQuestionListByAttempt(
Exercise $objExercise,
TrackEExercise $exerciseTracking
): array {
$courseId = api_get_course_int_id();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $my_total_score is not named in camelCase. Open
private function displayQuestionListByAttempt(
Exercise $objExercise,
TrackEExercise $exerciseTracking
): array {
$courseId = api_get_course_int_id();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $category_list is not named in camelCase. Open
private function displayQuestionListByAttempt(
Exercise $objExercise,
TrackEExercise $exerciseTracking
): array {
$courseId = api_get_course_int_id();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $category_was_added_for_this_test is not named in camelCase. Open
private function displayQuestionListByAttempt(
Exercise $objExercise,
TrackEExercise $exerciseTracking
): array {
$courseId = api_get_course_int_id();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $category_list is not named in camelCase. Open
private function displayQuestionListByAttempt(
Exercise $objExercise,
TrackEExercise $exerciseTracking
): array {
$courseId = api_get_course_int_id();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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_weight is not named in camelCase. Open
private function displayQuestionListByAttempt(
Exercise $objExercise,
TrackEExercise $exerciseTracking
): array {
$courseId = api_get_course_int_id();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $category_id is not named in camelCase. Open
private static function getStatsTableByAttempt(Exercise $exercise, array $category_list = []): array
{
if (empty($category_list)) {
return [];
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $category_id is not named in camelCase. Open
private static function getStatsTableByAttempt(Exercise $exercise, array $category_list = []): array
{
if (empty($category_list)) {
return [];
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $category_list is not named in camelCase. Open
private static function getStatsTableByAttempt(Exercise $exercise, array $category_list = []): array
{
if (empty($category_list)) {
return [];
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $category_list is not named in camelCase. Open
private static function getStatsTableByAttempt(Exercise $exercise, array $category_list = []): array
{
if (empty($category_list)) {
return [];
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $category_list is not named in camelCase. Open
private static function getStatsTableByAttempt(Exercise $exercise, array $category_list = []): array
{
if (empty($category_list)) {
return [];
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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
private function displayQuestionListByAttempt(
Exercise $objExercise,
TrackEExercise $exerciseTracking
): array {
$courseId = api_get_course_int_id();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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_results is not named in camelCase. Open
private function displayQuestionListByAttempt(
Exercise $objExercise,
TrackEExercise $exerciseTracking
): array {
$courseId = api_get_course_int_id();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $category_list is not named in camelCase. Open
private static function getStatsTableByAttempt(Exercise $exercise, array $category_list = []): array
{
if (empty($category_list)) {
return [];
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $category_list is not named in camelCase. Open
private function displayQuestionListByAttempt(
Exercise $objExercise,
TrackEExercise $exerciseTracking
): array {
$courseId = api_get_course_int_id();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $my_total_score is not named in camelCase. Open
private function displayQuestionListByAttempt(
Exercise $objExercise,
TrackEExercise $exerciseTracking
): array {
$courseId = api_get_course_int_id();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $category_id is not named in camelCase. Open
private static function getStatsTableByAttempt(Exercise $exercise, array $category_list = []): array
{
if (empty($category_list)) {
return [];
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $question_list is not named in camelCase. Open
private function displayQuestionListByAttempt(
Exercise $objExercise,
TrackEExercise $exerciseTracking
): array {
$courseId = api_get_course_int_id();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $category_id is not named in camelCase. Open
private function displayQuestionListByAttempt(
Exercise $objExercise,
TrackEExercise $exerciseTracking
): array {
$courseId = api_get_course_int_id();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $category_id is not named in camelCase. Open
private static function getStatsTableByAttempt(Exercise $exercise, array $category_list = []): array
{
if (empty($category_list)) {
return [];
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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_results is not named in camelCase. Open
private function displayQuestionListByAttempt(
Exercise $objExercise,
TrackEExercise $exerciseTracking
): array {
$courseId = api_get_course_int_id();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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_only_score is not named in camelCase. Open
private function displayQuestionListByAttempt(
Exercise $objExercise,
TrackEExercise $exerciseTracking
): array {
$courseId = api_get_course_int_id();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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_results is not named in camelCase. Open
private function displayQuestionListByAttempt(
Exercise $objExercise,
TrackEExercise $exerciseTracking
): array {
$courseId = api_get_course_int_id();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $category_list is not named in camelCase. Open
private function displayQuestionListByAttempt(
Exercise $objExercise,
TrackEExercise $exerciseTracking
): array {
$courseId = api_get_course_int_id();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $category_list is not named in camelCase. Open
private function displayQuestionListByAttempt(
Exercise $objExercise,
TrackEExercise $exerciseTracking
): array {
$courseId = api_get_course_int_id();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $my_total_weight is not named in camelCase. Open
private function displayQuestionListByAttempt(
Exercise $objExercise,
TrackEExercise $exerciseTracking
): array {
$courseId = api_get_course_int_id();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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
private function displayQuestionListByAttempt(
Exercise $objExercise,
TrackEExercise $exerciseTracking
): array {
$courseId = api_get_course_int_id();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $category_list is not named in camelCase. Open
private static function getStatsTableByAttempt(Exercise $exercise, array $category_list = []): array
{
if (empty($category_list)) {
return [];
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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_only_score is not named in camelCase. Open
private function displayQuestionListByAttempt(
Exercise $objExercise,
TrackEExercise $exerciseTracking
): array {
$courseId = api_get_course_int_id();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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_results is not named in camelCase. Open
private function displayQuestionListByAttempt(
Exercise $objExercise,
TrackEExercise $exerciseTracking
): array {
$courseId = api_get_course_int_id();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $category_list is not named in camelCase. Open
private function displayQuestionListByAttempt(
Exercise $objExercise,
TrackEExercise $exerciseTracking
): array {
$courseId = api_get_course_int_id();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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_only_score is not named in camelCase. Open
private function displayQuestionListByAttempt(
Exercise $objExercise,
TrackEExercise $exerciseTracking
): array {
$courseId = api_get_course_int_id();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $question_list is not named in camelCase. Open
private function displayQuestionListByAttempt(
Exercise $objExercise,
TrackEExercise $exerciseTracking
): array {
$courseId = api_get_course_int_id();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $question_list is not named in camelCase. Open
private function displayQuestionListByAttempt(
Exercise $objExercise,
TrackEExercise $exerciseTracking
): array {
$courseId = api_get_course_int_id();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $category_list is not named in camelCase. Open
private static function getStatsTableByAttempt(Exercise $exercise, array $category_list = []): array
{
if (empty($category_list)) {
return [];
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $category_list is not named in camelCase. Open
private static function getStatsTableByAttempt(Exercise $exercise, array $category_list = []): array
{
if (empty($category_list)) {
return [];
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $category_id is not named in camelCase. Open
private static function getStatsTableByAttempt(Exercise $exercise, array $category_list = []): array
{
if (empty($category_list)) {
return [];
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $category_list is not named in camelCase. Open
private static function getStatsTableByAttempt(Exercise $exercise, array $category_list = []): array
{
if (empty($category_list)) {
return [];
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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_stat_info is not named in camelCase. Open
private function displayQuestionListByAttempt(
Exercise $objExercise,
TrackEExercise $exerciseTracking
): array {
$courseId = api_get_course_int_id();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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_results is not named in camelCase. Open
private function displayQuestionListByAttempt(
Exercise $objExercise,
TrackEExercise $exerciseTracking
): array {
$courseId = api_get_course_int_id();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $my_total_weight is not named in camelCase. Open
private function displayQuestionListByAttempt(
Exercise $objExercise,
TrackEExercise $exerciseTracking
): array {
$courseId = api_get_course_int_id();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $my_total_score is not named in camelCase. Open
private function displayQuestionListByAttempt(
Exercise $objExercise,
TrackEExercise $exerciseTracking
): array {
$courseId = api_get_course_int_id();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $category_was_added_for_this_test is not named in camelCase. Open
private function displayQuestionListByAttempt(
Exercise $objExercise,
TrackEExercise $exerciseTracking
): array {
$courseId = api_get_course_int_id();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $category_list is not named in camelCase. Open
private static function getStatsTableByAttempt(Exercise $exercise, array $category_list = []): array
{
if (empty($category_list)) {
return [];
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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_weight is not named in camelCase. Open
private function displayQuestionListByAttempt(
Exercise $objExercise,
TrackEExercise $exerciseTracking
): array {
$courseId = api_get_course_int_id();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $category_list is not named in camelCase. Open
private function displayQuestionListByAttempt(
Exercise $objExercise,
TrackEExercise $exerciseTracking
): array {
$courseId = api_get_course_int_id();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $category_id is not named in camelCase. Open
private function displayQuestionListByAttempt(
Exercise $objExercise,
TrackEExercise $exerciseTracking
): array {
$courseId = api_get_course_int_id();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $category_was_added_for_this_test is not named in camelCase. Open
private function displayQuestionListByAttempt(
Exercise $objExercise,
TrackEExercise $exerciseTracking
): array {
$courseId = api_get_course_int_id();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $my_total_weight is not named in camelCase. Open
private function displayQuestionListByAttempt(
Exercise $objExercise,
TrackEExercise $exerciseTracking
): array {
$courseId = api_get_course_int_id();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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
private function displayQuestionListByAttempt(
Exercise $objExercise,
TrackEExercise $exerciseTracking
): array {
$courseId = api_get_course_int_id();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $category_list is not named in camelCase. Open
private function displayQuestionListByAttempt(
Exercise $objExercise,
TrackEExercise $exerciseTracking
): array {
$courseId = api_get_course_int_id();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $my_total_score is not named in camelCase. Open
private function displayQuestionListByAttempt(
Exercise $objExercise,
TrackEExercise $exerciseTracking
): array {
$courseId = api_get_course_int_id();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $category_list is not named in camelCase. Open
private static function getStatsTableByAttempt(Exercise $exercise, array $category_list = []): array
{
if (empty($category_list)) {
return [];
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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_weight is not named in camelCase. Open
private function displayQuestionListByAttempt(
Exercise $objExercise,
TrackEExercise $exerciseTracking
): array {
$courseId = api_get_course_int_id();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $category_list is not named in camelCase. Open
private function displayQuestionListByAttempt(
Exercise $objExercise,
TrackEExercise $exerciseTracking
): array {
$courseId = api_get_course_int_id();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $my_total_score is not named in camelCase. Open
private function displayQuestionListByAttempt(
Exercise $objExercise,
TrackEExercise $exerciseTracking
): array {
$courseId = api_get_course_int_id();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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_only_score is not named in camelCase. Open
private function displayQuestionListByAttempt(
Exercise $objExercise,
TrackEExercise $exerciseTracking
): array {
$courseId = api_get_course_int_id();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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_only_score is not named in camelCase. Open
private function displayQuestionListByAttempt(
Exercise $objExercise,
TrackEExercise $exerciseTracking
): array {
$courseId = api_get_course_int_id();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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_only_score is not named in camelCase. Open
private function displayQuestionListByAttempt(
Exercise $objExercise,
TrackEExercise $exerciseTracking
): array {
$courseId = api_get_course_int_id();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $my_total_score is not named in camelCase. Open
private function displayQuestionListByAttempt(
Exercise $objExercise,
TrackEExercise $exerciseTracking
): array {
$courseId = api_get_course_int_id();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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_results is not named in camelCase. Open
private function displayQuestionListByAttempt(
Exercise $objExercise,
TrackEExercise $exerciseTracking
): array {
$courseId = api_get_course_int_id();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $category_was_added_for_this_test is not named in camelCase. Open
private function displayQuestionListByAttempt(
Exercise $objExercise,
TrackEExercise $exerciseTracking
): array {
$courseId = api_get_course_int_id();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $category_list is not named in camelCase. Open
private function displayQuestionListByAttempt(
Exercise $objExercise,
TrackEExercise $exerciseTracking
): array {
$courseId = api_get_course_int_id();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $category_list is not named in camelCase. Open
private function displayQuestionListByAttempt(
Exercise $objExercise,
TrackEExercise $exerciseTracking
): array {
$courseId = api_get_course_int_id();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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_results is not named in camelCase. Open
private function displayQuestionListByAttempt(
Exercise $objExercise,
TrackEExercise $exerciseTracking
): array {
$courseId = api_get_course_int_id();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $category_list is not named in camelCase. Open
private static function getStatsTableByAttempt(Exercise $exercise, array $category_list = []): array
{
if (empty($category_list)) {
return [];
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $category_list is not named in camelCase. Open
private static function getStatsTableByAttempt(Exercise $exercise, array $category_list = []): array
{
if (empty($category_list)) {
return [];
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $my_total_weight is not named in camelCase. Open
private function displayQuestionListByAttempt(
Exercise $objExercise,
TrackEExercise $exerciseTracking
): array {
$courseId = api_get_course_int_id();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $category_list is not named in camelCase. Open
private function displayQuestionListByAttempt(
Exercise $objExercise,
TrackEExercise $exerciseTracking
): array {
$courseId = api_get_course_int_id();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $category_list is not named in camelCase. Open
private function displayQuestionListByAttempt(
Exercise $objExercise,
TrackEExercise $exerciseTracking
): array {
$courseId = api_get_course_int_id();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $category_id is not named in camelCase. Open
private function displayQuestionListByAttempt(
Exercise $objExercise,
TrackEExercise $exerciseTracking
): array {
$courseId = api_get_course_int_id();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $category_list is not named in camelCase. Open
private static function getStatsTableByAttempt(Exercise $exercise, array $category_list = []): array
{
if (empty($category_list)) {
return [];
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $category_list is not named in camelCase. Open
private static function getStatsTableByAttempt(Exercise $exercise, array $category_list = []): array
{
if (empty($category_list)) {
return [];
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $category_list is not named in camelCase. Open
private static function getStatsTableByAttempt(Exercise $exercise, array $category_list = []): array
{
if (empty($category_list)) {
return [];
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $category_list is not named in camelCase. Open
private static function getStatsTableByAttempt(Exercise $exercise, array $category_list = []): array
{
if (empty($category_list)) {
return [];
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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_stat_info is not named in camelCase. Open
private function displayQuestionListByAttempt(
Exercise $objExercise,
TrackEExercise $exerciseTracking
): array {
$courseId = api_get_course_int_id();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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
private function displayQuestionListByAttempt(
Exercise $objExercise,
TrackEExercise $exerciseTracking
): array {
$courseId = api_get_course_int_id();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $category_list is not named in camelCase. Open
private function displayQuestionListByAttempt(
Exercise $objExercise,
TrackEExercise $exerciseTracking
): array {
$courseId = api_get_course_int_id();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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_only_score is not named in camelCase. Open
private function displayQuestionListByAttempt(
Exercise $objExercise,
TrackEExercise $exerciseTracking
): array {
$courseId = api_get_course_int_id();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}