chamilo/chamilo-lms

View on GitHub
public/main/lp/aicc_hacp.php

Summary

Maintainability
A
0 mins
Test Coverage

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

            $result .= $tab.'Student_Name='.api_get_person_name($_user['firstName'], $_user['lastName']).$crlf;
Severity: Minor
Found in public/main/lp/aicc_hacp.php by phpcodesniffer

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

                        $hacp_version = $value;
Severity: Minor
Found in public/main/lp/aicc_hacp.php by phpcodesniffer

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

                        $value = str_replace($convert_enc, $convert_dec, $value);
Severity: Minor
Found in public/main/lp/aicc_hacp.php by phpcodesniffer

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

            $error_code = 0;
Severity: Minor
Found in public/main/lp/aicc_hacp.php by phpcodesniffer

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

            $result = $s_ec.$error_code.$crlf.$s_et.$error_text.$crlf.$s_ad.$crlf;
Severity: Minor
Found in public/main/lp/aicc_hacp.php by phpcodesniffer

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

$s_et = 'error_text='; //string for error text
Severity: Minor
Found in public/main/lp/aicc_hacp.php by phpcodesniffer

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

                $hacp_session_id = Database::escape_string($_REQUEST['session_id']);
Severity: Minor
Found in public/main/lp/aicc_hacp.php by phpcodesniffer

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

            $error_text = $errors[$error_code];
Severity: Minor
Found in public/main/lp/aicc_hacp.php by phpcodesniffer

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

$error_code = 0;
Severity: Minor
Found in public/main/lp/aicc_hacp.php by phpcodesniffer

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

$error_text = '';
Severity: Minor
Found in public/main/lp/aicc_hacp.php by phpcodesniffer

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

            $hacp_session_id = '';
Severity: Minor
Found in public/main/lp/aicc_hacp.php by phpcodesniffer

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

            $error_text = $errors[$error_code];
Severity: Minor
Found in public/main/lp/aicc_hacp.php by phpcodesniffer

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

            $result = $s_ec.$error_code.$crlf.$s_et.$error_text.$crlf.$s_ad.$crlf;
Severity: Minor
Found in public/main/lp/aicc_hacp.php by phpcodesniffer

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

            $error_code = 0;
Severity: Minor
Found in public/main/lp/aicc_hacp.php by phpcodesniffer

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

            $result = $s_ec.$error_code.$crlf.$s_et.$error_text.$crlf.$s_ad.$crlf;
Severity: Minor
Found in public/main/lp/aicc_hacp.php by phpcodesniffer

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

                        $hacp_session_id = $value;
Severity: Minor
Found in public/main/lp/aicc_hacp.php by phpcodesniffer

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

            $error_text = $errors[$error_code];
Severity: Minor
Found in public/main/lp/aicc_hacp.php by phpcodesniffer

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

            $error_text = $errors[$error_code];
Severity: Minor
Found in public/main/lp/aicc_hacp.php by phpcodesniffer

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

            $error_text = $errors[$error_code];
Severity: Minor
Found in public/main/lp/aicc_hacp.php by phpcodesniffer

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

            $result = $s_ec.$error_code.$crlf.$s_et.$error_text.$crlf.$s_ad.$crlf;
Severity: Minor
Found in public/main/lp/aicc_hacp.php by phpcodesniffer

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

            $error_text = $errors[$error_code];
Severity: Minor
Found in public/main/lp/aicc_hacp.php by phpcodesniffer

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

            $result = $s_ec.$error_code.$crlf.$s_et.$error_text.$crlf.$s_ad.$crlf;
Severity: Minor
Found in public/main/lp/aicc_hacp.php by phpcodesniffer

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

$s_ad = 'aicc_data='; //string for aicc_data
Severity: Minor
Found in public/main/lp/aicc_hacp.php by phpcodesniffer

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

            $error_text = $errors[$error_code];
Severity: Minor
Found in public/main/lp/aicc_hacp.php by phpcodesniffer

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

$use_anonymous = true;
Severity: Minor
Found in public/main/lp/aicc_hacp.php by phpcodesniffer

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

            $result = $s_ec.$error_code.$crlf.$s_et.$error_text.$crlf.$s_ad;
Severity: Minor
Found in public/main/lp/aicc_hacp.php by phpcodesniffer

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

                        $hacp_aicc_data = $value;
Severity: Minor
Found in public/main/lp/aicc_hacp.php by phpcodesniffer

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

            $result = $s_ec.$error_code.$crlf.$s_et.$error_text.$crlf.$s_ad.$crlf;
