chamilo/chamilo-lms

View on GitHub
public/main/plagiarism/compilatio/download.php

Summary

Maintainability
A
0 mins
Test Coverage

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

$this_section = SECTION_COURSES;

Spaces must be used for alignment; tabs are not allowed
Open

 *    rewrite mechanism.

Spaces must be used for alignment; tabs are not allowed
Open

 *    Html files are parsed to fix a few problems with URLs,

Spaces must be used for alignment; tabs are not allowed
Open

 *    but this code will hopefully be replaced soon by an Apache URL

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

    $sql = "SELECT * FROM $tbl_student_publication

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

                DocumentManager::file_send_for_download($full_file_name, true, $title);

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

        $full_file_name = $courseInfo['course_sys_path'].$row['url'];

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

        if (0 == $courseInfo['show_score'] || 1 == $item_info['visibility'] && 1 == $row['accepted'] &&

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

        if (empty($item_info)) {

Spaces must be used for alignment; tabs are not allowed
Open

 *    This file is responsible for  passing requested documents to the browser.

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

$current_course_tool = TOOL_STUDENTPUBLICATION;

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

$tbl_student_publication = Database::get_course_table(TABLE_STUDENT_PUBLICATION);

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

            if (Security::check_abs_path($full_file_name, $courseInfo['course_sys_path'])) {

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

        $item_info = api_get_item_property_info($courseId, 'work', $row['id']);

There are no issues that match your filters.

Category
Status