chamilo/chamilo-lms

View on GitHub
public/main/link/link.php

Summary

Maintainability
A
0 mins
Test Coverage

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

        $content = Link::listLinksAndCategories($course_id, $session_id, $categoryId, $show, null, false, true);
Severity: Minor
Found in public/main/link/link.php by phpcodesniffer

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

$session_id = api_get_session_id();
Severity: Minor
Found in public/main/link/link.php by phpcodesniffer

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

        $content = Link::listLinksAndCategories($course_id, $session_id, $categoryId, $show, null, false, true);
Severity: Minor
Found in public/main/link/link.php by phpcodesniffer

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

$current_course_tool = TOOL_LINK;
Severity: Minor
Found in public/main/link/link.php by phpcodesniffer

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

$this_section = SECTION_COURSES;
Severity: Minor
Found in public/main/link/link.php by phpcodesniffer

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

$course_id = api_get_course_int_id();
Severity: Minor
Found in public/main/link/link.php by phpcodesniffer

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

        if (!empty($session_id)) {
Severity: Minor
Found in public/main/link/link.php by phpcodesniffer

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

            $sessionInfo = api_get_session_info($session_id);
Severity: Minor
Found in public/main/link/link.php by phpcodesniffer

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

        $content = Link::listLinksAndCategories($course_id, $session_id, $categoryId, $show);
Severity: Minor
Found in public/main/link/link.php by phpcodesniffer

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

        $content = Link::listLinksAndCategories($course_id, $session_id, $categoryId, $show);
Severity: Minor
Found in public/main/link/link.php by phpcodesniffer

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

        $courseInfo = api_get_course_info_by_id($course_id);
Severity: Minor
Found in public/main/link/link.php by phpcodesniffer

There are no issues that match your filters.

Category
Status