Severity: Minor
Found in public/main/lp/aicc_hacp.php by phpcodesniffer

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

            $result = $s_ec.$error_code.$crlf.$s_et.$error_text.$crlf.$s_ad.$crlf;
Severity: Minor
Found in public/main/lp/aicc_hacp.php by phpcodesniffer

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

            $result = $s_ec.$error_code.$crlf.$s_et.$error_text.$crlf.$s_ad.$crlf;
Severity: Minor
Found in public/main/lp/aicc_hacp.php by phpcodesniffer

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

$s_ec = 'error='; //string for error code
Severity: Minor
Found in public/main/lp/aicc_hacp.php by phpcodesniffer

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

$aicc_data = '';
Severity: Minor
Found in public/main/lp/aicc_hacp.php by phpcodesniffer

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

            $result = $s_ec.$error_code.$crlf.$s_et.$error_text.$crlf.$s_ad;
Severity: Minor
Found in public/main/lp/aicc_hacp.php by phpcodesniffer

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

            $result = $s_ec.$error_code.$crlf.$s_et.$error_text.$crlf.$s_ad.$crlf;
Severity: Minor
Found in public/main/lp/aicc_hacp.php by phpcodesniffer

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

            $error_text = $errors[$error_code];
Severity: Minor
Found in public/main/lp/aicc_hacp.php by phpcodesniffer

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

            $result .= $tab.'Student_ID='.$_user['user_id'].$crlf;
Severity: Minor
Found in public/main/lp/aicc_hacp.php by phpcodesniffer

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

            $hacp_aicc_data = '';
Severity: Minor
Found in public/main/lp/aicc_hacp.php by phpcodesniffer

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

            $msg_array = $aicc->parse_ini_string_quotes_safe($hacp_aicc_data, ['core_lesson', 'core_vendor']);
