public/main/inc/ajax/exercise.ajax.php
Variable "session_id" is not in valid camel caps format Open
Open
$session_id = isset($_REQUEST['session_id']) ? (int) $_REQUEST['session_id'] : api_get_session_id();
- Exclude checks
Variable "session_id" is not in valid camel caps format Open
Open
$session_id,
- Exclude checks
Variable "where_condition" is not in valid camel caps format Open
Open
WHERE $where_condition ";
- Exclude checks
Variable "expired_time" is not in valid camel caps format Open
Open
($oExe->expired_time * 60) -
- Exclude checks
Variable "course_code" is not in valid camel caps format Open
Open
$course_code = isset($_REQUEST['cidReq']) ? $_REQUEST['cidReq'] : api_get_course_id();
- Exclude checks
Variable "count_questions" is not in valid camel caps format Open
Open
$count_questions = Database::fetch_array(
- Exclude checks
Variable "result_count" is not in valid camel caps format Open
Open
$result_count,
- Exclude checks
Variable "count_questions" is not in valid camel caps format Open
Open
$count_questions = $count_questions['count_question_id'];
- Exclude checks
Variable "track_exercise" is not in valid camel caps format Open
Open
FROM $track_exercise
- Exclude checks
Variable "total_pages" is not in valid camel caps format Open
Open
$page = $total_pages;
- Exclude checks
Variable "total_pages" is not in valid camel caps format Open
Open
$response->total = $total_pages;
- Exclude checks
Variable "track_exercise" is not in valid camel caps format Open
Open
FROM $track_exercise t
- Exclude checks
Variable "total_pages" is not in valid camel caps format Open
Open
$total_pages = ceil($count / $limit);
- Exclude checks
Variable "current_course_tool" is not in valid camel caps format Open
Open
$current_course_tool = TOOL_QUIZ;
- Exclude checks
Variable "exercise_id" is not in valid camel caps format Open
Open
$where_condition = " orig_lp_id = 0 AND exe_exo_id = $exercise_id AND start_date > '$now' ";
- Exclude checks
Variable "where_condition" is not in valid camel caps format Open
Open
WHERE t.status = 'incomplete' AND $where_condition
- Exclude checks
Variable "session_id" is not in valid camel caps format Open
Open
$session_id = (!empty($_GET['session_id'])) ? (int) $_GET['session_id'] : 0;
- Exclude checks
Variable "exercise_id" is not in valid camel caps format Open
Open
$exercise_id = (int) $_GET['exercise_id'];
- Exclude checks
Variable "track_exercise" is not in valid camel caps format Open
Open
$track_exercise = Database::get_main_table(TABLE_STATISTIC_TRACK_E_EXERCISES);
- Exclude checks
Variable "track_attempt" is not in valid camel caps format Open
Open
$track_attempt = Database::get_main_table(TABLE_STATISTIC_TRACK_E_ATTEMPT);
- Exclude checks
Variable "total_pages" is not in valid camel caps format Open
Open
$total_pages = 0;
- Exclude checks
Variable "user_table" is not in valid camel caps format Open
Open
$user_table = Database::get_main_table(TABLE_MAIN_USER);
- Exclude checks
Variable "where_condition" is not in valid camel caps format Open
Open
$where_condition = " orig_lp_id = 0 AND exe_exo_id = $exercise_id AND start_date > '$now' ";
- Exclude checks
Variable "count_questions" is not in valid camel caps format Open
Open
$count_questions = $count_questions['count_question_id'];
- Exclude checks
Variable "expired_time" is not in valid camel caps format Open
Open
if (!empty($oExe->expired_time)) {
- Exclude checks
Variable "track_attempt" is not in valid camel caps format Open
Open
LEFT JOIN $track_attempt a
- Exclude checks
Variable "exercise_id" is not in valid camel caps format Open
Open
$oExe->read($exercise_id);
- Exclude checks
Variable "result_count" is not in valid camel caps format Open
Open
$result_count = Database::query($sql);
- Exclude checks
Variable "total_pages" is not in valid camel caps format Open
Open
if ($page > $total_pages) {
- Exclude checks
Variable "user_table" is not in valid camel caps format Open
Open
FROM $user_table u
- Exclude checks
Variable "track_attempt" is not in valid camel caps format Open
Open
FROM $track_attempt a
- Exclude checks
Variable "course_id" is not in valid camel caps format Open
Open
$course_id,
- Exclude checks
Variable "count_questions" is not in valid camel caps format Open
Open
$row['count_questions'] = $count_questions;
- Exclude checks
Variable "course_id" is not in valid camel caps format Open
Open
$course_id = api_get_course_int_id();
- Exclude checks
Variable "course_id" is not in valid camel caps format Open
Open
$course_id = (isset($_GET['course_id']) && !empty($_GET['course_id'])) ? (int) $_GET['course_id'] : 0;
- Exclude checks
CASE statements must be defined using a colon Open
Open
case 'get_live_stats':
- Exclude checks
Variable "TBL_QUESTIONS" is not in valid camel caps format Open
Open
$TBL_QUESTIONS = Database::get_course_table(TABLE_QUIZ_TEST_QUESTION);
- Exclude checks
Variable "exercise_id" is not in valid camel caps format Open
Open
$exercise_id,
- Exclude checks
Variable "learnpath_id" is not in valid camel caps format Open
Open
$learnpath_id = isset($_REQUEST['learnpath_id']) ? (int) $_REQUEST['learnpath_id'] : 0;
- Exclude checks
Variable "exercise_stat_info" is not in valid camel caps format Open
Open
$exercise_id = $exercise_stat_info['exe_exo_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 "remind_list" is not in valid camel caps format Open
Open
if (isset($remind_list[0])) {
- Exclude checks
Variable "question_list" is not in valid camel caps format Open
Open
foreach ($question_list as $my_question_id) {
- Exclude checks
Variable "my_question_id" is not in valid camel caps format Open
Open
if ('simple' === $type && $question_id != $my_question_id) {
- Exclude checks
Variable "my_question_id" is not in valid camel caps format Open
Open
error_log('Skipping question '.$my_question_id.' in single-question save action');
- Exclude checks
Variable "my_choice" is not in valid camel caps format Open
Open
$my_choice = isset($_REQUEST['free_choice'][$my_question_id]) && !empty($_REQUEST['free_choice'][$my_question_id])
- Exclude checks
Variable "exercise_id" is not in valid camel caps format Open
Open
$exercise_id,
- Exclude checks
Variable "course_info" is not in valid camel caps format Open
Open
$course_info = api_get_course_info_by_id($course_id);
- Exclude checks
Variable "course_id" is not in valid camel caps format Open
Open
$course_id = $course_info['real_id'];
- Exclude checks
Variable "exercise_stat_info" is not in valid camel caps format Open
Open
if (!empty($exercise_stat_info)) {
- Exclude checks
Variable "remind_list" is not in valid camel caps format Open
Open
$remind_list = $new_list;
- Exclude checks
Variable "bd_reminder_list" is not in valid camel caps format Open
Open
array_push($bd_reminder_list, $remind_list[0]);
- Exclude checks
Variable "my_question_id" is not in valid camel caps format Open
Open
foreach ($question_list as $my_question_id) {
- Exclude checks
Variable "my_question_id" is not in valid camel caps format Open
Open
foreach ($question_list as $my_question_id) {
- Exclude checks
Variable "my_question_id" is not in valid camel caps format Open
Open
$my_choice = isset($choice[$my_question_id]) ? $choice[$my_question_id] : null;
- Exclude checks
Variable "my_question_id" is not in valid camel caps format Open
Open
$objQuestionTmp = Question::read($my_question_id, $objExercise->course);
- Exclude checks
Variable "my_question_id" is not in valid camel caps format Open
Open
$myChoiceDegreeCertainty = $choiceDegreeCertainty[$my_question_id];
- Exclude checks
Variable "my_question_id" is not in valid camel caps format Open
Open
$hotspot_delineation_result = $_SESSION['hotspot_delineation_result'][$objExercise->getId()][$my_question_id];
- Exclude checks
Variable "my_question_id" is not in valid camel caps format Open
Open
if (isset($attemptList) && !empty($attemptList[$my_question_id])) {
- Exclude checks
Variable "session_id" is not in valid camel caps format Open
Open
$session_id,
- Exclude checks
Variable "course_id" is not in valid camel caps format Open
Open
$course_id,
- Exclude checks
Variable "exercise_stat_info" is not in valid camel caps format Open
Open
$duration = $exercise_stat_info['exe_duration'];
- Exclude checks
Multi-line function call not indented correctly; expected 20 spaces but found 24 Open
Open
).' ['.($h > 0 ? $h.':' : '').sprintf('%02d', $m).':'.sprintf('%02d', $s).']';
- Exclude checks
Variable "learnpath_item_id" is not in valid camel caps format Open
Open
$learnpath_item_id = isset($_REQUEST['learnpath_item_id']) ? (int) $_REQUEST['learnpath_item_id'] : 0;
- Exclude checks
Variable "bd_reminder_list" is not in valid camel caps format Open
Open
$bd_reminder_list = explode(',', $exercise_stat_info['questions_to_check']);
- Exclude checks
Variable "question_list" is not in valid camel caps format Open
Open
foreach ($question_list as $my_question_id) {
- Exclude checks
Variable "my_question_id" is not in valid camel caps format Open
Open
$my_choice = isset($_REQUEST['free_choice'][$my_question_id]) && !empty($_REQUEST['free_choice'][$my_question_id])
- Exclude checks
Variable "my_question_id" is not in valid camel caps format Open
Open
$total_score -= $attemptList[$my_question_id]['marks'];
- Exclude checks
Variable "my_question_id" is not in valid camel caps format Open
Open
$my_question_id,
- Exclude checks
Multi-line function call not indented correctly; expected 24 spaces but found 28 Open
Open
$row['start_date'],
- Exclude checks
Variable "new_list" is not in valid camel caps format Open
Open
foreach ($new_list as $new_order_id) {
- Exclude checks
Variable "exercise_id" is not in valid camel caps format Open
Open
$exercise_id = isset($_REQUEST['exercise_id']) ? (int) $_REQUEST['exercise_id'] : null;
- Exclude checks
Variable "new_question_list" is not in valid camel caps format Open
Open
foreach ($new_question_list as $new_order_id) {
- Exclude checks
Variable "session_id" is not in valid camel caps format Open
Open
$course_id.'/'.$session_id.
- Exclude checks
Variable "my_question_id" is not in valid camel caps format Open
Open
foreach ($question_list as $my_question_id) {
- Exclude checks
Variable "my_question_id" is not in valid camel caps format Open
Open
if (isset($attemptList[$my_question_id]) &&
- Exclude checks
Variable "hot_spot_coordinates" is not in valid camel caps format Open
Open
$hot_spot_coordinates,
- Exclude checks
Variable "exercise_stat_info" is not in valid camel caps format Open
Open
$exercise_stat_info['orig_lp_item_id']
- Exclude checks
Variable "session_id" is not in valid camel caps format Open
Open
$session_id,
- Exclude checks
Variable "exercise_stat_info" is not in valid camel caps format Open
Open
$exercise_stat_info['orig_lp_id'],
- Exclude checks
Variable "exercise_stat_info" is not in valid camel caps format Open
Open
$exercise_stat_info['orig_lp_item_id'],
- Exclude checks
Variable "new_list" is not in valid camel caps format Open
Open
$new_list = $_REQUEST['exercise_list'];
- Exclude checks
Variable "new_order_id" is not in valid camel caps format Open
Open
foreach ($new_question_list as $new_order_id) {
- Exclude checks
Variable "TBL_QUESTIONS" is not in valid camel caps format Open
Open
$TBL_QUESTIONS,
- Exclude checks
Variable "my_question_id" is not in valid camel caps format Open
Open
$objQuestionTmp = Question::read($my_question_id, $objExercise->course);
- Exclude checks
Variable "my_question_id" is not in valid camel caps format Open
Open
? $_REQUEST['free_choice'][$my_question_id]
- Exclude checks
Variable "hotspot_delineation_result" is not in valid camel caps format Open
Open
$hotspot_delineation_result = null;
- Exclude checks
Variable "my_question_id" is not in valid camel caps format Open
Open
$my_question_id
- Exclude checks
Variable "total_score" is not in valid camel caps format Open
Open
$total_score -= $attemptList[$my_question_id]['marks'];
- Exclude checks
Variable "hotspot_delineation_result" is not in valid camel caps format Open
Open
$hotspot_delineation_result,
- Exclude checks
Variable "total_score" is not in valid camel caps format Open
Open
error_log("total_score: $total_score ");
- Exclude checks
Variable "exercise_stat_info" is not in valid camel caps format Open
Open
if (!empty($exercise_stat_info['exe_duration'])) {
- Exclude checks
Variable "exercise_stat_info" is not in valid camel caps format Open
Open
$exercise_stat_info['orig_lp_item_view_id'],
- Exclude checks
Variable "course_info" is not in valid camel caps format Open
Open
$course_info = api_get_course_info_by_id($course_id);
- Exclude checks
Variable "remind_list" is not in valid camel caps format Open
Open
error_log('remind_list = '.print_r($remind_list, 1));
- 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 "remind_list" is not in valid camel caps format Open
Open
$remind_list = $bd_reminder_list;
- Exclude checks
Variable "remind_list" is not in valid camel caps format Open
Open
array_push($bd_reminder_list, $remind_list[0]);
- Exclude checks
Variable "total_weight" is not in valid camel caps format Open
Open
$total_weight = 0;
- Exclude checks
Variable "my_question_id" is not in valid camel caps format Open
Open
$my_choice = isset($_REQUEST['free_choice'][$my_question_id]) && !empty($_REQUEST['free_choice'][$my_question_id])
- Exclude checks
Variable "course_id" is not in valid camel caps format Open
Open
$course_id,
- Exclude checks
Variable "total_score" is not in valid camel caps format Open
Open
$total_score += $result['score'];
- Exclude checks
Variable "total_score" is not in valid camel caps format Open
Open
$total_score,
- Exclude checks
Variable "course_id" is not in valid camel caps format Open
Open
$course_info = api_get_course_info_by_id($course_id);
- Exclude checks
Variable "exercise_id" is not in valid camel caps format Open
Open
$exercise_id = $exercise_stat_info['exe_exo_id'];
- Exclude checks
Variable "my_choice" is not in valid camel caps format Open
Open
$my_choice = isset($choice[$my_question_id]) ? $choice[$my_question_id] : null;
- Exclude checks
Variable "my_question_id" is not in valid camel caps format Open
Open
error_log("Question duration = 0, in exeId: $exeId, question_id: $my_question_id");
- Exclude checks
Variable "exercise_stat_info" is not in valid camel caps format Open
Open
if (!empty($exercise_stat_info['exe_duration'])) {
- Exclude checks
Variable "course_info" is not in valid camel caps format Open
Open
$course_id = $course_info['real_id'];
- Exclude checks
Variable "course_id" is not in valid camel caps format Open
Open
$course_info = api_get_course_info_by_id($course_id);
- Exclude checks
Variable "hot_spot_coordinates" is not in valid camel caps format Open
Open
$hot_spot_coordinates = isset($_REQUEST['hotspot']) ? $_REQUEST['hotspot'] : [];
- Exclude checks
Variable "remind_list" is not in valid camel caps format Open
Open
if (empty($remind_list)) {
- Exclude checks
Variable "remind_list" is not in valid camel caps format Open
Open
$remind_list = $bd_reminder_list;
- Exclude checks
Variable "bd_reminder_list" is not in valid camel caps format Open
Open
$remind_list = $bd_reminder_list;
- Exclude checks
Variable "old_result" is not in valid camel caps format Open
Open
$total_score = $total_score - $old_result['score'];
- Exclude checks
Multi-line function call not indented correctly; expected 24 spaces but found 28 Open
Open
DATE_TIME_FORMAT_LONG
- Exclude checks
Variable "remind_list" is not in valid camel caps format Open
Open
$remind_list = isset($_REQUEST['remind_list']) && !empty($_REQUEST['remind_list'])
- Exclude checks
Variable "session_id" is not in valid camel caps format Open
Open
$sql = "DELETE FROM $table WHERE session_id = $session_id AND c_id = $course_id";
- Exclude checks
Variable "bd_reminder_list" is not in valid camel caps format Open
Open
if (!in_array($remind_list[0], $bd_reminder_list)) {
- Exclude checks
Variable "course_id" is not in valid camel caps format Open
Open
$sql = "DELETE FROM $table WHERE session_id = $session_id AND c_id = $course_id";
- Exclude checks
Variable "total_weight" is not in valid camel caps format Open
Open
$total_weight += $objQuestionTmp->selectWeighting();
- Exclude checks
Variable "course_id" is not in valid camel caps format Open
Open
'c_id' => $course_id,
- Exclude checks
Variable "course_id" is not in valid camel caps format Open
Open
$course_id = $course_info['real_id'];
- Exclude checks
Variable "exercise_stat_info" is not in valid camel caps format Open
Open
$exeId = $exercise_stat_info['exe_id'];
- Exclude checks
Variable "remind_list" is not in valid camel caps format Open
Open
if (!in_array($remind_list[0], $bd_reminder_list)) {
- Exclude checks
Variable "expired_time" is not in valid camel caps format Open
Open
if (0 != $objExercise->expired_time) {
- Exclude checks
Variable "my_question_id" is not in valid camel caps format Open
Open
$my_choice = isset($choice[$my_question_id]) ? $choice[$my_question_id] : null;
- Exclude checks
Variable "hotspot_delineation_result" is not in valid camel caps format Open
Open
$hotspot_delineation_result = $_SESSION['hotspot_delineation_result'][$objExercise->getId()][$my_question_id];
- Exclude checks
Variable "old_result" is not in valid camel caps format Open
Open
$old_result = $objExercise->manage_answer(
- Exclude checks
Variable "session_id" is not in valid camel caps format Open
Open
$session_id,
- Exclude checks
Variable "my_question_id" is not in valid camel caps format Open
Open
isset($attemptList[$my_question_id]['marks'])
- Exclude checks
Variable "my_choice" is not in valid camel caps format Open
Open
$my_choice,
- Exclude checks
Variable "exercise_id" is not in valid camel caps format Open
Open
if (empty($exercise_id)) {
- Exclude checks
Variable "hot_spot_coordinates" is not in valid camel caps format Open
Open
error_log('hot_spot_coordinates = '.print_r($hot_spot_coordinates, 1));
- Exclude checks
Variable "exercise_stat_info" is not in valid camel caps format Open
Open
$bd_reminder_list = explode(',', $exercise_stat_info['questions_to_check']);
- Exclude checks
Variable "new_list" is not in valid camel caps format Open
Open
$new_list = [];
- Exclude checks
Variable "bd_reminder_list" is not in valid camel caps format Open
Open
foreach ($bd_reminder_list as $item) {
- Exclude checks
Variable "my_question_id" is not in valid camel caps format Open
Open
$my_question_id,
- Exclude checks
Variable "question_list" is not in valid camel caps format Open
Open
$question_list = Session::read('questionList');
- Exclude checks
Variable "learnpath_item_id" is not in valid camel caps format Open
Open
$learnpath_item_id
- Exclude checks
Variable "question_id" is not in valid camel caps format Open
Open
if ('simple' === $type && $question_id != $my_question_id) {
- Exclude checks
Variable "total_score" is not in valid camel caps format Open
Open
$total_score = $total_score - $old_result['score'];
- Exclude checks
Variable "my_question_id" is not in valid camel caps format Open
Open
$my_question_id,
- Exclude checks
Variable "hotspot_delineation_result" is not in valid camel caps format Open
Open
$hotspot_delineation_result,
- Exclude checks
Variable "total_weight" is not in valid camel caps format Open
Open
error_log("total_weight: $total_weight ");
- 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 "exercise_stat_info" is not in valid camel caps format Open
Open
$duration += $exercise_stat_info['exe_duration'];
- Exclude checks
Variable "bd_reminder_list" is not in valid camel caps format Open
Open
$remind_list = $bd_reminder_list;
- Exclude checks
Variable "question_id" is not in valid camel caps format Open
Open
if ($item != $question_id) {
- Exclude checks
Variable "new_list" is not in valid camel caps format Open
Open
$new_list[] = $item;
- Exclude checks
Variable "learnpath_id" is not in valid camel caps format Open
Open
$learnpath_id,
- Exclude checks
Variable "my_question_id" is not in valid camel caps format Open
Open
$my_question_id
- Exclude checks
Variable "my_choice" is not in valid camel caps format Open
Open
$myChoiceTmp['choice'] = $my_choice;
- Exclude checks
Variable "exercise_stat_info" is not in valid camel caps format Open
Open
$exercise_stat_info['orig_lp_id'],
- Exclude checks
Variable "new_order_id" is not in valid camel caps format Open
Open
'exercise_id' => (int) $new_order_id,
- Exclude checks
Variable "new_question_list" is not in valid camel caps format Open
Open
$new_question_list = $_POST['question_id_list'];
- Exclude checks
Variable "new_order_id" is not in valid camel caps format Open
Open
(int) $new_order_id,
- Exclude checks
Variable "course_info" is not in valid camel caps format Open
Open
$course_id = $course_info['real_id'];
- Exclude checks
Variable "question_id" is not in valid camel caps format Open
Open
$question_id = isset($_REQUEST['question_id']) ? (int) $_REQUEST['question_id'] : null;
- Exclude checks
Variable "question_list" is not in valid camel caps format Open
Open
if (empty($question_list) || empty($objExercise)) {
- Exclude checks
Variable "new_list" is not in valid camel caps format Open
Open
$remind_list = $new_list;
- Exclude checks
Variable "question_list" is not in valid camel caps format Open
Open
foreach ($question_list as $my_question_id) {
- Exclude checks
Variable "total_score" is not in valid camel caps format Open
Open
$total_score = $total_score - $old_result['score'];
- Exclude checks
Variable "total_weight" is not in valid camel caps format Open
Open
$total_weight,
- Exclude checks
Variable "session_id" is not in valid camel caps format Open
Open
'session_id' => $session_id,
- Exclude checks
Variable "course_id" is not in valid camel caps format Open
Open
$course_id.'/'.$session_id.
- Exclude checks
Variable "my_question_id" is not in valid camel caps format Open
Open
if (!empty($choice[$my_question_id])) {
- Exclude checks
Variable "my_question_id" is not in valid camel caps format Open
Open
if (isset($choiceDegreeCertainty[$my_question_id])) {
- Exclude checks
Variable "new_order_id" is not in valid camel caps format Open
Open
foreach ($new_list as $new_order_id) {
- Exclude checks
Variable "question_list" is not in valid camel caps format Open
Open
if (empty($question_list)) {
- Exclude checks
Variable "total_score" is not in valid camel caps format Open
Open
$total_score = $exercise_stat_info['score'];
- Exclude checks
Variable "total_weight" is not in valid camel caps format Open
Open
$total_weight += $objQuestionTmp->selectWeighting();
- Exclude checks
Variable "my_question_id" is not in valid camel caps format Open
Open
error_log("delete_attempt exe_id : $exeId, my_question_id: $my_question_id");
- Exclude checks
Variable "hot_spot_coordinates" is not in valid camel caps format Open
Open
$hot_spot_coordinates,
- Exclude checks
Variable "my_question_id" is not in valid camel caps format Open
Open
unset($questionStart[$my_question_id]);
- Exclude checks
Variable "exercise_stat_info" is not in valid camel caps format Open
Open
$questionsCount = count(explode(',', $exercise_stat_info['data_tracking']));
- Exclude checks
Variable "my_question_id" is not in valid camel caps format Open
Open
if (isset($questionStart[$my_question_id])) {
- Exclude checks
Variable "question_list" is not in valid camel caps format Open
Open
$question_list,
- Exclude checks
Variable "remind_list" is not in valid camel caps format Open
Open
$remind_list
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 16 Open
Open
if (!empty($oExe->expired_time)) {
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 12 Open
Open
if (!empty($limit)) {
- Exclude checks
Line indented incorrectly; expected 4 spaces, found 8 Open
Open
if (!in_array($sord, ['asc', 'desc'])) {
- Exclude checks
Line indented incorrectly; expected 4 spaces, found 8 Open
Open
}
- Exclude checks
Line indented incorrectly; expected 4 spaces, found 8 Open
Open
while ($row = Database::fetch_assoc($result)) {
- Exclude checks
Line indented incorrectly; expected 4 spaces, found 8 Open
Open
if ($count > 0) {
- Exclude checks
Line indented incorrectly; expected 4 spaces, found 8 Open
Open
if (!api_is_allowed_to_edit(null, true)) {
- Exclude checks
Line indented incorrectly; expected 4 spaces, found 8 Open
Open
}
- Exclude checks
Line indented incorrectly; expected 4 spaces, found 8 Open
Open
}
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 12 Open
Open
foreach ($results as $row) {
- Exclude checks
Line indented incorrectly; expected 4 spaces, found 8 Open
Open
}
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 12 Open
Open
}
- Exclude checks
Line indented incorrectly; expected 4 spaces, found 8 Open
Open
}
- Exclude checks
Line indented incorrectly; expected 4 spaces, found 8 Open
Open
}
- Exclude checks
Line indented incorrectly; expected 4 spaces, found 8 Open
Open
}
- Exclude checks
Line indented incorrectly; expected 4 spaces, found 8 Open
Open
if ($page > $total_pages) {
- Exclude checks
Line indented incorrectly; expected 4 spaces, found 8 Open
Open
if ($start < 0) {
- Exclude checks
Line indented incorrectly; expected 4 spaces, found 8 Open
Open
if (!empty($results)) {
- Exclude checks
Line indented incorrectly; expected 4 spaces, found 8 Open
Open
if (!$sidx) {
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 16 Open
Open
}
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 12 Open
Open
switch ($option) {
- Exclude checks
Line indented incorrectly; expected 4 spaces, found 8 Open
Open
}
- Exclude checks
Multi-line function call not indented correctly; expected 24 spaces but found 28 Open
Open
DATE_TIME_FORMAT_LONG
- Exclude checks
Line indented incorrectly; expected 12 spaces, found 16 Open
Open
case 'remove_all':
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 12 Open
Open
}
- Exclude checks
Multi-line function call not indented correctly; expected 20 spaces but found 24 Open
Open
).' ['.($h > 0 ? $h.':' : '').sprintf('%02d', $m).':'.sprintf('%02d', $s).']';
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 12 Open
Open
}
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 16 Open
Open
} else {
- Exclude checks
Line indented incorrectly; expected 12 spaces, found 16 Open
Open
default:
- Exclude checks
Multi-line function call not indented correctly; expected 24 spaces but found 28 Open
Open
$row['start_date'],
- Exclude checks
Line indented incorrectly; expected 12 spaces, found 16 Open
Open
case 'add_all':
- Exclude checks