chamilo/chamilo-lms

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

Summary

Maintainability
A
0 mins
Test Coverage

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

$current_course_tool = TOOL_QUIZ;

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

if (0 != $objExercise->expired_time && !empty($clock_expired_time)) {

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

$params = "exe_id=$exeId&exerciseId=$exerciseId&learnpath_id=$learnpath_id&learnpath_item_id=$learnpath_item_id&learnpath_item_view_id=$learnpath_item_view_id&".api_get_cidreq();

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

if ($time_control) {

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

$clock_expired_time = ExerciseLib::get_session_time_control_key(

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

$learnpath_item_id = isset($_REQUEST['learnpath_item_id']) ? (int) $_REQUEST['learnpath_item_id'] : 0;

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

    $time_left = api_strtotime($clock_expired_time, 'UTC') - time();

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

$exercise_result = $objExercise->getUserAnswersSavedInExercise($exeId);

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

$params = "exe_id=$exeId&exerciseId=$exerciseId&learnpath_id=$learnpath_id&learnpath_item_id=$learnpath_item_id&learnpath_item_view_id=$learnpath_item_view_id&".api_get_cidreq();

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

    $time_control = true;

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

$learnpath_item_view_id = isset($_REQUEST['learnpath_item_view_id']) ? (int) $_REQUEST['learnpath_item_view_id'] : 0;

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

if ($time_control) {

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

    $time_left = api_strtotime($clock_expired_time, 'UTC') - time();

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

    $htmlHeadXtra[] = $objExercise->showTimeControlJS($time_left);

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

$this_section = SECTION_COURSES;

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

    $learnpath_id,

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

    $learnpath_item_id

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

if ($objExercise->review_answers) {

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

if ($objExercise->review_answers) {

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

if (0 != $objExercise->expired_time && !empty($clock_expired_time)) {

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

$params = "exe_id=$exeId&exerciseId=$exerciseId&learnpath_id=$learnpath_id&learnpath_item_id=$learnpath_item_id&learnpath_item_view_id=$learnpath_item_view_id&".api_get_cidreq();

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

$learnpath_id = isset($_REQUEST['learnpath_id']) ? (int) $_REQUEST['learnpath_id'] : 0;

Multi-line function call not indented correctly; expected 8 spaces but found 4
Open

    get_lang('EndTest'),

Multi-line function call not indented correctly; expected 8 spaces but found 4
Open

    'javascript://',

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

$time_control = false;

Multi-line function call not indented correctly; expected 8 spaces but found 4
Open

    'javascript://',

Multi-line function call not indented correctly; expected 8 spaces but found 4
Open

    ['onclick' => 'final_submit();', 'class' => 'btn btn--warning']

Multi-line function call not indented correctly; expected 8 spaces but found 4
Open

    'javascript://',

Line indented incorrectly; expected at least 4 spaces, found 0
Open

);

Line indented incorrectly; expected 0 spaces, found 4
Open

    if (isset($categoryList[$categoryId])) {

Multi-line function call not indented correctly; expected 8 spaces but found 4
Open

    ['onclick' => 'final_submit();', 'class' => 'btn btn--warning']

Multi-line function call not indented correctly; expected 8 spaces but found 4
Open

    get_lang('EndTest'),

Multi-line function call not indented correctly; expected 8 spaces but found 4
Open

    'javascript://',

Line indented incorrectly; expected 0 spaces, found 4
Open

    }

There are no issues that match your filters.

Category
Status