chamilo/chamilo-lms

View on GitHub
public/main/user/classes.php

Summary

Maintainability
A
0 mins
Test Coverage

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

    foreach ($usergroup_list as $group_id) {
Severity: Minor
Found in public/main/user/classes.php by phpcodesniffer

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

$usergroup_list = $usergroup->get_usergroup_by_user(api_get_user_id());
Severity: Minor
Found in public/main/user/classes.php by phpcodesniffer

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

        $data = $usergroup->get($group_id);
Severity: Minor
Found in public/main/user/classes.php by phpcodesniffer

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

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

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

    foreach ($usergroup_list as $group_id) {
Severity: Minor
Found in public/main/user/classes.php by phpcodesniffer

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

        if (isset($_GET['id']) && $_GET['id'] != $group_id) {
Severity: Minor
Found in public/main/user/classes.php by phpcodesniffer

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

if (!empty($usergroup_list)) {
Severity: Minor
Found in public/main/user/classes.php by phpcodesniffer

There are no issues that match your filters.

Category
Status