chamilo/chamilo-lms

View on GitHub
public/main/inc/ajax/session.ajax.php

Summary

Maintainability
A
0 mins
Test Coverage

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

            if (!empty($list_sessions)) {

Multi-line function call not indented correctly; expected 24 spaces but found 28
Open

                            $downloadUrl

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

            unset($list_sessions);

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

                foreach ($list_sessions as $session_item) {

Multi-line function call not indented correctly; expected 24 spaces but found 28
Open

                            Display::getMdiIcon(ActionIcon::SAVE_FORM, 'ch-tool-icon', null, ICON_SIZE_SMALL, get_lang('Download')),

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

            $user_id = (int) $_POST['user_id'];

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

                foreach ($list_sessions as $session_item) {

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

            $list_sessions = SessionManager::get_sessions_by_user($user_id, true);

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

            $http_www = api_get_path(WEB_COURSE_PATH).$courseInfo['directory'].'/document';

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

            $list_sessions = SessionManager::get_sessions_by_user($user_id, true);

Multi-line function call not indented correctly; expected 20 spaces but found 24
Open

                        )

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

                    echo $session_item['session_name'].'<br />';

Multi-line function call not indented correctly; expected 24 spaces but found 28
Open

                            Display::getMdiIcon(ActionIcon::SAVE_FORM, 'ch-tool-icon', null, ICON_SIZE_SMALL, get_lang('Download')),

Multi-line function call not indented correctly; expected 20 spaces but found 24
Open

                        )

Multi-line function call not indented correctly; expected 24 spaces but found 28
Open

                            $downloadUrl

There are no issues that match your filters.

Category
Status