chamilo/chamilo-lms

View on GitHub
public/plugin/advanced_subscription/test/ws_session_user.php

Summary

Maintainability
A
0 mins
Test Coverage

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

        echo Display::url('message'.$result->message, $result->action_url);

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

$check_ip = false;

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

    if (is_object($result) && isset($result->action_url)) {

Each PHP statement must be on a line by itself
Open

    $security_key = $ip.api_get_env_variable('kernel.secret');;

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

    $security_key = api_get_env_variable('kernel.secret');

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

$params['secret_key'] = hash('sha512', $security_key);

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

        $check_ip = true;

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

if ($check_ip) {

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

    if (!empty($ws_auth_ip)) {

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

    $security_key = $ip.api_get_env_variable('kernel.secret');;

There are no issues that match your filters.

Category
Status