Severity: Minor
Found in public/main/lp/aicc_hacp.php by phpcodesniffer

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

            foreach ($msg_array as $key => $dummy) {
Severity: Minor
Found in public/main/lp/aicc_hacp.php by phpcodesniffer

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

                        $oItem->current_data = $msg_array[$key];
Severity: Minor
Found in public/main/lp/aicc_hacp.php by phpcodesniffer

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

            $result = $s_ec.$error_code.$crlf.$s_et.$error_text.$crlf.$s_ad.$crlf;
Severity: Minor
Found in public/main/lp/aicc_hacp.php by phpcodesniffer

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

            $result = $s_ec.$error_code.$crlf.$s_et.$error_text.$crlf.$s_ad.$crlf;
Severity: Minor
Found in public/main/lp/aicc_hacp.php by phpcodesniffer

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

            $result = $s_ec.$error_code.$crlf.$s_et.$error_text.$crlf.$s_ad.$crlf;
Severity: Minor
Found in public/main/lp/aicc_hacp.php by phpcodesniffer

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

            $result = $s_ec.$error_code.$crlf.$s_et.$error_text.$crlf.$s_ad.$crlf;
Severity: Minor
Found in public/main/lp/aicc_hacp.php by phpcodesniffer

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

            $error_text = $errors[$error_code];
Severity: Minor
Found in public/main/lp/aicc_hacp.php by phpcodesniffer

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

$autocomplete_when_80pct = 0;
Severity: Minor
Found in public/main/lp/aicc_hacp.php by phpcodesniffer

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

            $error_code = 0;
Severity: Minor
Found in public/main/lp/aicc_hacp.php by phpcodesniffer

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

            $result .= $oItem->get_launch_data.$crlf;
Severity: Minor
Found in public/main/lp/aicc_hacp.php by phpcodesniffer

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

                        $value = str_replace($convert_enc, $convert_dec, $value);
Severity: Minor
Found in public/main/lp/aicc_hacp.php by phpcodesniffer

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

            $result = $s_ec.$error_code.$crlf.$s_et.$error_text.$crlf.$s_ad.$crlf;
Severity: Minor
Found in public/main/lp/aicc_hacp.php by phpcodesniffer

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

            $hacp_version = '';
Severity: Minor
Found in public/main/lp/aicc_hacp.php by phpcodesniffer

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

            $result = $s_ec.$error_code.$crlf.$s_et.$error_text.$crlf.$s_ad.$crlf;
Severity: Minor
Found in public/main/lp/aicc_hacp.php by phpcodesniffer

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

                $hacp_version = Database::escape_string($_REQUEST['version']);
Severity: Minor
Found in public/main/lp/aicc_hacp.php by phpcodesniffer

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

            $result = $s_ec.$error_code.$crlf.$s_et.$error_text.$crlf.$s_ad;
Severity: Minor
Found in public/main/lp/aicc_hacp.php by phpcodesniffer

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

            $result = $s_ec.$error_code.$crlf.$s_et.$error_text.$crlf.$s_ad;
Severity: Minor
Found in public/main/lp/aicc_hacp.php by phpcodesniffer

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

            $msg_array = $aicc->parse_ini_string_quotes_safe($hacp_aicc_data, ['core_lesson', 'core_vendor']);
Severity: Minor
Found in public/main/lp/aicc_hacp.php by phpcodesniffer

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

            $error_code = 0;
Severity: Minor
Found in public/main/lp/aicc_hacp.php by phpcodesniffer

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

            $result = $s_ec.$error_code.$crlf.$s_et.$error_text.$crlf.$s_ad.$crlf;
Severity: Minor
Found in public/main/lp/aicc_hacp.php by phpcodesniffer

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

            $result = $s_ec.$error_code.$crlf.$s_et.$error_text.$crlf.$s_ad.$crlf;
Severity: Minor
Found in public/main/lp/aicc_hacp.php by phpcodesniffer

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

            $error_text = $errors[$error_code];
Severity: Minor
Found in public/main/lp/aicc_hacp.php by phpcodesniffer

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

            $result = $s_ec.$error_code.$crlf.$s_et.$error_text.$crlf.$s_ad.$crlf;
Severity: Minor
Found in public/main/lp/aicc_hacp.php by phpcodesniffer

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

            $result = $s_ec.$error_code.$crlf.$s_et.$error_text.$crlf.$s_ad.$crlf;
Severity: Minor
Found in public/main/lp/aicc_hacp.php by phpcodesniffer

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

            $result = $s_ec.$error_code.$crlf.$s_et.$error_text.$crlf.$s_ad.$crlf;
Severity: Minor
Found in public/main/lp/aicc_hacp.php by phpcodesniffer

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

            $error_text = $errors[$error_code];
Severity: Minor
Found in public/main/lp/aicc_hacp.php by phpcodesniffer

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

            $result .= $tab.'Student_Name='.api_get_person_name($_user['firstName'], $_user['lastName']).$crlf;
Severity: Minor
Found in public/main/lp/aicc_hacp.php by phpcodesniffer

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

                        foreach ($msg_array[$key] as $subkey => $value) {
Severity: Minor
Found in public/main/lp/aicc_hacp.php by phpcodesniffer

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

            $error_text = $errors[$error_code];
Severity: Minor
Found in public/main/lp/aicc_hacp.php by phpcodesniffer

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

            $result = $s_ec.$error_code.$crlf.$s_et.$error_text.$crlf.$s_ad.$crlf;
Severity: Minor
Found in public/main/lp/aicc_hacp.php by phpcodesniffer

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

            $error_code = 0;
Severity: Minor
Found in public/main/lp/aicc_hacp.php by phpcodesniffer

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

            $result = $s_ec.$error_code.$crlf.$s_et.$error_text.$crlf;
Severity: Minor
Found in public/main/lp/aicc_hacp.php by phpcodesniffer

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

            $result = $s_ec.$error_code.$crlf.$s_et.$error_text.$crlf.$s_ad;
Severity: Minor
Found in public/main/lp/aicc_hacp.php by phpcodesniffer

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

                        $oItem->current_data = $msg_array[$key];
Severity: Minor
Found in public/main/lp/aicc_hacp.php by phpcodesniffer

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

            $result = $s_ec.$error_code.$crlf.$s_et.$error_text.$crlf.$s_ad.$crlf;
Severity: Minor
Found in public/main/lp/aicc_hacp.php by phpcodesniffer

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

            $result = $s_ec.$error_code.$crlf.$s_et.$error_text.$crlf.$s_ad.$crlf;
Severity: Minor
Found in public/main/lp/aicc_hacp.php by phpcodesniffer

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

            $result = $s_ec.$error_code.$crlf.$s_et.$error_text.$crlf.$s_ad.$crlf;
Severity: Minor
Found in public/main/lp/aicc_hacp.php by phpcodesniffer

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

            $error_code = 0;
Severity: Minor
Found in public/main/lp/aicc_hacp.php by phpcodesniffer

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

            $result = $s_ec.$error_code.$crlf.$s_et.$error_text.$crlf.$s_ad.$crlf;
Severity: Minor
Found in public/main/lp/aicc_hacp.php by phpcodesniffer

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

            $result = $s_ec.$error_code.$crlf.$s_et.$error_text.$crlf.$s_ad.$crlf;
Severity: Minor
Found in public/main/lp/aicc_hacp.php by phpcodesniffer

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

            $result = $s_ec.$error_code.$crlf.$s_et.$error_text.$crlf.$s_ad.$crlf;
Severity: Minor
Found in public/main/lp/aicc_hacp.php by phpcodesniffer

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

$convert_enc = ['%25', '%0D', '%0A', '%09', '%20', '%2D', '%2F', '%3B', '%3F', '%7B', '%7D', '%7C', '%5C', '%5E', '%7E', '%5B', '%5D', '%60', '%23', '%3E', '%3C', '%22'];
Severity: Minor
Found in public/main/lp/aicc_hacp.php by phpcodesniffer

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

$convert_dec = ['%', "\r", "\n", "\t", ' ', '-', '/', ';', '?', '{', '}', '|', '\\', '^', '~', '[', ']', '`', '#', '>', '<', '"'];
Severity: Minor
Found in public/main/lp/aicc_hacp.php by phpcodesniffer

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

            $result = $s_ec.$error_code.$crlf.$s_et.$error_text.$crlf.$s_ad.$crlf;
Severity: Minor
Found in public/main/lp/aicc_hacp.php by phpcodesniffer

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

            $result = $s_ec.$error_code.$crlf.$s_et.$error_text.$crlf.$s_ad.$crlf;
Severity: Minor
Found in public/main/lp/aicc_hacp.php by phpcodesniffer

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

            $result = $s_ec.$error_code.$crlf.$s_et.$error_text.$crlf.$s_ad.$crlf;
Severity: Minor
Found in public/main/lp/aicc_hacp.php by phpcodesniffer

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

            $error_code = 0;
Severity: Minor
Found in public/main/lp/aicc_hacp.php by phpcodesniffer

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

            $result = $s_ec.$error_code.$crlf.$s_et.$error_text.$crlf.$s_ad.$crlf;
Severity: Minor
Found in public/main/lp/aicc_hacp.php by phpcodesniffer

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

            $result = $s_ec.$error_code.$crlf.$s_et.$error_text.$crlf.$s_ad.$crlf;
Severity: Minor
Found in public/main/lp/aicc_hacp.php by phpcodesniffer

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

            $error_code = 0;
Severity: Minor
Found in public/main/lp/aicc_hacp.php by phpcodesniffer

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

            $result = $s_ec.$error_code.$crlf.$s_et.$error_text.$crlf.$s_ad.$crlf;
Severity: Minor
Found in public/main/lp/aicc_hacp.php by phpcodesniffer

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

            $result = $s_ec.$error_code.$crlf.$s_et.$error_text.$crlf.$s_ad.$crlf;
Severity: Minor
Found in public/main/lp/aicc_hacp.php by phpcodesniffer

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

            $result = $s_ec.$error_code.$crlf.$s_et.$error_text.$crlf;
Severity: Minor
Found in public/main/lp/aicc_hacp.php by phpcodesniffer

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

            $error_code = 1;
Severity: Minor
Found in public/main/lp/aicc_hacp.php by phpcodesniffer

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

            $error_text = $errors[1];
Severity: Minor
Found in public/main/lp/aicc_hacp.php by phpcodesniffer

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

            $result = $s_ec.$error_code.$crlf.$s_et.$error_text.$crlf;
Severity: Minor
Found in public/main/lp/aicc_hacp.php by phpcodesniffer

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

            $error_text = $errors[$error_code];
Severity: Minor
Found in public/main/lp/aicc_hacp.php by phpcodesniffer

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

            $error_text = $errors[$error_code];
Severity: Minor
Found in public/main/lp/aicc_hacp.php by phpcodesniffer

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

            $result = $s_ec.$error_code.$crlf.$s_et.$error_text.$crlf;
Severity: Minor
Found in public/main/lp/aicc_hacp.php by phpcodesniffer

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

            $error_text = $errors[$error_code];
Severity: Minor
Found in public/main/lp/aicc_hacp.php by phpcodesniffer

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

            $error_text = $errors[$error_code];
Severity: Minor
Found in public/main/lp/aicc_hacp.php by phpcodesniffer

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

            $result = $s_ec.$error_code.$crlf.$s_et.$error_text.$crlf.$s_ad.$crlf;
Severity: Minor
Found in public/main/lp/aicc_hacp.php by phpcodesniffer

There are no issues that match your filters.

Category
Status