public/main/group/group_category.php
Variable "max_member_no_limit" is not in valid camel caps format Open
Open
if (GroupManager::MEMBER_PER_GROUP_NO_LIMIT == $max_member_no_limit) {
- Exclude checks
Consider putting global function "check_max_number_of_members" in a static class Open
Open
function check_max_number_of_members($value)
- Exclude checks
Variable "course_id" is not in valid camel caps format Open
Open
$course_id = api_get_course_int_id();
- Exclude checks
Variable "max_member" is not in valid camel caps format Open
Open
$max_member = GroupManager::MEMBER_PER_GROUP_NO_LIMIT;
- Exclude checks
Variable "self_unreg_allowed" is not in valid camel caps format Open
Open
$self_unreg_allowed = $values['self_unreg_allowed'] ?? 0;
- Exclude checks
Variable "possible_values" is not in valid camel caps format Open
Open
$possible_values[$i] = $i;
- Exclude checks
Variable "current_course_tool" is not in valid camel caps format Open
Open
$current_course_tool = TOOL_GROUP;
- Exclude checks
Variable "possible_values" is not in valid camel caps format Open
Open
$form->createElement('select', 'groups_per_user', null, $possible_values, ['id' => 'groups_per_user']),
- Exclude checks
Variable "self_reg_allowed" is not in valid camel caps format Open
Open
$self_reg_allowed,
- Exclude checks
Variable "max_member" is not in valid camel caps format Open
Open
$max_member,
- Exclude checks
Missing parameter name Open
Open
* @param $value
- Exclude checks
Variable "possible_values" is not in valid camel caps format Open
Open
$possible_values[GroupManager::GROUP_PER_MEMBER_NO_LIMIT] = get_lang('All');
- Exclude checks
Consider putting global function "check_groups_per_user" in a static class Open
Open
function check_groups_per_user($value)
- Exclude checks
Variable "groups_per_user" is not in valid camel caps format Open
Open
GroupManager::get_current_max_groups_per_user($_POST['id']) > $groups_per_user) {
- Exclude checks
Variable "possible_values" is not in valid camel caps format Open
Open
$possible_values = [];
- Exclude checks
Variable "groups_per_user" is not in valid camel caps format Open
Open
$groups_per_user = (int) $value['groups_per_user'];
- Exclude checks
Variable "max_member" is not in valid camel caps format Open
Open
$max_member = $values['max_member'];
- Exclude checks
Variable "max_member" is not in valid camel caps format Open
Open
$max_member,
- Exclude checks
Variable "max_member_no_limit" is not in valid camel caps format Open
Open
$max_member_no_limit = $value['max_member_no_limit'];
- Exclude checks
Variable "max_member" is not in valid camel caps format Open
Open
$max_member = $value['max_member'];
- Exclude checks
Variable "groups_per_user" is not in valid camel caps format Open
Open
GroupManager::GROUP_PER_MEMBER_NO_LIMIT != $groups_per_user &&
- Exclude checks
Variable "self_reg_allowed" is not in valid camel caps format Open
Open
$self_reg_allowed = $values['self_reg_allowed'] ?? 0;
- Exclude checks
Variable "self_unreg_allowed" is not in valid camel caps format Open
Open
$self_unreg_allowed,
- Exclude checks
Variable "self_unreg_allowed" is not in valid camel caps format Open
Open
$self_unreg_allowed,
- Exclude checks
Variable "this_section" is not in valid camel caps format Open
Open
$this_section = SECTION_COURSES;
- Exclude checks
Variable "max_member" is not in valid camel caps format Open
Open
return is_numeric($max_member);
- Exclude checks
Variable "self_reg_allowed" is not in valid camel caps format Open
Open
$self_reg_allowed,
- Exclude checks
Expected 0 spaces before closing bracket; newline found Open
Open
Display::getMdiIcon(ToolIcon::DOCUMENT, 'ch-tool-icon', null, ICON_SIZE_SMALL, get_lang('DocumentsAccess')
- Exclude checks
The variable $groups_per_user is not named in camelCase. Open
Open
function check_groups_per_user($value)
{
$groups_per_user = (int) $value['groups_per_user'];
if (isset($_POST['id']) &&
GroupManager::GROUP_PER_MEMBER_NO_LIMIT != $groups_per_user &&
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $groups_per_user is not named in camelCase. Open
Open
function check_groups_per_user($value)
{
$groups_per_user = (int) $value['groups_per_user'];
if (isset($_POST['id']) &&
GroupManager::GROUP_PER_MEMBER_NO_LIMIT != $groups_per_user &&
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $groups_per_user is not named in camelCase. Open
Open
function check_groups_per_user($value)
{
$groups_per_user = (int) $value['groups_per_user'];
if (isset($_POST['id']) &&
GroupManager::GROUP_PER_MEMBER_NO_LIMIT != $groups_per_user &&
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $max_member_no_limit is not named in camelCase. Open
Open
function check_max_number_of_members($value)
{
$max_member_no_limit = $value['max_member_no_limit'];
if (GroupManager::MEMBER_PER_GROUP_NO_LIMIT == $max_member_no_limit) {
return true;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $max_member_no_limit is not named in camelCase. Open
Open
function check_max_number_of_members($value)
{
$max_member_no_limit = $value['max_member_no_limit'];
if (GroupManager::MEMBER_PER_GROUP_NO_LIMIT == $max_member_no_limit) {
return true;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $max_member is not named in camelCase. Open
Open
function check_max_number_of_members($value)
{
$max_member_no_limit = $value['max_member_no_limit'];
if (GroupManager::MEMBER_PER_GROUP_NO_LIMIT == $max_member_no_limit) {
return true;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $max_member is not named in camelCase. Open
Open
function check_max_number_of_members($value)
{
$max_member_no_limit = $value['max_member_no_limit'];
if (GroupManager::MEMBER_PER_GROUP_NO_LIMIT == $max_member_no_limit) {
return true;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}