detain/myadmin-licenses-module

View on GitHub

Showing 125 of 125 total issues

The variable $use_prepay is not named in camelCase.
Open

function api_buy_license_prepay($sid, $ip, $service_type, $coupon = '', $use_prepay = null)
{
    return api_buy_license($sid, $ip, $service_type, $coupon, $use_prepay);
}
Severity: Minor
Found in src/api.php by phpmd

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $service_cost is not named in camelCase.
Open

function api_buy_license($sid, $ip, $service_type, $coupon = '', $use_prepay = null)
{
    if (null === $use_prepay) {
        $use_prepay = true;
        $prepay_low_funds_triggers_error = false;
Severity: Minor
Found in src/api.php by phpmd

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $ip_owner is not named in camelCase.
Open

function api_buy_license($sid, $ip, $service_type, $coupon = '', $use_prepay = null)
{
    if (null === $use_prepay) {
        $use_prepay = true;
        $prepay_low_funds_triggers_error = false;
Severity: Minor
Found in src/api.php by phpmd

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $service_type is not named in camelCase.
Open

function api_buy_license($sid, $ip, $service_type, $coupon = '', $use_prepay = null)
{
    if (null === $use_prepay) {
        $use_prepay = true;
        $prepay_low_funds_triggers_error = false;
Severity: Minor
Found in src/api.php by phpmd

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $service_type is not named in camelCase.
Open

function api_cancel_license_ip($sid, $ip, $service_type)
{
    $service_type = (int)$service_type;
    myadmin_log('api', 'info', "api_cancel_license_ip('{$sid}', '{$ip}', {$service_type}) called", __LINE__, __FILE__);
    $module = 'licenses';
Severity: Minor
Found in src/api.php by phpmd

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $coupon_info is not named in camelCase.
Open

function api_buy_license($sid, $ip, $service_type, $coupon = '', $use_prepay = null)
{
    if (null === $use_prepay) {
        $use_prepay = true;
        $prepay_low_funds_triggers_error = false;
Severity: Minor
Found in src/api.php by phpmd

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $service_id_for_type is not named in camelCase.
Open

function api_buy_license($sid, $ip, $service_type, $coupon = '', $use_prepay = null)
{
    if (null === $use_prepay) {
        $use_prepay = true;
        $prepay_low_funds_triggers_error = false;
Severity: Minor
Found in src/api.php by phpmd

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $service_type is not named in camelCase.
Open

function api_buy_license_prepay($sid, $ip, $service_type, $coupon = '', $use_prepay = null)
{
    return api_buy_license($sid, $ip, $service_type, $coupon, $use_prepay);
}
Severity: Minor
Found in src/api.php by phpmd

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $temp_service_ids is not named in camelCase.
Open

function api_buy_license($sid, $ip, $service_type, $coupon = '', $use_prepay = null)
{
    if (null === $use_prepay) {
        $use_prepay = true;
        $prepay_low_funds_triggers_error = false;
Severity: Minor
Found in src/api.php by phpmd

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $service_types is not named in camelCase.
Open

function api_buy_license($sid, $ip, $service_type, $coupon = '', $use_prepay = null)
{
    if (null === $use_prepay) {
        $use_prepay = true;
        $prepay_low_funds_triggers_error = false;
Severity: Minor
Found in src/api.php by phpmd

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $repeat_invoice is not named in camelCase.
Open

function api_buy_license($sid, $ip, $service_type, $coupon = '', $use_prepay = null)
{
    if (null === $use_prepay) {
        $use_prepay = true;
        $prepay_low_funds_triggers_error = false;
Severity: Minor
Found in src/api.php by phpmd

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $service_types is not named in camelCase.
Open

function api_buy_license($sid, $ip, $service_type, $coupon = '', $use_prepay = null)
{
    if (null === $use_prepay) {
        $use_prepay = true;
        $prepay_low_funds_triggers_error = false;
Severity: Minor
Found in src/api.php by phpmd

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $service_cost is not named in camelCase.
Open

function api_buy_license($sid, $ip, $service_type, $coupon = '', $use_prepay = null)
{
    if (null === $use_prepay) {
        $use_prepay = true;
        $prepay_low_funds_triggers_error = false;
Severity: Minor
Found in src/api.php by phpmd

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $service_cost is not named in camelCase.
Open

function api_buy_license($sid, $ip, $service_type, $coupon = '', $use_prepay = null)
{
    if (null === $use_prepay) {
        $use_prepay = true;
        $prepay_low_funds_triggers_error = false;
Severity: Minor
Found in src/api.php by phpmd

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $use_prepay is not named in camelCase.
Open

function api_buy_license($sid, $ip, $service_type, $coupon = '', $use_prepay = null)
{
    if (null === $use_prepay) {
        $use_prepay = true;
        $prepay_low_funds_triggers_error = false;
Severity: Minor
Found in src/api.php by phpmd

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $prepay_low_funds_triggers_error is not named in camelCase.
Open

function api_buy_license($sid, $ip, $service_type, $coupon = '', $use_prepay = null)
{
    if (null === $use_prepay) {
        $use_prepay = true;
        $prepay_low_funds_triggers_error = false;
Severity: Minor
Found in src/api.php by phpmd

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $license_info is not named in camelCase.
Open

function api_buy_license($sid, $ip, $service_type, $coupon = '', $use_prepay = null)
{
    if (null === $use_prepay) {
        $use_prepay = true;
        $prepay_low_funds_triggers_error = false;
Severity: Minor
Found in src/api.php by phpmd

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $service_cost is not named in camelCase.
Open

function api_buy_license($sid, $ip, $service_type, $coupon = '', $use_prepay = null)
{
    if (null === $use_prepay) {
        $use_prepay = true;
        $prepay_low_funds_triggers_error = false;
Severity: Minor
Found in src/api.php by phpmd

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $service_types is not named in camelCase.
Open

function api_cancel_license_ip($sid, $ip, $service_type)
{
    $service_type = (int)$service_type;
    myadmin_log('api', 'info', "api_cancel_license_ip('{$sid}', '{$ip}', {$service_type}) called", __LINE__, __FILE__);
    $module = 'licenses';
Severity: Minor
Found in src/api.php by phpmd

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $service_types is not named in camelCase.
Open

function api_cancel_license_ip($sid, $ip, $service_type)
{
    $service_type = (int)$service_type;
    myadmin_log('api', 'info', "api_cancel_license_ip('{$sid}', '{$ip}', {$service_type}) called", __LINE__, __FILE__);
    $module = 'licenses';
Severity: Minor
Found in src/api.php by phpmd

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

Severity
Category
Status
Source
Language