chamilo/chamilo-lms

View on GitHub
public/main/survey/fillsurvey.php

Summary

Maintainability
A
0 mins
Test Coverage

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

                        $survey_invitation['user_id'],

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

                            $option_id = $answer_key;

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

                        $sql = "SELECT * FROM $table_survey_question_option

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

                    $survey_invitation['survey_id'],

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

if (0 == $user_id) {

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

                $sql = "UPDATE $table_user SET";

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

                                    sa.user='".$my_user_id."') AND

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

        $my_survey_id = (int) $survey_invitation['survey_id'];

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

            $equal_count = 0;

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

$sql = "SELECT * FROM $table_survey_invitation

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

$user_data = api_get_user_info($user_id);

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

    is_array($user_data)

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

        $paged_questions_sec = [];

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

            $sql = "SELECT * FROM $table_survey_question

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

    (1 == $survey_invitation['answered'] && !isset($_GET['user_id']))

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

                        if ('score' === $types[$survey_question_id]) {

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

                            $option_value = $answer_value;

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

                        if (isset($types[$survey_question_id]) && 'open' === $types[$survey_question_id]) {

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

                        $paged_questions[$counter][] = $row['iid'];

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

                        FROM $table_survey_question survey_question

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

            $answer_list = [];

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

            foreach ($final_results as $key => &$sub_result) {

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

    $_cid = $_GET['cidReq'];

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

                    foreach ($value as $answer_key => &$answer_value) {

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

                    $survey_question_answer = $value;

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

    $user_id = $survey_invitation['user_id'];

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

        if (is_array($user_data)) {

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

                foreach ($user_data as $key => $value) {

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

                            survey_question.survey_id='".$my_survey_id."'  AND

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

                            $option_id = $answer_value;

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

                $survey_question_id = str_replace('question', '', $key);

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

                if (empty($survey_question_id)) {

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

                    $option_value

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

    foreach ($form_fields as $field) {

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

        if (isset($field_value[1]) && 1 == $field_value[1]) {

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

        $paged_questions_sec = [];

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

    SurveyManager::updateSurveyAnswered($survey, $survey_invitation['user_id']);

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

            $question_counter_max = Database::num_rows($result);

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

                        survey_answer.survey_id='".$my_survey_id."' AND

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

                        INNER JOIN $table_survey_question_option as survey_question_option

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

            $final_results = [];

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

            arsort($final_results);

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

            $groups = array_keys($final_results);

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

$table_survey_question = Database::get_course_table(TABLE_SURVEY_QUESTION);

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

                            $option_id = $answer_key;

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

                            $option_id,

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

                    $survey_question_id

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

                    $questionList[$survey_question_id],

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

    $form_fields = explode('@', $survey->getFormFields());

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

                $val = api_substr($field_value[0], 8, api_strlen($field_value[0]));

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

        '.$jquery_ready_content.'

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

    $paged_questions = [];

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

                        FROM $table_survey_question as survey_question

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

            $count_result = 0;

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

$table_survey = Database::get_course_table(TABLE_SURVEY);

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

                    $survey_invitation['survey_id'],

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

        if (isset($field_value[1]) && 1 == $field_value[1]) {

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

            if ('' != $field_value[0]) {

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

        $user_data = $form->exportValues();

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

    $questions_displayed = [];

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

        if (empty($paged_questions)) {

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

                $my_user_id = 1 == $survey->getAnonymous() ? $surveyUserFromSession : api_get_user_id();

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

                    INNER JOIN $table_survey_question as survey_question

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

            foreach ($final_results as $key => &$sub_result) {

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

$table_survey_invitation = Database::get_course_table(TABLE_SURVEY_INVITATION);

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

                        $survey_question_id

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

                            $survey_invitation['user_id'],

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

                        $survey_invitation['user_id'],

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

                $option_value = $row['value'];

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

    is_array($user_data) &&

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

                        $paged_questions[$counter][] = $row['iid'];

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

                            survey_question.iid IN (".implode(',', $paged_questions[$_GET['show']]).")

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

                $results[] = $answer_list;

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

            FROM $table_survey_invitation

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

    'tool_id' => $survey_invitation['iid'],

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

$survey_invitation['survey_id'] = $surveyId;

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

                $question = $questionList[$survey_question_id] ?? null;

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

                    $survey_invitation['user_id'],

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

                $extraFieldValue->saveFieldValues($user_data);

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

    SurveyUtil::flagSurveyAsAnswered($survey->getCode(), $survey_invitation['c_id']);

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

                                FROM ".$table_survey_answer." sa

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

                        FROM $table_survey_question survey_question

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

        $current_user = Database::escape_string($survey_invitation['user_id']);

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

                $answer_list['value'] = $row['value'];

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

                $count_result++;

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

                $other = isset($_POST['other_question'.$survey_question_id]) ? $_POST['other_question'.$survey_question_id] : '';

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

                            $option_value = $row['option_text'];

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

        $field_value = explode(':', $field);

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

                        $final_results[$group] = $porcen;

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

$table_survey_answer = Database::get_course_table(TABLE_SURVEY_ANSWER);

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

$table_survey_question_option = Database::get_course_table(TABLE_SURVEY_QUESTION_OPTION);

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

$table_user = Database::get_main_table(TABLE_MAIN_USER);

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

                    foreach ($value as $answer_key => &$answer_value) {

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

                            $option_value = $answer_value;

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

                            $option_id = $answer_value;

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

                        $option_value,

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

                $survey_question_answer = $value;

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

    $form->setDefaults($user_data);

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

        $current_user = Database::escape_string($survey_invitation['user_id']);

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

                $answer_list['group'] = $row['survey_group_pri'];

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

                            $option_value = '';

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

                            $option_value

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

                        $survey_question_id

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

    $user_id = $survey_invitation['user_id'];

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

    $paged_questions_sec = [];

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

            if (count($user_data) > 0) {

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

        if (array_key_exists($_GET['show'], $paged_questions)) {

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

                        $equal_count++;

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

        Database::insert($table_survey_invitation, $params);

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

                    $option_value = 0;

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

            Session::write('paged_questions', $paged_questions);

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

                        LEFT JOIN $table_survey_question_option survey_question_option

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

                        survey_answer.user='".$current_user."'

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

$survey_invitation = Database::fetch_assoc($result);

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

                $other = isset($_POST['other_question'.$survey_question_id]) ? $_POST['other_question'.$survey_question_id] : '';

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

                        $survey_invitation['user_id'],

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

    $jquery_ready_content = $returnParams['jquery_ready_content'];

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

        $my_survey_id = (int) $survey_invitation['survey_id'];

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

                    FROM $table_survey_answer as survey_answer

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

                $sql = "SELECT value FROM $table_survey_question_option

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

                    $survey_invitation['user_id'],

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

$user_data = api_get_user_info($user_id);

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

                $val = api_substr($field_value[0], 8, api_strlen($field_value[0]));

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

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

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

                        LEFT JOIN $table_survey_question_option survey_question_option

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

            if ($count_result > 0) {

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

        SurveyUtil::isSurveyAnsweredFlagged($survey->getCode(), $survey_invitation['c_id'])

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

                $survey_question_id = str_replace('question', '', $key);

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

                if (empty($survey_question_id)) {

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

                    if (isset($types[$survey_question_id]) && 'percentage' === $types[$survey_question_id]) {

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

                    if (isset($types[$survey_question_id]) && 'percentage' === $types[$survey_question_id]) {

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

                        if (isset($types[$survey_question_id]) && 'open' === $types[$survey_question_id]) {

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

                            $option_value = $value;

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

        $courseId = $survey_invitation['c_id'];

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

                $result[] = ['group' => $key, 'value' => $sub_result];

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

            $group_cant = 0;

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

                $equal_count = 10;

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

                        $group_cant = 1;

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

                $order_sql = ' BY question_id ';

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

                $imploded = Database::escape_string(implode(',', $paged_questions[$val]));

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

                                survey_question.survey_id = '".intval($survey_invitation['survey_id'])."' AND

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

$g_ic = isset($_GET['invitationcode']) ? Security::remove_XSS($_GET['invitationcode']) : '';

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

            if ($equal_count < 4) {

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

                    for ($i = 0; $i <= $group_cant; $i++) {

Variable "group2" contains numbers but this is discouraged
Open

                                $secondary .= " OR ( survey_group_sec1 = '$group2' AND survey_group_sec2 = '$group1' ) ";

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

                                $paged_questions_sec[$counter][] = $row['question_id'];

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

                        if (2 == $group_cant && $i == $group_cant) {

Variable "group1" contains numbers but this is discouraged
Open

                                $secondary .= " OR ( survey_group_sec1 = '$group2' AND survey_group_sec2 = '$group1' ) ";

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

                                    survey_id = '".$my_survey_id."' AND

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

$g_cr = isset($_GET['cidReq']) ? Security::remove_XSS($_GET['cidReq']) : '';

Variable "group2" contains numbers but this is discouraged
Open

                            $secondary .= " OR ( survey_group_sec1 = '$group1' AND  survey_group_sec2 = '$group2') ";

Variable "group1" contains numbers but this is discouraged
Open

                            $secondary .= " OR ( survey_group_sec1 = '$group2' AND survey_group_sec2 = '$group1' ) ";

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

                                $paged_questions_sec[$counter][] = $row['question_id'];

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

                                LEFT JOIN $table_survey_question_option survey_question_option

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

            $paged_questions_sec = [];

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

                if ($group_cant > 0) {

Variable "group2" contains numbers but this is discouraged
Open

                            $secondary .= " OR ( survey_group_sec1 = '$group2' AND survey_group_sec2 = '$group1' ) ";

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

    $pagesIndexes = array_keys($paged_questions);

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

$form->addHidden('language', $p_l);

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

                    $group_cant = $equal_count;

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

                        if (2 == $group_cant && $i == $group_cant) {

Variable "group1" contains numbers but this is discouraged
Open

                                $secondary .= " OR ( survey_group_sec1 = '$group1' AND  survey_group_sec2 = '$group2') ";

Variable "group2" contains numbers but this is discouraged
Open

                                $secondary .= " OR ( survey_group_sec1 = '$group1' AND  survey_group_sec2 = '$group2') ";

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

                        $question_counter_max = Database::num_rows($result);

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

                            $paged_questions[$counter][] = $row['question_id'];

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

                    $question_counter_max = Database :: num_rows($result);

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

$g_c = isset($_GET['course']) ? Security::remove_XSS($_GET['course']) : '';

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

$add_parameters = isset($_GET['user_id']) ? '&user_id='.intval($_GET['user_id']) : '';

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

        $display = new $ch_type();

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

                        $sql = "SELECT * FROM $table_survey_question

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

                                FROM $table_survey_question survey_question

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

                        $paged_questions[$counter][] = $row['question_id'];

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

                            ORDER $order_sql ";

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

$url = api_get_self().'?cid='.$courseId.'&sid='.$sessionId.$add_parameters.

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

                $order_sql = ' BY survey_question.sort, survey_question_option.sort ASC ';

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

                            LEFT JOIN $table_survey_question_option survey_question_option

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

$p_l = isset($_POST['language']) ? Security::remove_XSS($_POST['language']) : '';

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

        $form->addHtml('<div class="survey_question '.$ch_type.' '.$parentClass.'">');

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

        if (!empty($paged_questions_sec) && count($paged_questions_sec) > 0) {

Variable "group1" contains numbers but this is discouraged
Open

                                $secondary .= " OR ( survey_group_sec1 = '$group2' AND survey_group_sec2 = '$group1' ) ";

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

                        Session::write('page_questions_sec', $paged_questions_sec);

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

                        ORDER ".$order_sql." ";

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

        foreach ($paged_questions as $keyQuestion => $list) {

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

        if (!empty($paged_questions_sec) && count($paged_questions_sec) > 0) {

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

                        $group_cant = 2;

Variable "group2" contains numbers but this is discouraged
Open

                                $secondary .= " OR ( survey_group_sec1 = '$group2' AND survey_group_sec2 = '$group1' ) ";

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

            $order_sql = $shuffle;

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

                $sql = "SELECT * FROM $table_survey_question

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

        if (!empty($userAnswerData[$user_id])) {

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

            $numberOfPages = count($paged_questions);

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

                        $group_cant = 0;

Variable "group1" contains numbers but this is discouraged
Open

                            $secondary .= " OR ( survey_group_sec1 = '$group1' AND  survey_group_sec2 = '$group2') ";

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

                                    survey_question.survey_id = '".$my_survey_id."'

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

                            FROM $table_survey_question survey_question

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

    '&invitationcode='.$g_ic.

Variable "group2" contains numbers but this is discouraged
Open

                                $secondary .= " ( survey_group_sec1 = '$group1' AND  survey_group_sec2 = '$group2') ";

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

                    $order_sql = ' BY survey_question.sort, survey_question_option.sort ASC ';

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

                if (0 === $equal_count || 1 === $equal_count) {

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

                    $group_cant = $equal_count;

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

                        $paged_questions_sec = Session::read('page_questions_sec');

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

                                    survey_question.iid IN (".implode(',', $paged_questions_sec[$val]).")

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

                $paged_questions = Session::read('paged_questions');

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

            $order_sql = $shuffle;

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

    '&course='.$g_c.

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

            $userAnswer = $userAnswerData[$user_id];

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

            $numberOfPages += count($paged_questions_sec);

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

                if (0 === $equal_count || 1 === $equal_count) {

Variable "group1" contains numbers but this is discouraged
Open

                                $secondary .= " ( survey_group_sec1 = '$group1' AND  survey_group_sec2 = '$group2') ";

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

            $paged_questions_sec = [];

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

        $ch_type = 'ch_'.$question['type'];

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

    } elseif (!is_array($user_data)) {

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

                    $paged_questions = Session::read('paged_questions'); // For the sake of pages counting

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

                    if (is_array($paged_questions_sec)) {

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

                Session::write('paged_questions', $paged_questions);

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

        $numberOfPages = count($paged_questions);

Expected 0 spaces after opening bracket; newline found
Open

if (

Expected 0 spaces before closing bracket; newline found
Open

    header('Location: '.

Expected 0 spaces after opening bracket; newline found
Open

                if (

There are no issues that match your filters.

Category
Status