public/main/auth/inscription.php
Variable "user_last_login_datetime" is not in valid camel caps format Open
Open
$user_last_login_datetime = 0; // used as a unix timestamp it will correspond to : 1 1 1970
- Exclude checks
Multi-line function call not indented correctly; expected 16 spaces but found 28 Open
Open
get_lang('Welcome, please go to diagnostic at %s.', $userEntity->getLocale()),
- Exclude checks
Variable "course_info" is not in valid camel caps format Open
Open
header('Location: ' . api_get_path(WEB_PATH) . 'course/'.$course_info['real_id'].'/about');
- Exclude checks
Multi-line function call not indented correctly; expected 24 spaces but found 28 Open
Open
false
- Exclude checks
Variable "sql_set" is not in valid camel caps format Open
Open
$sql_set[] = "diplomas = '".Database::escape_string($values['diplomas'])."'";
- Exclude checks
Variable "user_last_login_datetime" is not in valid camel caps format Open
Open
Session::write('user_last_login_datetime', $user_last_login_datetime);
- Exclude checks
Variable "recipient_name" is not in valid camel caps format Open
Open
$recipient_name = api_get_person_name($values['firstname'], $values['lastname']);
- Exclude checks
Variable "course_info" is not in valid camel caps format Open
Open
$course_info = api_get_course_info($course_code_redirect);
- Exclude checks
Variable "LastnameLabel" is not in valid camel caps format Open
Open
$LastnameLabel = [$LastnameLabel, get_lang('InsertTwoNames')];
- Exclude checks
Variable "store_extended" is not in valid camel caps format Open
Open
$store_extended = true;
- Exclude checks
Variable "sql_set" is not in valid camel caps format Open
Open
$sql .= implode(',', $sql_set);
- Exclude checks
Variable "course_info" is not in valid camel caps format Open
Open
if (!empty($course_info)) {
- Exclude checks
Variable "is_allowedCreateCourse" is not in valid camel caps format Open
Open
if ($is_allowedCreateCourse) {
- Exclude checks
Variable "course_code_redirect" is not in valid camel caps format Open
Open
$course_code_redirect = isset($_REQUEST['c']) && !empty($_REQUEST['c']) ? $_REQUEST['c'] : null;
- Exclude checks
Variable "course_info" is not in valid camel caps format Open
Open
header('Location: ' . api_get_path(WEB_PATH) . 'course/'.$course_info['real_id'].'/home?sid=0');
- Exclude checks
Variable "course_code_redirect" is not in valid camel caps format Open
Open
$course_code_redirect = Session::read('course_redirect');
- Exclude checks
Variable "course_info" is not in valid camel caps format Open
Open
$course_info['visibility'],
- Exclude checks
Variable "course_info" is not in valid camel caps format Open
Open
$course_info['visibility'],
- Exclude checks
Variable "cond_array" is not in valid camel caps format Open
Open
$conditionToSave = (int) $cond_array[0].':'.(int) $cond_array[1].':'.$time;
- Exclude checks
Variable "recipient_name" is not in valid camel caps format Open
Open
stripslashes(Security::remove_XSS($recipient_name)).',<br /><br />'.
- Exclude checks
Variable "exercise_redirect" is not in valid camel caps format Open
Open
Session::write('exercise_redirect', $exercise_redirect);
- Exclude checks
Multi-line function call not indented correctly; expected 24 spaces but found 28 Open
Open
'warning',
- Exclude checks
Multi-line function call not indented correctly; expected 20 spaces but found 24 Open
Open
);
- Exclude checks
Variable "sql_set" is not in valid camel caps format Open
Open
$sql_set[] = "competences = '".Database::escape_string($values['competences'])."'";
- Exclude checks
Variable "course_code_redirect" is not in valid camel caps format Open
Open
$course_info = api_get_course_info($course_code_redirect);
- Exclude checks
Variable "course_code_redirect" is not in valid camel caps format Open
Open
$subscribed = CourseManager::autoSubscribeToCourse($course_code_redirect);
- Exclude checks
Multi-line function call not indented correctly; expected 24 spaces but found 28 Open
Open
);
- Exclude checks
Variable "course_info" is not in valid camel caps format Open
Open
$course_info = api_get_course_info($course_code_redirect);
- Exclude checks
Variable "course_info" is not in valid camel caps format Open
Open
$course_info['real_id']
- Exclude checks
Variable "captcha_question" is not in valid camel caps format Open
Open
$captcha_question
- Exclude checks
Multi-line function call not indented correctly; expected 24 spaces but found 28 Open
Open
get_lang('The terms and conditions have not yet been validated by your tutor'),
- Exclude checks
Variable "cond_array" is not in valid camel caps format Open
Open
$conditionToSave = (int) $cond_array[0].':'.(int) $cond_array[1].':'.$time;
- Exclude checks
Variable "is_allowedCreateCourse" is not in valid camel caps format Open
Open
$sessionHandler->set('is_allowedCreateCourse', $is_allowedCreateCourse);
- Exclude checks
Variable "captcha_question" is not in valid camel caps format Open
Open
$captcha_question = $form->addElement(
- Exclude checks
Variable "store_extended" is not in valid camel caps format Open
Open
$store_extended = true;
- Exclude checks
Variable "sql_set" is not in valid camel caps format Open
Open
$sql_set[] = "teach = '".Database::escape_string($values['teach'])."'";
- Exclude checks
Variable "sql_set" is not in valid camel caps format Open
Open
$sql_set[] = "openarea = '".Database::escape_string($values['openarea'])."'";
- Exclude checks
Variable "course_info" is not in valid camel caps format Open
Open
if (!empty($course_info)) {
- Exclude checks
Variable "LastnameLabel" is not in valid camel caps format Open
Open
$LastnameLabel = [$LastnameLabel, get_lang('InsertTwoNames')];
- Exclude checks
Variable "store_extended" is not in valid camel caps format Open
Open
if ($store_extended) {
- Exclude checks
Variable "course_code_redirect" is not in valid camel caps format Open
Open
if (!empty($course_code_redirect)) {
- Exclude checks
Variable "cond_array" is not in valid camel caps format Open
Open
if (!empty($cond_array[0]) && !empty($cond_array[1])) {
- Exclude checks
Blank line found at end of control structure Open
Open
- Exclude checks
Variable "cond_array" is not in valid camel caps format Open
Open
$cond_array = explode(':', $values['legal_accept_type']);
- Exclude checks
Variable "is_allowedCreateCourse" is not in valid camel caps format Open
Open
Session::write('is_allowedCreateCourse', $is_allowedCreateCourse);
- Exclude checks
Variable "course_code_redirect" is not in valid camel caps format Open
Open
if (!empty($course_code_redirect)) {
- Exclude checks
Variable "course_info" is not in valid camel caps format Open
Open
$course_info = api_get_course_info($course_code_redirect);
- Exclude checks
Multi-line function call not indented correctly; expected 28 spaces but found 32 Open
Open
get_lang('You must first fill your profile to enable the terms and conditions validation.'),
- Exclude checks
Multi-line function call not indented correctly; expected 28 spaces but found 32 Open
Open
'warning',
- Exclude checks
Multi-line function call not indented correctly; expected 28 spaces but found 32 Open
Open
true
- Exclude checks
Variable "cond_array" is not in valid camel caps format Open
Open
if (!empty($cond_array[0]) && !empty($cond_array[1])) {
- Exclude checks
Variable "is_allowedCreateCourse" is not in valid camel caps format Open
Open
$is_allowedCreateCourse = isset($values['status']) && 1 == $values['status'];
- Exclude checks
Variable "exercise_redirect" is not in valid camel caps format Open
Open
$exercise_redirect = isset($_REQUEST['e']) && !empty($_REQUEST['e']) ? $_REQUEST['e'] : null;
- Exclude checks
Variable "course_info" is not in valid camel caps format Open
Open
$course_info['real_id']
- Exclude checks
Add a comma after each item in a multi-line array Open
Open
$userData = [
- Exclude checks
Variable "store_extended" is not in valid camel caps format Open
Open
$store_extended = false;
- Exclude checks
Variable "course_code_redirect" is not in valid camel caps format Open
Open
$course_info = api_get_course_info($course_code_redirect);
- Exclude checks
Variable "is_allowedCreateCourse" is not in valid camel caps format Open
Open
$is_allowedCreateCourse = isset($values['status']) && 1 == $values['status'];
- Exclude checks
Variable "course_code_redirect" is not in valid camel caps format Open
Open
$course_info = api_get_course_info($course_code_redirect);
- Exclude checks
Variable "store_extended" is not in valid camel caps format Open
Open
$store_extended = true;
- Exclude checks
Variable "store_extended" is not in valid camel caps format Open
Open
$store_extended = true;
- Exclude checks
Variable "course_code_redirect" is not in valid camel caps format Open
Open
if (!empty($course_code_redirect)) {
- Exclude checks
Variable "course_code_redirect" is not in valid camel caps format Open
Open
Session::write('course_redirect', $course_code_redirect);
- Exclude checks
Variable "LastnameLabel" is not in valid camel caps format Open
Open
$LastnameLabel = get_lang('LastName');
- Exclude checks
Multi-line function call not indented correctly; expected 16 spaces but found 28 Open
Open
$diagnosticPath
- Exclude checks
Multi-line function call not indented correctly; expected 28 spaces but found 32 Open
Open
'warning',
- Exclude checks
Multi-line function call not indented correctly; expected 24 spaces but found 28 Open
Open
get_lang('The terms and conditions have not yet been validated by your tutor'),
- Exclude checks
Multi-line function call not indented correctly; expected 24 spaces but found 28 Open
Open
'warning',
- Exclude checks
Multi-line function call not indented correctly; expected 28 spaces but found 32 Open
Open
true
- Exclude checks
Multi-line function call not indented correctly; expected 16 spaces but found 28 Open
Open
$diagnosticPath
- Exclude checks
Multi-line function call not indented correctly; expected 24 spaces but found 28 Open
Open
);
- Exclude checks
Multi-line function call not indented correctly; expected 24 spaces but found 28 Open
Open
false
- Exclude checks
Multi-line function call not indented correctly; expected 20 spaces but found 24 Open
Open
);
- Exclude checks
Multi-line function call not indented correctly; expected 16 spaces but found 28 Open
Open
get_lang('Welcome, please go to diagnostic at %s.', $userEntity->getLocale()),
- Exclude checks
Multi-line function call not indented correctly; expected 28 spaces but found 32 Open
Open
get_lang('You must first fill your profile to enable the terms and conditions validation.'),
- Exclude checks