public/main/exercise/exercise_result.php
Variable "exercise_stat_info" is not in valid camel caps format Open
Open
if (!empty($exercise_stat_info) && isset($exercise_stat_info['exe_exo_id'])) {
- Exclude checks
Variable "learnpath_id" is not in valid camel caps format Open
Open
if (!empty($learnpath_id) && $saveResults) {
- Exclude checks
Variable "learnpath_item_id" is not in valid camel caps format Open
Open
.'&lp_item_id='.$learnpath_item_id.'&exeId='.$exeId
- Exclude checks
Variable "total_score" is not in valid camel caps format Open
Open
$total_score = $exercise_stat_info['score'];
- Exclude checks
Variable "this_section" is not in valid camel caps format Open
Open
$this_section = SECTION_COURSES;
- Exclude checks
Variable "exercise_stat_info" is not in valid camel caps format Open
Open
$learnpath_item_id = $exercise_stat_info['orig_lp_item_id'] ?? 0;
- Exclude checks
Variable "learnpath_item_view_id" is not in valid camel caps format Open
Open
<input type="hidden" name="learnpath_item_view_id" value="'.$learnpath_item_view_id.'"/>
- Exclude checks
Variable "results_disabled" is not in valid camel caps format Open
Open
$oldResultDisabled = $objExercise->results_disabled;
- Exclude checks
Variable "current_course_tool" is not in valid camel caps format Open
Open
$current_course_tool = TOOL_QUIZ;
- Exclude checks
Variable "exercise_stat_info" is not in valid camel caps format Open
Open
$exercise_stat_info = $objExercise->get_stat_track_exercise_info_by_exe_id($exeId);
- Exclude checks
Variable "attempt_count" is not in valid camel caps format Open
Open
$attempt_count++;
- Exclude checks
Variable "results_disabled" is not in valid camel caps format Open
Open
$objExercise->results_disabled = $oldResultDisabled;
- Exclude checks
Variable "exercise_stat_info" is not in valid camel caps format Open
Open
if (!empty($exercise_stat_info) && isset($exercise_stat_info['exe_exo_id'])) {
- Exclude checks
Variable "exercise_stat_info" is not in valid camel caps format Open
Open
header('Location: overview.php?exerciseId='.$exercise_stat_info['exe_exo_id'].'&'.api_get_cidreq());
- Exclude checks
Variable "exercise_stat_info" is not in valid camel caps format Open
Open
$learnpath_item_view_id = $exercise_stat_info['orig_lp_item_view_id'] ?? 0;
- Exclude checks
Variable "lp_mode" is not in valid camel caps format Open
Open
$href = 'fullscreen' === $lp_mode ? ' window.opener.location.href="'.$url.'" ' : ' top.location.href="'.$url.'"';
- Exclude checks
Variable "learnpath_id" is not in valid camel caps format Open
Open
$learnpath_id = $exercise_stat_info['orig_lp_id'] ?? 0;
- Exclude checks
Variable "learnpath_item_id" is not in valid camel caps format Open
Open
$learnpath_item_id = $exercise_stat_info['orig_lp_item_id'] ?? 0;
- Exclude checks
Variable "learnpath_id" is not in valid camel caps format Open
Open
<input type="hidden" name="learnpath_id" value="'.$learnpath_id.'"/>
- Exclude checks
Variable "learnpath_item_id" is not in valid camel caps format Open
Open
(int) $learnpath_item_id,
- Exclude checks
Variable "learnpath_item_id" is not in valid camel caps format Open
Open
Exercise::saveExerciseInLp($learnpath_item_id, $exeId);
- Exclude checks
Variable "lp_mode" is not in valid camel caps format Open
Open
$lp_mode = Session::read('lp_mode');
- Exclude checks
Variable "attempt_count" is not in valid camel caps format Open
Open
if ($attempt_count >= $objExercise->selectAttempts()) {
- Exclude checks
Multi-line function call not indented correctly; expected 16 spaces but found 12 Open
Open
'warning',
- Exclude checks
Variable "results_disabled" is not in valid camel caps format Open
Open
$objExercise->results_disabled = RESULT_DISABLE_SHOW_SCORE_AND_EXPECTED_ANSWERS;
- Exclude checks
Variable "attempt_count" is not in valid camel caps format Open
Open
$attempt_count++,
- Exclude checks
Variable "exercise_stat_info" is not in valid camel caps format Open
Open
$learnpath_id = $exercise_stat_info['orig_lp_id'] ?? 0;
- Exclude checks
Variable "learnpath_item_view_id" is not in valid camel caps format Open
Open
$learnpath_item_view_id = $exercise_stat_info['orig_lp_item_view_id'] ?? 0;
- Exclude checks
Variable "learnpath_item_id" is not in valid camel caps format Open
Open
<input type="hidden" name="learnpath_item_id" value="'.$learnpath_item_id.'"/>
- Exclude checks
Variable "learnpath_item_id" is not in valid camel caps format Open
Open
'learnpath_item_id' => $learnpath_item_id,
- Exclude checks
Variable "learnpath_id" is not in valid camel caps format Open
Open
(int) $learnpath_id,
- Exclude checks
Variable "exercise_stat_info" is not in valid camel caps format Open
Open
$total_score = $exercise_stat_info['score'];
- Exclude checks
Variable "learnpath_item_id" is not in valid camel caps format Open
Open
$learnpath_item_id
- Exclude checks
Consider putting global function "showEmbeddableFinishButton" in a static class Open
Open
function showEmbeddableFinishButton()
- Exclude checks
Variable "total_score" is not in valid camel caps format Open
Open
$i = $total_score = $maxScore = 0;
- Exclude checks
Variable "exercise_stat_info" is not in valid camel caps format Open
Open
if (!empty($exercise_stat_info)) {
- Exclude checks
Variable "exercise_stat_info" is not in valid camel caps format Open
Open
$exercise_stat_info,
- Exclude checks
Variable "learnpath_id" is not in valid camel caps format Open
Open
$url = '../lp/lp_controller.php?'.api_get_cidreq().'&action=view&lp_id='.$learnpath_id
- Exclude checks
Variable "learnpath_item_id" is not in valid camel caps format Open
Open
Exercise::saveExerciseInLp($learnpath_item_id, $exeId, $courseId);
- Exclude checks
Variable "learnpath_id" is not in valid camel caps format Open
Open
'learnpath_id' => $learnpath_id,
- Exclude checks
Variable "learnpath_item_view_id" is not in valid camel caps format Open
Open
'learnpath_item_view_id' => $learnpath_item_view_id,
- Exclude checks
Variable "attempt_count" is not in valid camel caps format Open
Open
$attempt_count = Event::get_attempt_count(
- Exclude checks
Variable "exercise_stat_info" is not in valid camel caps format Open
Open
$exercise_stat_info = $objExercise->get_stat_track_exercise_info_by_exe_id($exeId);
- Exclude checks
Variable "learnpath_id" is not in valid camel caps format Open
Open
'action_details' => $learnpath_id,
- Exclude checks
Missing function doc comment Open
Open
function showEmbeddableFinishButton()
- Exclude checks
Variable "learnpath_item_view_id" is not in valid camel caps format Open
Open
(int) $learnpath_item_view_id
- Exclude checks
Multi-line function call not indented correctly; expected 16 spaces but found 12 Open
Open
false
- Exclude checks
Variable "total_score" is not in valid camel caps format Open
Open
$total_score = 0;
- Exclude checks
Variable "learnpath_id" is not in valid camel caps format Open
Open
'action' => $learnpath_id,
- Exclude checks
Variable "attempt_count" is not in valid camel caps format Open
Open
$remainingAttempts = $objExercise->selectAttempts() - $attempt_count;
- Exclude checks
Variable "learnpath_id" is not in valid camel caps format Open
Open
$learnpath_id,
- Exclude checks
Variable "learnpath_item_id" is not in valid camel caps format Open
Open
.'&fb_type='.$objExercise->getFeedbackType().'#atoc_'.$learnpath_item_id;
- Exclude checks
Variable "total_score" is not in valid camel caps format Open
Open
$pageBottom .= "<script>window.parent.API.void_save_asset('$total_score', '$maxScore', 0, 'completed');</script>";
- Exclude checks
Multi-line function call not indented correctly; expected 16 spaces but found 12 Open
Open
false
- Exclude checks
Multi-line function call not indented correctly; expected 16 spaces but found 12 Open
Open
'warning',
- Exclude checks