chamilo/chamilo-lms

View on GitHub
public/main/forum/viewforum.php

Summary

Maintainability
A
0 mins
Test Coverage

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

        $max_qualify = showQualify('2', $userId, $_GET['id']);

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

                $userInfo = api_get_user_info($row_student_list['id']);

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

$course_id = api_get_course_int_id();

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

                $last_post = $post_date.'<br>'.get_lang('By').' '.displayUserLink(

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

            $id_attach = !empty($attachment_list) ? $attachment_list['id'] : '';

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

if ('liststd' === $my_action &&

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

            $id_attach = !empty($attachment_list) ? $attachment_list['id'] : '';

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

                    $qualificationBlock .= '<td>'.$row_student_list['qualify'].'/'.$max_qualify.'</td>';

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

    (api_is_allowed_to_edit(null, true) || $is_group_tutor)

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

        if (Database::num_rows($student_list) > 0) {

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

                $class_stdlist = 'row_even';

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

                $last_post = $post_date.'<br>'.get_lang('By').' '.displayUserLink($thread->getThreadLastPost()->getUser());

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

                $post_date = api_convert_and_format_date($thread->getThreadLastPost()->getPostDate()->format('Y-m-d H:i:s'));

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

            $student_list = get_thread_users_not_qualify($_GET['id']);

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

            $student_list = get_thread_users_details($_GET['id']);

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

                        .(int) ($_GET['id']).'&user='.$row_student_list['id']

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

                $last_post = $post_date.'<br>'.get_lang('By').' '.displayUserLink($thread->getThreadLastPost()->getUser());

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

                        .'&id_attach='.$id_attach.'">'

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

                    $class_stdlist = 'row_odd';

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

            $student_list = get_thread_users_qualify($_GET['id']);

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

                    $current_qualify_thread = showQualify(

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

$is_group_tutor = false;

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

                        $row_student_list['id'],

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

            $last_post = '';

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

                $post_date = api_convert_and_format_date($thread->getThreadLastPost()->getPostDate()->format('Y-m-d H:i:s'));

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

    $is_group_tutor = GroupManager::isTutorOfGroup(

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

$my_action = $_GET['action'] ?? '';

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

            $nrorow3 = Database::num_rows($student_list);

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

                .Security::remove_XSS(urlencode($my_search)).'">'

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

            while ($row_student_list = Database::fetch_array($student_list)) {

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

                    $qualificationBlock .= '<td>'.$row_student_list['qualify'].'/'.$max_qualify.'</td>';

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

                        .'&user_id='.$row_student_list['id'].'&idtextqualify='

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

            while ($row_student_list = Database::fetch_array($student_list)) {

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

            $id_attach = !empty($attachment_list) ? $attachment_list['id'] : '';

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

                'last_post_by' => $last_post,

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

    'action' => !empty($my_action) ? $my_action : 'list-threads',

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

    'action' => !empty($my_action) ? $my_action : 'list-threads',

Multi-line function call not indented correctly; expected 12 spaces but found 16
Open

                )

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

$my_search = $_GET['search'] ?? '';

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

                $qualificationBlock .= '<tr class="'.$class_stdlist.'"><td>';

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

                        .$current_qualify_thread.'">'

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

            $poster_username = sprintf(get_lang('Login: %s'), $thread->getUser()->getUsername());

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

                        'title' => api_htmlentities($poster_username, ENT_QUOTES),

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

            $last_post = null;

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

                $last_post = $post_date.'<br>'.get_lang('By').' '.displayUserLink(

Multi-line function call not indented correctly; expected 12 spaces but found 16
Open

                )

There are no issues that match your filters.

Category
Status