chamilo/chamilo-lms

View on GitHub
public/main/exercise/result.php

Summary

Maintainability
A
0 mins
Test Coverage

Variable "show_headers" is not in valid camel caps format
Open

    api_not_allowed($show_headers);

Variable "current_user_id" is not in valid camel caps format
Open

    if ($student_id != $current_user_id) {

Variable "current_course_tool" is not in valid camel caps format
Open

$current_course_tool = TOOL_QUIZ;

Variable "exercise_id" is not in valid camel caps format
Open

$exercise_id = $track_exercise_info['exe_exo_id'];

Variable "student_id" is not in valid camel caps format
Open

if ($student_id === $current_user_id && ExerciseSignaturePlugin::exerciseHasSignatureActivated($objExercise)) {

Variable "exercise_id" is not in valid camel caps format
Open

if (!empty($exercise_id)) {

Variable "track_exercise_info" is not in valid camel caps format
Open

$lpId = (int) $track_exercise_info['orig_lp_id'];

Variable "is_courseTutor" is not in valid camel caps format
Open

$is_allowedToEdit = api_is_allowed_to_edit(null, true) || $is_courseTutor;

Variable "student_id" is not in valid camel caps format
Open

$student_id = (int) $track_exercise_info['exe_user_id'];

Variable "show_headers" is not in valid camel caps format
Open

        api_not_allowed($show_headers);

Variable "track_exercise_info" is not in valid camel caps format
Open

    $signature = ExerciseSignaturePlugin::getSignature($current_user_id, $track_exercise_info);

Variable "track_exercise_info" is not in valid camel caps format
Open

$track_exercise_info = ExerciseLib::get_exercise_track_exercise_info($id);

Variable "is_courseTutor" is not in valid camel caps format
Open

$is_courseTutor = api_is_course_tutor();

Variable "is_allowedToEdit" is not in valid camel caps format
Open

$is_allowedToEdit = api_is_allowed_to_edit(null, true) || $is_courseTutor;

Variable "track_exercise_info" is not in valid camel caps format
Open

$exercise_id = $track_exercise_info['exe_exo_id'];

Variable "is_allowedToEdit" is not in valid camel caps format
Open

if (!$is_allowedToEdit) {

Variable "show_headers" is not in valid camel caps format
Open

    api_not_allowed($show_headers);

Variable "show_headers" is not in valid camel caps format
Open

if ($show_headers) {

Variable "track_exercise_info" is not in valid camel caps format
Open

                $track_exercise_info,

Variable "track_exercise_info" is not in valid camel caps format
Open

$lpItemId = (int) $track_exercise_info['orig_lp_item_id'];

Variable "show_headers" is not in valid camel caps format
Open

api_protect_course_script($show_headers, false, '', $cid);

Variable "student_id" is not in valid camel caps format
Open

    if ($student_id != $current_user_id) {

Variable "exercise_id" is not in valid camel caps format
Open

    $objExercise->read($exercise_id);

Variable "current_user_id" is not in valid camel caps format
Open

if ($student_id === $current_user_id && ExerciseSignaturePlugin::exerciseHasSignatureActivated($objExercise)) {

Variable "student_id" is not in valid camel caps format
Open

            $studentInfo = api_get_user_info($student_id);

Variable "show_headers" is not in valid camel caps format
Open

$template = new Template('', $show_headers, $show_headers);

Variable "exercise_id" is not in valid camel caps format
Open

    api_get_path(WEB_CODE_PATH).'exercise/overview.php?exerciseId='.$exercise_id.'&'.api_get_cidreq().

Variable "show_headers" is not in valid camel caps format
Open

$show_headers = isset($_REQUEST['show_headers']) ? (int) $_REQUEST['show_headers'] : null;

Variable "show_headers" is not in valid camel caps format
Open

    $show_headers = false;

Variable "track_exercise_info" is not in valid camel caps format
Open

if (empty($track_exercise_info)) {

Variable "track_exercise_info" is not in valid camel caps format
Open

$student_id = (int) $track_exercise_info['exe_user_id'];

Variable "current_user_id" is not in valid camel caps format
Open

$current_user_id = api_get_user_id();

Variable "show_headers" is not in valid camel caps format
Open

$template = new Template('', $show_headers, $show_headers);

Variable "show_headers" is not in valid camel caps format
Open

    api_not_allowed($show_headers);

Variable "current_user_id" is not in valid camel caps format
Open

    $signature = ExerciseSignaturePlugin::getSignature($current_user_id, $track_exercise_info);

Variable "this_section" is not in valid camel caps format
Open

    $this_section = SECTION_COURSES;

Variable "track_exercise_info" is not in valid camel caps format
Open

$lpViewId = (int) $track_exercise_info['orig_lp_item_view_id'];

Opening parenthesis of a multi-line function call must be the last content on the line
Open

            $pdf->content_to_pdf("

There are no issues that match your filters.

Category
Status