chamilo/chamilo-lms

View on GitHub
public/main/inc/ajax/user_manager.ajax.php

Summary

Maintainability
A
0 mins
Test Coverage

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

        $userData = '<h3>'.$user_info['complete_name'].'</h3>'

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

        $user_info = api_get_user_info($_REQUEST['user_id']);

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

            $array_list_key = [];

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

                    $sender_name = api_get_person_name(

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

            $user_info['mail'] = ' ';

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

            $num = UserManager::update_api_key($user_id, $api_service);

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

                $sql = "UPDATE $user_table

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

                        $user_info['lastname'],

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

                        $user_info['firstname'],

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

            $array_list_key = UserManager::get_api_keys($user_id, $api_service); ?>

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

                        $user_id,

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

            $array_list_key = UserManager::get_api_keys($user_id, $api_service); ?>

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

                api_get_path(WEB_CODE_PATH).'social/profile.php?u='.$user_info['user_id']

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

            if (!empty($user_id)) {

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

                    Event::addEvent(LOG_USER_DISABLE, LOG_USER_ID, $user_id);

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

            .$user_info['official_code'];

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

            $user_id = intval($_GET['user_id']);

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

        echo Display::img($user_info['avatar'], $user_info['complete_name']);

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

            $user_id = api_get_user_id();

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

                    Event::addEvent(LOG_USER_ENABLE, LOG_USER_ID, $user_id);

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

            if (COURSEMANAGER === (int) $user_info['status']) {

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

            $api_service = 'dokeos';

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

            $num = UserManager::update_api_key($user_id, $api_service);

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

                        WHERE id = '".$user_id."'";

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

            $array_list_key = UserManager::get_api_keys($user_id, $api_service); ?>

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

                    $user_info = api_get_user_info($user_id);

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

        echo Display::img($user_info['avatar'], $user_info['complete_name']);

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

            .$user_info['mail']

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

                    <input type="text" name="api_key_generate" id="id_api_key_generate" class="form-control" value="<?php echo $array_list_key[$num]; ?>"/>

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

                    $user_info = api_get_user_info($user_id);

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

                    'user_id' => $user_info['user_id'],

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

                $user_table = Database::get_main_table(TABLE_MAIN_USER);

There are no issues that match your filters.

Category
Status