chamilo/chamilo-lms

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

Summary

Maintainability
A
0 mins
Test Coverage

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

$current_group = GroupManager::get_group_properties($group_id);

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

    $self_unregistration_allowed = isset($values['self_unregistration_allowed']) ? 1 : 0;

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

        $max_member,

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

$current_course_tool = TOOL_GROUP;

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

    $self_registration_allowed = isset($values['self_registration_allowed']) ? 1 : 0;

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

        $self_unregistration_allowed,

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

        count($_POST['group_members']) > $max_member &&

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

$this_section = SECTION_COURSES;

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

        $self_registration_allowed,

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

    $keyword_name = Security::remove_XSS($_GET['keyword']);

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

    echo '<br/>'.get_lang('Search results for:').' <span style="font-style: italic ;"> '.$keyword_name.' </span><br>';

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

$group_id = api_get_group_id();

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

    $max_member = $values['max_member'];

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

        $max_member = GroupManager::MEMBER_PER_GROUP_NO_LIMIT;

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

$category = GroupManager::get_category_from_group($current_group['iid']);

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

$defaults = $current_group;

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

$current_group = GroupManager::get_group_properties($group_id);

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

$groupEntity = $groupRepo->find($group_id);

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

        $group_id,

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

        GroupManager::MEMBER_PER_GROUP_NO_LIMIT != $max_member

Expected 0 spaces before closing bracket; newline found
Open

        Display::getMdiIcon(ToolIcon::DOCUMENT, 'ch-tool-icon', null, ICON_SIZE_SMALL, get_lang('DocumentsAccess')

There are no issues that match your filters.

Category
Status