The function search_users() has an NPath complexity of 77768. The configured NPath complexity threshold is 200. Open
function search_users($needle, $type)
{
$courseId = isset($_GET['course_id']) ? (int) $_GET['course_id'] : 0;
$id_session = isset($_GET['id_session']) ? (int) $_GET['id_session'] : 0;
- Read upRead up
- Exclude checks
NPathComplexity
Since: 0.1
The NPath complexity of a method is the number of acyclic execution paths through that method. A threshold of 200 is generally considered the point where measures should be taken to reduce complexity.
Example
class Foo {
function bar() {
// lots of complicated code
}
}
Source https://phpmd.org/rules/codesize.html#npathcomplexity
Missing class import via use statement (line '91', column '27'). Open
$xajax_response = new xajaxResponse();
- Read upRead up
- Exclude checks
MissingImport
Since: 2.7.0
Importing all external classes in a file through use statements makes them clearly visible.
Example
function make() {
return new \stdClass();
}
Source http://phpmd.org/rules/cleancode.html#MissingImport
The method search_users uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
$return .= '<select id="origin_users" name="nosessionUsersList[]" multiple="multiple" size="15" style="width:360px;">';
while ($user = Database:: fetch_array($rs)) {
$person_name =
$user['lastname'].' '.$user['firstname'].' ('.$user['username'].') '.$user['official_code'];
- Read upRead up
- Exclude checks
ElseExpression
Since: 1.4.0
An if expression with an else branch is basically not necessary. You can rewrite the conditions in a way that the else clause is not necessary and the code becomes simpler to read. To achieve this, use early return statements, though you may need to split the code it several smaller methods. For very simple assignments you could also use the ternary operations.
Example
class Foo
{
public function bar($flag)
{
if ($flag) {
// one branch
} else {
// another branch
}
}
}
Source https://phpmd.org/rules/cleancode.html#elseexpression
The method search_users uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
$return .= '...<br />';
}
- Read upRead up
- Exclude checks
ElseExpression
Since: 1.4.0
An if expression with an else branch is basically not necessary. You can rewrite the conditions in a way that the else clause is not necessary and the code becomes simpler to read. To achieve this, use early return statements, though you may need to split the code it several smaller methods. For very simple assignments you could also use the ternary operations.
Example
class Foo
{
public function bar($flag)
{
if ($flag) {
// one branch
} else {
// another branch
}
}
}
Source https://phpmd.org/rules/cleancode.html#elseexpression
Variable "extra_field" is not in valid camel caps format Open
if (1 == $extra_field[8] && ExtraField::FIELD_TYPE_SELECT == $extra_field[2]) {
- Exclude checks
Variable "extra_field" is not in valid camel caps format Open
'name' => $extra_field[3],
- Exclude checks
Variable "tbl_session_rel_user" is not in valid camel caps format Open
FROM $tbl_session_rel_user su
- Exclude checks
Variable "tbl_session_rel_user" is not in valid camel caps format Open
$tbl_session_rel_user = Database::get_main_table(TABLE_MAIN_SESSION_USER);
- Exclude checks
Variable "cond_user_id" is not in valid camel caps format Open
$cond_user_id = ' AND user.id NOT IN('.implode(",", $user_ids).')';
- Exclude checks
Variable "cond_user_id" is not in valid camel caps format Open
user.status <> 6 $cond_user_id
- Exclude checks
Variable "person_name" is not in valid camel caps format Open
$person_name =
- Exclude checks
Variable "person_name" is not in valid camel caps format Open
.'\',\''.$person_name.' '.'\')">'.$person_name.' </a><br />';
- Exclude checks
Variable "person_name" is not in valid camel caps format Open
.'\',\''.$person_name.' '.'\')">'.$person_name.' </a><br />';
- Exclude checks
Variable "extra_field_list" is not in valid camel caps format Open
$extra_field_list = UserManager::get_extra_fields();
- Exclude checks
Variable "extra_field" is not in valid camel caps format Open
foreach ($extra_field_list as $extra_field) {
- Exclude checks
Variable "order_clause" is not in valid camel caps format Open
$order_clause
- Exclude checks
Variable "access_url_id" is not in valid camel caps format Open
if (-1 != $access_url_id) {
- Exclude checks
Variable "tbl_user" is not in valid camel caps format Open
FROM $tbl_user user
- Exclude checks
Variable "id_session" is not in valid camel caps format Open
'url' => "resume_session.php?id_session=".$id_session,
- Exclude checks
Variable "tbl_user_rel_access_url" is not in valid camel caps format Open
$tbl_user_rel_access_url = Database::get_main_table(TABLE_MAIN_ACCESS_URL_REL_USER);
- Exclude checks
Variable "person_name" is not in valid camel caps format Open
$person_name =
- Exclude checks
Variable "person_name" is not in valid camel caps format Open
$return .= '<option value="'.$user['id'].'">'.$person_name.' </option>';
- Exclude checks
Variable "cond_user_id" is not in valid camel caps format Open
user.status <> 6 $cond_user_id
- Exclude checks
Variable "cond_user_id" is not in valid camel caps format Open
AND user.status <> 6 $cond_user_id
- Exclude checks
Variable "tbl_user" is not in valid camel caps format Open
FROM $tbl_user user
- Exclude checks
Variable "add_type" is not in valid camel caps format Open
$add_type = 'unique';
- Exclude checks
Variable "order_clause" is not in valid camel caps format Open
$order_clause = ' AND user.creator_id = '.api_get_user_id().$order_clause;
- Exclude checks
Variable "user_ids" is not in valid camel caps format Open
$cond_user_id = ' AND user.id NOT IN('.implode(",", $user_ids).')';
- Exclude checks
Variable "id_session" is not in valid camel caps format Open
if (empty($id_session) || empty($courseId)) {
- Exclude checks
Variable "extra_field" is not in valid camel caps format Open
'name' => $extra_field[3],
- Exclude checks
Missing function doc comment Open
function search_users($needle, $type)
- Exclude checks
Variable "id_session" is not in valid camel caps format Open
$id_session = isset($_GET['id_session']) ? (int) $_GET['id_session'] : 0;
- Exclude checks
Variable "order_clause" is not in valid camel caps format Open
$order_clause = ' AND user.creator_id = '.api_get_user_id().$order_clause;
- Exclude checks
Variable "order_clause" is not in valid camel caps format Open
$order_clause
- Exclude checks
Variable "new_field_list" is not in valid camel caps format Open
$new_field_list = [];
- Exclude checks
Variable "tbl_user_rel_access_url" is not in valid camel caps format Open
INNER JOIN $tbl_user_rel_access_url url_user
- Exclude checks
Variable "tbl_session_rel_user" is not in valid camel caps format Open
LEFT OUTER JOIN $tbl_session_rel_user s
- Exclude checks
Variable "tbl_session" is not in valid camel caps format Open
$tbl_session = Database::get_main_table(TABLE_MAIN_SESSION);
- Exclude checks
Variable "tbl_course" is not in valid camel caps format Open
$tbl_course = Database::get_main_table(TABLE_MAIN_COURSE);
- Exclude checks
Consider putting global function "search_users" in a static class Open
function search_users($needle, $type)
- Exclude checks
Variable "xajax_response" is not in valid camel caps format Open
$xajax_response = new xajaxResponse();
- Exclude checks
Variable "order_clause" is not in valid camel caps format Open
$order_clause = ' ORDER BY official_code, lastname, firstname, username';
- Exclude checks
Variable "user_ids" is not in valid camel caps format Open
$user_ids[] = (int) $row[0];
- Exclude checks
Variable "tbl_user" is not in valid camel caps format Open
FROM $tbl_user user
- Exclude checks
Variable "xajax_response" is not in valid camel caps format Open
$xajax_response->addAssign('ajax_list_users_single', 'innerHTML', api_utf8_encode($return));
- Exclude checks
Variable "this_section" is not in valid camel caps format Open
$this_section = SECTION_PLATFORM_ADMIN;
- Exclude checks
Variable "tool_name" is not in valid camel caps format Open
$tool_name = get_lang('Subscribe users to this session');
- Exclude checks
Variable "new_field_list" is not in valid camel caps format Open
$new_field_list[] = [
- Exclude checks
Variable "order_clause" is not in valid camel caps format Open
$order_clause
- Exclude checks
Variable "access_url_id" is not in valid camel caps format Open
access_url_id = '$access_url_id'
- Exclude checks
Variable "extra_field_list" is not in valid camel caps format Open
foreach ($extra_field_list as $extra_field) {
- Exclude checks
Variable "extra_field" is not in valid camel caps format Open
'variable' => $extra_field[1],
- Exclude checks
Variable "extra_field" is not in valid camel caps format Open
'data' => $extra_field[9],
- Exclude checks
Variable "extra_field" is not in valid camel caps format Open
$options = UserManager::get_extra_user_data_for_tags($extra_field[1]);
- Exclude checks
Variable "user_ids" is not in valid camel caps format Open
$user_ids = [];
- Exclude checks
Variable "tbl_session_rel_user" is not in valid camel caps format Open
LEFT OUTER JOIN $tbl_session_rel_user s
- Exclude checks
Variable "person_name" is not in valid camel caps format Open
$person_name =
- Exclude checks
Variable "id_session" is not in valid camel caps format Open
$id_session = isset($_GET['id_session']) ? (int) $_GET['id_session'] : 0;
- Exclude checks
Variable "extra_field_list" is not in valid camel caps format Open
if (is_array($extra_field_list)) {
- Exclude checks
Variable "extra_field" is not in valid camel caps format Open
if (1 == $extra_field[8] && ExtraField::FIELD_TYPE_SELECT == $extra_field[2]) {
- Exclude checks
Variable "extra_field" is not in valid camel caps format Open
if (1 == $extra_field[8] && ExtraField::FIELD_TYPE_TAG == $extra_field[2]) {
- Exclude checks
Variable "order_clause" is not in valid camel caps format Open
$order_clause = ' ORDER BY lastname, firstname, username';
- Exclude checks
Variable "cond_user_id" is not in valid camel caps format Open
$cond_user_id = '';
- Exclude checks
Variable "id_session" is not in valid camel caps format Open
if (!empty($id_session)) {
- Exclude checks
Variable "id_session" is not in valid camel caps format Open
su.session_id = $id_session AND
- Exclude checks
Variable "person_name" is not in valid camel caps format Open
$person_name = $officialCode.$user['lastname'].' '.$user['firstname'].' ('.$user['username'].')';
- Exclude checks
Variable "xajax_response" is not in valid camel caps format Open
$xajax_response->addAssign('ajax_list_users_multiple', 'innerHTML', api_utf8_encode($return));
- Exclude checks
Variable "id_session" is not in valid camel caps format Open
$session = api_get_session_entity($id_session);
- Exclude checks
Variable "tbl_session_rel_user" is not in valid camel caps format Open
$tbl_session_rel_user = Database::get_main_table(TABLE_MAIN_SESSION_USER);
- Exclude checks
Variable "tbl_user_rel_access_url" is not in valid camel caps format Open
INNER JOIN $tbl_user_rel_access_url url_user ON (url_user.user_id=user.id)
- Exclude checks
Variable "order_clause" is not in valid camel caps format Open
$order_clause
- Exclude checks
Variable "cond_user_id" is not in valid camel caps format Open
AND user.status <> 6 $cond_user_id
- Exclude checks
Variable "extra_field" is not in valid camel caps format Open
if (1 == $extra_field[8] && ExtraField::FIELD_TYPE_TAG == $extra_field[2]) {
- Exclude checks
Variable "extra_field" is not in valid camel caps format Open
'type' => $extra_field[2],
- Exclude checks
Variable "extra_field" is not in valid camel caps format Open
'variable' => $extra_field[1],
- Exclude checks
Variable "user_ids" is not in valid camel caps format Open
if (count($user_ids) > 0) {
- Exclude checks
Variable "tbl_user" is not in valid camel caps format Open
FROM $tbl_user user
- Exclude checks
Variable "access_url_id" is not in valid camel caps format Open
$access_url_id = api_get_current_access_url_id();
- Exclude checks
Variable "tbl_user_rel_access_url" is not in valid camel caps format Open
INNER JOIN $tbl_user_rel_access_url url_user
- Exclude checks
Variable "order_clause" is not in valid camel caps format Open
$order_clause
- Exclude checks
Variable "tbl_user" is not in valid camel caps format Open
$tbl_user = Database::get_main_table(TABLE_MAIN_USER);
- Exclude checks
Variable "new_field_list" is not in valid camel caps format Open
$new_field_list[] = [
- Exclude checks
Variable "add_type" is not in valid camel caps format Open
$add_type = Security::remove_XSS($_REQUEST['add_type']);
- Exclude checks
Variable "extra_field" is not in valid camel caps format Open
'type' => $extra_field[2],
- Exclude checks
Variable "tbl_user" is not in valid camel caps format Open
$tbl_user = Database::get_main_table(TABLE_MAIN_USER);
- Exclude checks
Variable "tbl_user" is not in valid camel caps format Open
FROM $tbl_user user
- Exclude checks
Variable "order_clause" is not in valid camel caps format Open
$order_clause LIMIT 11
- Exclude checks
Variable "tbl_user" is not in valid camel caps format Open
FROM $tbl_user user
- Exclude checks
Variable "access_url_id" is not in valid camel caps format Open
access_url_id = $access_url_id
- Exclude checks
Variable "access_url_id" is not in valid camel caps format Open
access_url_id = $access_url_id
- Exclude checks
Variable "order_clause" is not in valid camel caps format Open
$order_clause = ' ORDER BY lastname, firstname, username';
- Exclude checks
Variable "result_list" is not in valid camel caps format Open
$result_list = [];
- Exclude checks
Variable "new_field" is not in valid camel caps format Open
if (UserManager::is_extra_field_available($new_field['variable'])) {
- Exclude checks
Variable "extra_field_result" is not in valid camel caps format Open
$extra_field_result[] = UserManager::get_extra_user_data_by_tags(
- Exclude checks
Variable "new_field" is not in valid camel caps format Open
$new_field['variable'],
- Exclude checks
Variable "use_extra_fields" is not in valid camel caps format Open
if ($use_extra_fields) {
- Exclude checks
Variable "final_result" is not in valid camel caps format Open
$where_filter = " AND u.id IN ('".implode("','", $final_result)."') ";
- Exclude checks
Variable "order_clause" is not in valid camel caps format Open
$order_clause = " AND u.creator_id = ".api_get_user_id().$order_clause;
- Exclude checks
Variable "use_extra_fields" is not in valid camel caps format Open
if ($use_extra_fields) {
- Exclude checks
Variable "where_filter" is not in valid camel caps format Open
$where_filter
- Exclude checks
Variable "access_url_id" is not in valid camel caps format Open
access_url_id = $access_url_id
- Exclude checks
Variable "order_clause" is not in valid camel caps format Open
$order_clause
- Exclude checks
Variable "link_add_type_unique" is not in valid camel caps format Open
$link_add_type_unique = Display::url(Display::getMdiIcon(ObjectIcon::SINGLE_ELEMENT, 'ch-tool-icon', null, ICON_SIZE_SMALL, get_lang('Single registration')).get_lang('Single registration'), '');
- Exclude checks
Variable "tool_name" is not in valid camel caps format Open
Display::display_header($tool_name);
- Exclude checks
Variable "tbl_session_rel_user" is not in valid camel caps format Open
INNER JOIN $tbl_session_rel_user su
- Exclude checks
Variable "id_session" is not in valid camel caps format Open
$sessionUserInfo = SessionManager::getTotalUserCoursesInSession($id_session, $courseId);
- Exclude checks
Variable "extra_field_result" is not in valid camel caps format Open
$final_result = $extra_field_result[0];
- Exclude checks
Variable "id_session" is not in valid camel caps format Open
AND su.session_id = $id_session
- Exclude checks
Variable "extra_field_list" is not in valid camel caps format Open
if (is_array($extra_field_list)) {
- Exclude checks
Variable "new_field" is not in valid camel caps format Open
foreach ($new_field_list as $new_field) {
- Exclude checks
Variable "UserList" is not in valid camel caps format Open
<option value="<?php echo $uid; ?>" <?php if (in_array($uid, $UserList)) {
- Exclude checks
Variable "id_session" is not in valid camel caps format Open
header('Location: resume_session.php?id_session='.$id_session);
- Exclude checks
Variable "tbl_user_rel_access_url" is not in valid camel caps format Open
$tbl_user_rel_access_url = Database::get_main_table(TABLE_MAIN_ACCESS_URL_REL_USER);
- Exclude checks
Variable "extra_field_result" is not in valid camel caps format Open
$extra_field_result[$i + 1]
- Exclude checks
Variable "tbl_user" is not in valid camel caps format Open
FROM $tbl_user u
- Exclude checks
Variable "tbl_user" is not in valid camel caps format Open
FROM $tbl_user u
- Exclude checks
Variable "new_field_list" is not in valid camel caps format Open
if (is_array($new_field_list) && count($new_field_list) > 0) {
- Exclude checks
Variable "new_field" is not in valid camel caps format Open
$fieldtype = $new_field['type'];
- Exclude checks
Variable "add_type" is not in valid camel caps format Open
<?php if ('multiple' == $add_type) {
- Exclude checks
Variable "order_clause" is not in valid camel caps format Open
$order_clause = ' ORDER BY official_code, lastname, firstname, username';
- Exclude checks
Variable "id_session" is not in valid camel caps format Open
$id_session,
- Exclude checks
Variable "ajax_search" is not in valid camel caps format Open
$ajax_search = 'unique' == $add_type ? true : false;
- Exclude checks
Variable "extra_field_result" is not in valid camel caps format Open
$extra_field_result[$i],
- Exclude checks
Variable "add_type" is not in valid camel caps format Open
$ajax_search = 'unique' == $add_type ? true : false;
- Exclude checks
Variable "new_field" is not in valid camel caps format Open
$fieldtype = $new_field['type'];
- Exclude checks
Variable "final_result" is not in valid camel caps format Open
$final_result = $extra_field_result[0];
- Exclude checks
Variable "final_result" is not in valid camel caps format Open
$where_filter = " WHERE u.id IN ('".implode("','", $final_result)."') ";
- Exclude checks
Variable "tbl_user" is not in valid camel caps format Open
FROM $tbl_user u
- Exclude checks
Variable "tbl_session_rel_user" is not in valid camel caps format Open
LEFT JOIN $tbl_session_rel_user su
- Exclude checks
Variable "tbl_session_rel_user" is not in valid camel caps format Open
LEFT JOIN $tbl_session_rel_user su
- Exclude checks
Variable "tbl_user" is not in valid camel caps format Open
FROM $tbl_user u
- Exclude checks
Variable "order_clause" is not in valid camel caps format Open
$order_clause
- Exclude checks
Variable "UserList" is not in valid camel caps format Open
$UserList = isset($_POST['sessionUsersList']) ? $_POST['sessionUsersList'] : [];
- Exclude checks
Variable "tbl_user_rel_access_url" is not in valid camel caps format Open
$tbl_user_rel_access_url = Database::get_main_table(TABLE_MAIN_ACCESS_URL_REL_USER);
- Exclude checks
Variable "access_url_id" is not in valid camel caps format Open
access_url_id = $access_url_id AND
- Exclude checks
Variable "access_url_id" is not in valid camel caps format Open
$access_url_id = api_get_current_access_url_id();
- Exclude checks
Variable "UserList" is not in valid camel caps format Open
$UserList,
- Exclude checks
Variable "tbl_user" is not in valid camel caps format Open
INNER JOIN $tbl_user u
- Exclude checks
Variable "tbl_user_rel_access_url" is not in valid camel caps format Open
$tbl_user_rel_access_url = Database::get_main_table(TABLE_MAIN_ACCESS_URL_REL_USER);
- Exclude checks
Variable "id_session" is not in valid camel caps format Open
su.session_id = ".intval($id_session)." AND
- Exclude checks
Variable "tbl_user" is not in valid camel caps format Open
FROM $tbl_user u
- Exclude checks
Variable "id_session" is not in valid camel caps format Open
'<a href="'.api_get_self().'?course_id='.$courseId.'&id_session='.$id_session.'&add='.$addProcess.'&add_type=unique">'.
- Exclude checks
Variable "extra_field_result" is not in valid camel caps format Open
if (is_array($extra_field_result[$i + 1])) {
- Exclude checks
Variable "link_add_type_multiple" is not in valid camel caps format Open
$link_add_type_multiple =
- Exclude checks
Variable "where_filter" is not in valid camel caps format Open
$where_filter = " AND u.id = -1";
- Exclude checks
Closing brace indented incorrectly; expected 12 spaces, found 16 Open
} ?>
- Exclude checks
Variable "id_session" is not in valid camel caps format Open
if ($user['session_id'] == $id_session) {
- Exclude checks
Variable "link_add_type_multiple" is not in valid camel caps format Open
echo Display::toolbarAction('users_to_session', [$link_add_type_unique.$link_add_type_multiple]);
- Exclude checks
Closing brace indented incorrectly; expected 5 spaces, found 0 Open
} ?>" <?php if ($ajax_search) {
- Exclude checks
Variable "ajax_search" is not in valid camel caps format Open
} ?>" <?php if ($ajax_search) {
- Exclude checks
Closing brace indented incorrectly; expected 31 spaces, found 32 Open
} ?>>
- Exclude checks
Variable "new_field" is not in valid camel caps format Open
foreach ($new_field_list as $new_field) {
- Exclude checks
Variable "SessionList" is not in valid camel caps format Open
$UserList = $SessionList = [];
- Exclude checks
Variable "new_field" is not in valid camel caps format Open
$varname = 'field_'.$new_field['variable'];
- Exclude checks
Variable "form_sent" is not in valid camel caps format Open
$form_sent = $_POST['form_sent'];
- Exclude checks
Variable "UserList" is not in valid camel caps format Open
$UserList = [];
- Exclude checks
Variable "id_session" is not in valid camel caps format Open
$id_session,
- Exclude checks
Variable "extra_field_result" is not in valid camel caps format Open
$extra_field_result[] = UserManager::get_extra_user_data_by_value(
- Exclude checks
Variable "final_result" is not in valid camel caps format Open
if (is_array($final_result) && count($final_result) > 0) {
- Exclude checks
Variable "where_filter" is not in valid camel caps format Open
$where_filter = null;
- Exclude checks
Variable "where_filter" is not in valid camel caps format Open
$where_filter = " WHERE u.id = -1";
- Exclude checks
Variable "final_result" is not in valid camel caps format Open
if (is_array($final_result) && count($final_result) > 0) {
- Exclude checks
Variable "access_url_id" is not in valid camel caps format Open
access_url_id = $access_url_id AND
- Exclude checks
Variable "order_clause" is not in valid camel caps format Open
$order_clause
- Exclude checks
Variable "final_result" is not in valid camel caps format Open
$final_result = [];
- Exclude checks
Variable "id_session" is not in valid camel caps format Open
AND su.session_id = $id_session
- Exclude checks
Variable "where_filter" is not in valid camel caps format Open
$where_filter
- Exclude checks
Variable "access_url_id" is not in valid camel caps format Open
$access_url_id = api_get_current_access_url_id();
- Exclude checks
Variable "tbl_user" is not in valid camel caps format Open
FROM $tbl_user u
- Exclude checks
Variable "add_type" is not in valid camel caps format Open
if ('multiple' == $add_type) {
- Exclude checks
Variable "access_url_id" is not in valid camel caps format Open
if (-1 != $access_url_id) {
- Exclude checks
Variable "link_add_type_unique" is not in valid camel caps format Open
$link_add_type_unique =
- Exclude checks
Variable "id_session" is not in valid camel caps format Open
if ($user['session_id'] != $id_session) {
- Exclude checks
Variable "link_add_type_unique" is not in valid camel caps format Open
echo Display::toolbarAction('users_to_session', [$link_add_type_unique.$link_add_type_multiple]);
- Exclude checks
Variable "link_add_type_multiple" is not in valid camel caps format Open
$link_add_type_multiple = Display::url(Display::getMdiIcon(ObjectIcon::MULTI_ELEMENT, 'ch-tool-icon', null, ICON_SIZE_SMALL, get_lang('Multiple registration')).get_lang('Multiple registration'), '');
- Exclude checks
Variable "session_info" is not in valid camel caps format Open
echo Display::page_header($tool_name.' ('.$session_info['name'].') - '.$courseInfo['title']);
- Exclude checks
Variable "tool_name" is not in valid camel caps format Open
echo Display::page_header($tool_name.' ('.$session_info['name'].') - '.$courseInfo['title']);
- Exclude checks
Variable "id_session" is not in valid camel caps format Open
action="<?php echo api_get_self(); ?>?page=<?php echo $page; ?>&course_id=<?php echo $courseId; ?>&id_session=<?php echo $id_session; ?><?php if (!empty($addProcess)) {
- Exclude checks
Variable "new_field" is not in valid camel caps format Open
echo $new_field['name'];
- Exclude checks
Variable "new_field" is not in valid camel caps format Open
foreach ($new_field['data'] as $option) {
- Exclude checks
Variable "form_sent" is not in valid camel caps format Open
$form_sent = 0;
- Exclude checks
Variable "UserList" is not in valid camel caps format Open
$UserList = $SessionList = [];
- Exclude checks
Variable "UserList" is not in valid camel caps format Open
$UserList,
- Exclude checks
Variable "ajax_search" is not in valid camel caps format Open
if ($ajax_search) {
- Exclude checks
Variable "order_clause" is not in valid camel caps format Open
$order_clause
- Exclude checks
Variable "extra_field_list" is not in valid camel caps format Open
if (is_array($extra_field_list)) {
- Exclude checks
Variable "where_filter" is not in valid camel caps format Open
$where_filter = " WHERE u.id IN ('".implode("','", $final_result)."') ";
- Exclude checks
Variable "id_session" is not in valid camel caps format Open
'<a href="'.api_get_self().'?course_id='.$courseId.'&id_session='.$id_session.'&add='.$addProcess.'&add_type=multiple">'
- Exclude checks
Variable "add_type" is not in valid camel caps format Open
if ('multiple' === $add_type) {
- Exclude checks
Variable "UserList" is not in valid camel caps format Open
if (!is_array($UserList)) {
- Exclude checks
Variable "id_session" is not in valid camel caps format Open
$session_info = SessionManager::fetch($id_session);
- Exclude checks
Variable "tbl_session_rel_user" is not in valid camel caps format Open
FROM $tbl_session_rel_user su
- Exclude checks
Variable "access_url_id" is not in valid camel caps format Open
$access_url_id = api_get_current_access_url_id();
- Exclude checks
Variable "order_clause" is not in valid camel caps format Open
$order_clause
- Exclude checks
Variable "tbl_session_rel_user" is not in valid camel caps format Open
LEFT JOIN $tbl_session_rel_user su
- Exclude checks
Variable "id_session" is not in valid camel caps format Open
AND su.session_id = $id_session
- Exclude checks
Variable "new_field_list" is not in valid camel caps format Open
foreach ($new_field_list as $new_field) {
- Exclude checks
Variable "add_type" is not in valid camel caps format Open
if (!('multiple' == $add_type)) {
- Exclude checks
Variable "form_sent" is not in valid camel caps format Open
if (1 == $form_sent) {
- Exclude checks
Variable "use_extra_fields" is not in valid camel caps format Open
$use_extra_fields = false;
- Exclude checks
Variable "new_field_list" is not in valid camel caps format Open
foreach ($new_field_list as $new_field) {
- Exclude checks
Variable "extra_field_result" is not in valid camel caps format Open
for ($i = 0; $i < count($extra_field_result) - 1; $i++) {
- Exclude checks
Variable "final_result" is not in valid camel caps format Open
$final_result = array_intersect(
- Exclude checks
Variable "order_clause" is not in valid camel caps format Open
$order_clause
- Exclude checks
Variable "extra_field_result" is not in valid camel caps format Open
if (count($extra_field_result) > 1) {
- Exclude checks
Variable "order_clause" is not in valid camel caps format Open
$order_clause = " AND u.creator_id = ".api_get_user_id().$order_clause;
- Exclude checks
Variable "tbl_user_rel_access_url" is not in valid camel caps format Open
INNER JOIN $tbl_user_rel_access_url url_user
- Exclude checks
Variable "new_field_list" is not in valid camel caps format Open
if (is_array($new_field_list) && count($new_field_list) > 0) {
- Exclude checks
Variable "add_type" is not in valid camel caps format Open
document.formulaire.add_type.value = \''.$add_type.'\';
- Exclude checks
Variable "new_field_list" is not in valid camel caps format Open
if (is_array($new_field_list) && count($new_field_list) > 0) {
- Exclude checks
Variable "where_filter" is not in valid camel caps format Open
$where_filter = " AND u.id IN ('".implode("','", $final_result)."') ";
- Exclude checks
Variable "tbl_user_rel_access_url" is not in valid camel caps format Open
INNER JOIN $tbl_user_rel_access_url url_user
- Exclude checks
Variable "new_field" is not in valid camel caps format Open
$varname = 'field_'.$new_field['variable'];
- Exclude checks
Variable "xajax_response" is not in valid camel caps format Open
return $xajax_response;
- Exclude checks
Variable "order_clause" is not in valid camel caps format Open
$order_clause
- Exclude checks
Variable "id_session" is not in valid camel caps format Open
su.session_id = ".intval($id_session)."
- Exclude checks
Variable "use_extra_fields" is not in valid camel caps format Open
$use_extra_fields = true;
- Exclude checks
Variable "final_result" is not in valid camel caps format Open
if (is_array($final_result) && count($final_result) > 0) {
- Exclude checks
Variable "final_result" is not in valid camel caps format Open
if (is_array($final_result) && count($final_result) > 0) {
- Exclude checks
Variable "id_session" is not in valid camel caps format Open
AND su.session_id = $id_session
- Exclude checks
Variable "tbl_session_rel_user" is not in valid camel caps format Open
LEFT JOIN $tbl_session_rel_user su
- Exclude checks
Variable "tbl_session_rel_user" is not in valid camel caps format Open
LEFT JOIN $tbl_session_rel_user su
- Exclude checks
Variable "session_info" is not in valid camel caps format Open
$session_info = SessionManager::fetch($id_session);
- Exclude checks
Variable "access_url_id" is not in valid camel caps format Open
if (-1 != $access_url_id) {
- Exclude checks
Variable "tbl_user_rel_access_url" is not in valid camel caps format Open
INNER JOIN $tbl_user_rel_access_url url_user
- Exclude checks
Variable "extra_field_result" is not in valid camel caps format Open
$extra_field_result = [];
- Exclude checks
Variable "new_field_list" is not in valid camel caps format Open
if (is_array($new_field_list) && count($new_field_list) > 0) {
- Exclude checks
Variable "access_url_id" is not in valid camel caps format Open
if (-1 != $access_url_id) {
- Exclude checks
Variable "id_session" is not in valid camel caps format Open
AND su.session_id = $id_session
- Exclude checks
Variable "ajax_search" is not in valid camel caps format Open
if ($ajax_search) {
- Exclude checks
Closing brace indented incorrectly; expected 12 spaces, found 16 Open
} ?>
- Exclude checks
Closing brace indented incorrectly; expected 47 spaces, found 32 Open
} ?>>
- Exclude checks
Line indented incorrectly; expected at least 40 spaces, found 36 Open
$officialCode =
- Exclude checks
Line indented incorrectly; expected at least 36 spaces, found 32 Open
echo $personName; ?>
- Exclude checks
Line indented incorrectly; expected at least 40 spaces, found 36 Open
$personName =
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 4 Open
echo '&add=true';
- Exclude checks
Line indented incorrectly; expected 0 spaces, found 32 Open
} ?>>
- Exclude checks
Line indented incorrectly; expected 0 spaces, found 16 Open
} ?>
- Exclude checks
Closing brace indented incorrectly; expected 14 spaces, found 0 Open
} ?>" <?php if ($ajax_search) {
- Exclude checks
Line indented incorrectly; expected 36 spaces, found 32 Open
}
- Exclude checks
Line indented incorrectly; expected 36 spaces, found 32 Open
if ($showOfficialCode) {
- Exclude checks
Line indented incorrectly; expected 24 spaces, found 20 Open
if ($showOfficialCode) {
- Exclude checks
Line indented incorrectly; expected 24 spaces, found 20 Open
}
- Exclude checks
Line indented incorrectly; expected at least 24 spaces, found 20 Open
echo $personName; ?>
- Exclude checks
Line indented incorrectly; expected at least 28 spaces, found 24 Open
$personName =
- Exclude checks
Line indented incorrectly; expected at least 28 spaces, found 24 Open
$officialCode =
- Exclude checks
The variable $xajax_response is not named in camelCase. Open
function search_users($needle, $type)
{
$courseId = isset($_GET['course_id']) ? (int) $_GET['course_id'] : 0;
$id_session = isset($_GET['id_session']) ? (int) $_GET['id_session'] : 0;
- 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 $tbl_user is not named in camelCase. Open
function search_users($needle, $type)
{
$courseId = isset($_GET['course_id']) ? (int) $_GET['course_id'] : 0;
$id_session = isset($_GET['id_session']) ? (int) $_GET['id_session'] : 0;
- 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 $access_url_id is not named in camelCase. Open
function search_users($needle, $type)
{
$courseId = isset($_GET['course_id']) ? (int) $_GET['course_id'] : 0;
$id_session = isset($_GET['id_session']) ? (int) $_GET['id_session'] : 0;
- 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 $person_name is not named in camelCase. Open
function search_users($needle, $type)
{
$courseId = isset($_GET['course_id']) ? (int) $_GET['course_id'] : 0;
$id_session = isset($_GET['id_session']) ? (int) $_GET['id_session'] : 0;
- 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 $id_session is not named in camelCase. Open
function search_users($needle, $type)
{
$courseId = isset($_GET['course_id']) ? (int) $_GET['course_id'] : 0;
$id_session = isset($_GET['id_session']) ? (int) $_GET['id_session'] : 0;
- 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 $user_ids is not named in camelCase. Open
function search_users($needle, $type)
{
$courseId = isset($_GET['course_id']) ? (int) $_GET['course_id'] : 0;
$id_session = isset($_GET['id_session']) ? (int) $_GET['id_session'] : 0;
- 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 $cond_user_id is not named in camelCase. Open
function search_users($needle, $type)
{
$courseId = isset($_GET['course_id']) ? (int) $_GET['course_id'] : 0;
$id_session = isset($_GET['id_session']) ? (int) $_GET['id_session'] : 0;
- 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 $access_url_id is not named in camelCase. Open
function search_users($needle, $type)
{
$courseId = isset($_GET['course_id']) ? (int) $_GET['course_id'] : 0;
$id_session = isset($_GET['id_session']) ? (int) $_GET['id_session'] : 0;
- 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 $order_clause is not named in camelCase. Open
function search_users($needle, $type)
{
$courseId = isset($_GET['course_id']) ? (int) $_GET['course_id'] : 0;
$id_session = isset($_GET['id_session']) ? (int) $_GET['id_session'] : 0;
- 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 $tbl_user_rel_access_url is not named in camelCase. Open
function search_users($needle, $type)
{
$courseId = isset($_GET['course_id']) ? (int) $_GET['course_id'] : 0;
$id_session = isset($_GET['id_session']) ? (int) $_GET['id_session'] : 0;
- 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 $id_session is not named in camelCase. Open
function search_users($needle, $type)
{
$courseId = isset($_GET['course_id']) ? (int) $_GET['course_id'] : 0;
$id_session = isset($_GET['id_session']) ? (int) $_GET['id_session'] : 0;
- 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 $tbl_user is not named in camelCase. Open
function search_users($needle, $type)
{
$courseId = isset($_GET['course_id']) ? (int) $_GET['course_id'] : 0;
$id_session = isset($_GET['id_session']) ? (int) $_GET['id_session'] : 0;
- 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 $tbl_user is not named in camelCase. Open
function search_users($needle, $type)
{
$courseId = isset($_GET['course_id']) ? (int) $_GET['course_id'] : 0;
$id_session = isset($_GET['id_session']) ? (int) $_GET['id_session'] : 0;
- 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 $access_url_id is not named in camelCase. Open
function search_users($needle, $type)
{
$courseId = isset($_GET['course_id']) ? (int) $_GET['course_id'] : 0;
$id_session = isset($_GET['id_session']) ? (int) $_GET['id_session'] : 0;
- 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 $person_name is not named in camelCase. Open
function search_users($needle, $type)
{
$courseId = isset($_GET['course_id']) ? (int) $_GET['course_id'] : 0;
$id_session = isset($_GET['id_session']) ? (int) $_GET['id_session'] : 0;
- 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 $person_name is not named in camelCase. Open
function search_users($needle, $type)
{
$courseId = isset($_GET['course_id']) ? (int) $_GET['course_id'] : 0;
$id_session = isset($_GET['id_session']) ? (int) $_GET['id_session'] : 0;
- 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 $tbl_user is not named in camelCase. Open
function search_users($needle, $type)
{
$courseId = isset($_GET['course_id']) ? (int) $_GET['course_id'] : 0;
$id_session = isset($_GET['id_session']) ? (int) $_GET['id_session'] : 0;
- 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 $tbl_session_rel_user is not named in camelCase. Open
function search_users($needle, $type)
{
$courseId = isset($_GET['course_id']) ? (int) $_GET['course_id'] : 0;
$id_session = isset($_GET['id_session']) ? (int) $_GET['id_session'] : 0;
- 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 $id_session is not named in camelCase. Open
function search_users($needle, $type)
{
$courseId = isset($_GET['course_id']) ? (int) $_GET['course_id'] : 0;
$id_session = isset($_GET['id_session']) ? (int) $_GET['id_session'] : 0;
- 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 $person_name is not named in camelCase. Open
function search_users($needle, $type)
{
$courseId = isset($_GET['course_id']) ? (int) $_GET['course_id'] : 0;
$id_session = isset($_GET['id_session']) ? (int) $_GET['id_session'] : 0;
- 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 $xajax_response is not named in camelCase. Open
function search_users($needle, $type)
{
$courseId = isset($_GET['course_id']) ? (int) $_GET['course_id'] : 0;
$id_session = isset($_GET['id_session']) ? (int) $_GET['id_session'] : 0;
- 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 $order_clause is not named in camelCase. Open
function search_users($needle, $type)
{
$courseId = isset($_GET['course_id']) ? (int) $_GET['course_id'] : 0;
$id_session = isset($_GET['id_session']) ? (int) $_GET['id_session'] : 0;
- 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 $cond_user_id is not named in camelCase. Open
function search_users($needle, $type)
{
$courseId = isset($_GET['course_id']) ? (int) $_GET['course_id'] : 0;
$id_session = isset($_GET['id_session']) ? (int) $_GET['id_session'] : 0;
- 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 $cond_user_id is not named in camelCase. Open
function search_users($needle, $type)
{
$courseId = isset($_GET['course_id']) ? (int) $_GET['course_id'] : 0;
$id_session = isset($_GET['id_session']) ? (int) $_GET['id_session'] : 0;
- 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 $access_url_id is not named in camelCase. Open
function search_users($needle, $type)
{
$courseId = isset($_GET['course_id']) ? (int) $_GET['course_id'] : 0;
$id_session = isset($_GET['id_session']) ? (int) $_GET['id_session'] : 0;
- 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 $tbl_user_rel_access_url is not named in camelCase. Open
function search_users($needle, $type)
{
$courseId = isset($_GET['course_id']) ? (int) $_GET['course_id'] : 0;
$id_session = isset($_GET['id_session']) ? (int) $_GET['id_session'] : 0;
- 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 $xajax_response is not named in camelCase. Open
function search_users($needle, $type)
{
$courseId = isset($_GET['course_id']) ? (int) $_GET['course_id'] : 0;
$id_session = isset($_GET['id_session']) ? (int) $_GET['id_session'] : 0;
- 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 $tbl_user is not named in camelCase. Open
function search_users($needle, $type)
{
$courseId = isset($_GET['course_id']) ? (int) $_GET['course_id'] : 0;
$id_session = isset($_GET['id_session']) ? (int) $_GET['id_session'] : 0;
- 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 $user_ids is not named in camelCase. Open
function search_users($needle, $type)
{
$courseId = isset($_GET['course_id']) ? (int) $_GET['course_id'] : 0;
$id_session = isset($_GET['id_session']) ? (int) $_GET['id_session'] : 0;
- 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 $order_clause is not named in camelCase. Open
function search_users($needle, $type)
{
$courseId = isset($_GET['course_id']) ? (int) $_GET['course_id'] : 0;
$id_session = isset($_GET['id_session']) ? (int) $_GET['id_session'] : 0;
- 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 $tbl_user is not named in camelCase. Open
function search_users($needle, $type)
{
$courseId = isset($_GET['course_id']) ? (int) $_GET['course_id'] : 0;
$id_session = isset($_GET['id_session']) ? (int) $_GET['id_session'] : 0;
- 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 $person_name is not named in camelCase. Open
function search_users($needle, $type)
{
$courseId = isset($_GET['course_id']) ? (int) $_GET['course_id'] : 0;
$id_session = isset($_GET['id_session']) ? (int) $_GET['id_session'] : 0;
- 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 $person_name is not named in camelCase. Open
function search_users($needle, $type)
{
$courseId = isset($_GET['course_id']) ? (int) $_GET['course_id'] : 0;
$id_session = isset($_GET['id_session']) ? (int) $_GET['id_session'] : 0;
- 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 $tbl_session_rel_user is not named in camelCase. Open
function search_users($needle, $type)
{
$courseId = isset($_GET['course_id']) ? (int) $_GET['course_id'] : 0;
$id_session = isset($_GET['id_session']) ? (int) $_GET['id_session'] : 0;
- 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 $cond_user_id is not named in camelCase. Open
function search_users($needle, $type)
{
$courseId = isset($_GET['course_id']) ? (int) $_GET['course_id'] : 0;
$id_session = isset($_GET['id_session']) ? (int) $_GET['id_session'] : 0;
- 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 $tbl_user_rel_access_url is not named in camelCase. Open
function search_users($needle, $type)
{
$courseId = isset($_GET['course_id']) ? (int) $_GET['course_id'] : 0;
$id_session = isset($_GET['id_session']) ? (int) $_GET['id_session'] : 0;
- 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 $order_clause is not named in camelCase. Open
function search_users($needle, $type)
{
$courseId = isset($_GET['course_id']) ? (int) $_GET['course_id'] : 0;
$id_session = isset($_GET['id_session']) ? (int) $_GET['id_session'] : 0;
- 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 $person_name is not named in camelCase. Open
function search_users($needle, $type)
{
$courseId = isset($_GET['course_id']) ? (int) $_GET['course_id'] : 0;
$id_session = isset($_GET['id_session']) ? (int) $_GET['id_session'] : 0;
- 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 $order_clause is not named in camelCase. Open
function search_users($needle, $type)
{
$courseId = isset($_GET['course_id']) ? (int) $_GET['course_id'] : 0;
$id_session = isset($_GET['id_session']) ? (int) $_GET['id_session'] : 0;
- 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 $cond_user_id is not named in camelCase. Open
function search_users($needle, $type)
{
$courseId = isset($_GET['course_id']) ? (int) $_GET['course_id'] : 0;
$id_session = isset($_GET['id_session']) ? (int) $_GET['id_session'] : 0;
- 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 $cond_user_id is not named in camelCase. Open
function search_users($needle, $type)
{
$courseId = isset($_GET['course_id']) ? (int) $_GET['course_id'] : 0;
$id_session = isset($_GET['id_session']) ? (int) $_GET['id_session'] : 0;
- 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 $xajax_response is not named in camelCase. Open
function search_users($needle, $type)
{
$courseId = isset($_GET['course_id']) ? (int) $_GET['course_id'] : 0;
$id_session = isset($_GET['id_session']) ? (int) $_GET['id_session'] : 0;
- 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 $order_clause is not named in camelCase. Open
function search_users($needle, $type)
{
$courseId = isset($_GET['course_id']) ? (int) $_GET['course_id'] : 0;
$id_session = isset($_GET['id_session']) ? (int) $_GET['id_session'] : 0;
- 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 $user_ids is not named in camelCase. Open
function search_users($needle, $type)
{
$courseId = isset($_GET['course_id']) ? (int) $_GET['course_id'] : 0;
$id_session = isset($_GET['id_session']) ? (int) $_GET['id_session'] : 0;
- 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 $access_url_id is not named in camelCase. Open
function search_users($needle, $type)
{
$courseId = isset($_GET['course_id']) ? (int) $_GET['course_id'] : 0;
$id_session = isset($_GET['id_session']) ? (int) $_GET['id_session'] : 0;
- 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 $user_ids is not named in camelCase. Open
function search_users($needle, $type)
{
$courseId = isset($_GET['course_id']) ? (int) $_GET['course_id'] : 0;
$id_session = isset($_GET['id_session']) ? (int) $_GET['id_session'] : 0;
- 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 $tbl_session_rel_user is not named in camelCase. Open
function search_users($needle, $type)
{
$courseId = isset($_GET['course_id']) ? (int) $_GET['course_id'] : 0;
$id_session = isset($_GET['id_session']) ? (int) $_GET['id_session'] : 0;
- 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 $tbl_session_rel_user is not named in camelCase. Open
function search_users($needle, $type)
{
$courseId = isset($_GET['course_id']) ? (int) $_GET['course_id'] : 0;
$id_session = isset($_GET['id_session']) ? (int) $_GET['id_session'] : 0;
- 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 $order_clause is not named in camelCase. Open
function search_users($needle, $type)
{
$courseId = isset($_GET['course_id']) ? (int) $_GET['course_id'] : 0;
$id_session = isset($_GET['id_session']) ? (int) $_GET['id_session'] : 0;
- 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 $order_clause is not named in camelCase. Open
function search_users($needle, $type)
{
$courseId = isset($_GET['course_id']) ? (int) $_GET['course_id'] : 0;
$id_session = isset($_GET['id_session']) ? (int) $_GET['id_session'] : 0;
- 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 $tbl_user is not named in camelCase. Open
function search_users($needle, $type)
{
$courseId = isset($_GET['course_id']) ? (int) $_GET['course_id'] : 0;
$id_session = isset($_GET['id_session']) ? (int) $_GET['id_session'] : 0;
- 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 $order_clause is not named in camelCase. Open
function search_users($needle, $type)
{
$courseId = isset($_GET['course_id']) ? (int) $_GET['course_id'] : 0;
$id_session = isset($_GET['id_session']) ? (int) $_GET['id_session'] : 0;
- 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 $tbl_user_rel_access_url is not named in camelCase. Open
function search_users($needle, $type)
{
$courseId = isset($_GET['course_id']) ? (int) $_GET['course_id'] : 0;
$id_session = isset($_GET['id_session']) ? (int) $_GET['id_session'] : 0;
- 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 $order_clause is not named in camelCase. Open
function search_users($needle, $type)
{
$courseId = isset($_GET['course_id']) ? (int) $_GET['course_id'] : 0;
$id_session = isset($_GET['id_session']) ? (int) $_GET['id_session'] : 0;
- 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();
}
}