chamilo/chamilo-lms

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

Summary

Maintainability
A
0 mins
Test Coverage

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

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

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

$is_allowed_in_course = api_is_allowed_in_course();
Severity: Minor
Found in public/main/group/group.php by phpcodesniffer

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

$my_group_id = $_GET['group_id'] ?? null;
Severity: Minor
Found in public/main/group/group.php by phpcodesniffer

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

if (isset($_GET['action']) && $is_allowed_in_course) {
Severity: Minor
Found in public/main/group/group.php by phpcodesniffer

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

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

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

    $groupEntity = $groupRepo->find($my_group_id);
Severity: Minor
Found in public/main/group/group.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/group/group.php by phpcodesniffer

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

$my_get_id1 = isset($_GET['id1']) ? Security::remove_XSS($_GET['id1']) : null;
Severity: Minor
Found in public/main/group/group.php by phpcodesniffer

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

                GroupManager::swap_category_order($my_get_id1, $my_get_id2);
Severity: Minor
Found in public/main/group/group.php by phpcodesniffer

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

$my_get_id2 = isset($_GET['id2']) ? Security::remove_XSS($_GET['id2']) : null;
Severity: Minor
Found in public/main/group/group.php by phpcodesniffer

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

                GroupManager::swap_category_order($my_get_id1, $my_get_id2);
Severity: Minor
Found in public/main/group/group.php by phpcodesniffer

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

$groupInfo = GroupManager::get_group_properties($my_group_id);
Severity: Minor
Found in public/main/group/group.php by phpcodesniffer

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

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

There are no issues that match your filters.

Category
Status