public/main/install/index.php
Variable "email_parts" is not in valid camel caps format Open
Open
$email_parts = explode('@', $emailForm);
- Exclude checks
Variable "email_parts" is not in valid camel caps format Open
Open
if (isset($email_parts[1]) && 'localhost' === $email_parts[1]) {
- Exclude checks
Variable "current_step" is not in valid camel caps format Open
Open
$current_step = 3;
- Exclude checks
Variable "my_old_version" is not in valid camel caps format Open
Open
'old_version' => api_htmlentities($my_old_version, ENT_QUOTES),
- Exclude checks
Variable "current_step" is not in valid camel caps format Open
Open
$current_step = 3;
- Exclude checks
Variable "_setting" is not in valid camel caps format Open
Open
$_setting = [
- Exclude checks
Variable "current_step" is not in valid camel caps format Open
Open
$current_step = 1;
- Exclude checks
Multi-line function call not indented correctly; expected 4 spaces but found 8 Open
Open
]),
- Exclude checks
Variable "tmp_version" is not in valid camel caps format Open
Open
$my_old_version = $tmp_version;
- Exclude checks
Variable "email_parts" is not in valid camel caps format Open
Open
if (isset($email_parts[1]) && 'localhost' === $email_parts[1]) {
- Exclude checks
Variable "total_steps" is not in valid camel caps format Open
Open
$total_steps = 7;
- Exclude checks
Variable "current_step" is not in valid camel caps format Open
Open
error_log("Step: $current_step");
- Exclude checks
Variable "current_step" is not in valid camel caps format Open
Open
$current_step = 6;
- Exclude checks
Variable "tmp_version" is not in valid camel caps format Open
Open
if (empty($tmp_version)) {
- Exclude checks
Variable "tmp_version" is not in valid camel caps format Open
Open
$tmp_version = get_config_param('system_version');
- Exclude checks
Variable "current_step" is not in valid camel caps format Open
Open
$current_step = 7;
- Exclude checks
Variable "my_old_version" is not in valid camel caps format Open
Open
$my_old_version = $_POST['old_version'];
- Exclude checks
Variable "my_old_version" is not in valid camel caps format Open
Open
$my_old_version = $tmp_version;
- Exclude checks
Variable "current_step" is not in valid camel caps format Open
Open
$current_step = 7;
- Exclude checks
Variable "current_step" is not in valid camel caps format Open
Open
$current_step = 5;
- Exclude checks
Variable "tmp_version" is not in valid camel caps format Open
Open
} elseif (!empty($tmp_version)) {
- Exclude checks
Variable "current_step" is not in valid camel caps format Open
Open
$current_step = 1;
- Exclude checks
Variable "current_step" is not in valid camel caps format Open
Open
$current_step = 4;
- Exclude checks
Variable "db_name" is not in valid camel caps format Open
Open
$db_name = $dbNameForm;
- Exclude checks
Variable "current_step" is not in valid camel caps format Open
Open
$current_step = 2;
- Exclude checks
Variable "current_step" is not in valid camel caps format Open
Open
$current_step = 4;
- Exclude checks
Variable "new_version" is not in valid camel caps format Open
Open
$new_version = $versionData['new_version'];
- Exclude checks
Variable "session_lifetime" is not in valid camel caps format Open
Open
$session_lifetime = 360000;
- Exclude checks
Variable "current_step" is not in valid camel caps format Open
Open
$current_step = 5;
- Exclude checks
Variable "new_version" is not in valid camel caps format Open
Open
— <?php echo $translator->trans('Chamilo installation').' — '.$translator->trans('Version').' '.$new_version; ?>
- Exclude checks
Variable "new_version" is not in valid camel caps format Open
Open
'new_version' => api_htmlentities($new_version, ENT_QUOTES),
- Exclude checks
Variable "my_old_version" is not in valid camel caps format Open
Open
$my_old_version = '';
- Exclude checks
Space before opening parenthesis of function call prohibited Open
Open
$allowSelfRegistrationLiteral = match ($allowSelfReg) {
- Exclude checks
Variable "current_step" is not in valid camel caps format Open
Open
'currentStep' => $current_step,
- Exclude checks
Variable "current_step" is not in valid camel caps format Open
Open
$current_step = 6;
- Exclude checks
Variable "my_old_version" is not in valid camel caps format Open
Open
if (in_array($my_old_version, $upgradeFromVersion)) {
- Exclude checks
Variable "session_lifetime" is not in valid camel caps format Open
Open
'session_lifetime' => api_htmlentities((string) $session_lifetime, ENT_QUOTES),
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
if ('update' === $installType) {
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$stepData['dbPortForm'] = $dbPortForm;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
if ($isUpdateAvailable) {
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$stepData['dbNameForm'] = $dbNameForm;
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$envFile = api_get_path(SYMFONY_SYS_PATH) . '.env';
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$dotenv->loadEnv($envFile);
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$stepData['dbHostForm'] = $dbHostForm;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
$stepData['campusForm'] = $campusForm;
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$stepData['dbUsernameForm'] = $dbUsernameForm;
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
} else {
- Exclude checks
Space before opening parenthesis of function call prohibited Open
Open
$allowSelfRegistrationLiteral = match ($allowSelfReg) {
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
$stepData['encryptPassForm'] = $encryptPassForm;
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$envFile = api_get_path(SYMFONY_SYS_PATH) . '.env';
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$dotenv = new Dotenv();
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
$stepData['institutionForm'] = $institutionForm;
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$stepData['dbPassForm'] = str_repeat('*', api_strlen($_ENV['DATABASE_PASSWORD']));
- Exclude checks
Line indented incorrectly; expected at least 4 spaces, found 2 Open
Open
$installationLanguage = ChamiloSession::read('install_language');
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
$stepData['allowSelfRegistrationLiteral'] = $allowSelfRegistrationLiteral;
- Exclude checks
Line indented incorrectly; expected 4 spaces, found 8 Open
Open
default => get_lang('No'),
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$urlForm = get_config_param('root_web');
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
$stepData['institutionUrlForm'] = $institutionUrlForm;
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$stepData['dbHostForm'] = $_ENV['DATABASE_HOST'];
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$stepData['dbPortForm'] = $_ENV['DATABASE_PORT'];
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$stepData['dbUsernameForm'] = $_ENV['DATABASE_USER'];
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$stepData['dbNameForm'] = $_ENV['DATABASE_NAME'];
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
$stepData['dbPassForm'] = str_repeat('*', api_strlen($dbPassForm));
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
$stepData['languageForm'] = $languageForm;
- Exclude checks