detain/myadmin-opensrs-domains

View on GitHub

Showing 90 of 90 total issues

The variable $redempt_date is not named in camelCase.
Open

    public static function activate_domain($id)
    {
        page_title('Activate Domain');
        $settings = get_module_settings('domains');
        $db = get_module_db('domains');
Severity: Minor
Found in src/Plugin.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 $website_id is not named in camelCase.
Open

    public static function activate_domain($id)
    {
        page_title('Activate Domain');
        $settings = get_module_settings('domains');
        $db = get_module_db('domains');
Severity: Minor
Found in src/Plugin.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 $au_registrant_info is not named in camelCase.
Open

    public static function activate_domain($id)
    {
        page_title('Activate Domain');
        $settings = get_module_settings('domains');
        $db = get_module_db('domains');
Severity: Minor
Found in src/Plugin.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 $au_registrant_info is not named in camelCase.
Open

    public static function activate_domain($id)
    {
        page_title('Activate Domain');
        $settings = get_module_settings('domains');
        $db = get_module_db('domains');
Severity: Minor
Found in src/Plugin.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 $event_id is not named in camelCase.
Open

    public static function ackEvent($event_id)
    {
        $response = self::xmlRequest('EVENT', 'ACK', ['event_id'=>$event_id]);
        if ($response === false) {
            return false;
Severity: Minor
Found in src/OpenSRS.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 $expiry_full_date is not named in camelCase.
Open

    public static function activate_domain($id)
    {
        page_title('Activate Domain');
        $settings = get_module_settings('domains');
        $db = get_module_db('domains');
Severity: Minor
Found in src/Plugin.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 $dns_array is not named in camelCase.
Open

    public static function activate_domain($id)
    {
        page_title('Activate Domain');
        $settings = get_module_settings('domains');
        $db = get_module_db('domains');
Severity: Minor
Found in src/Plugin.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 $dns_array is not named in camelCase.
Open

    public static function activate_domain($id)
    {
        page_title('Activate Domain');
        $settings = get_module_settings('domains');
        $db = get_module_db('domains');
Severity: Minor
Found in src/Plugin.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 method activate_domain is not named in camelCase.
Open

    public static function activate_domain($id)
    {
        page_title('Activate Domain');
        $settings = get_module_settings('domains');
        $db = get_module_db('domains');
Severity: Minor
Found in src/Plugin.php by phpmd

CamelCaseMethodName

Since: 0.2

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

Example

class ClassName {
    public function get_name() {
    }
}

Source

The method response_to_array is not named in camelCase.
Open

    public static function response_to_array($array)
    {
        $out = [];
        if (isset($array['attr'])) {
            $array = [$array];
Severity: Minor
Found in src/OpenSRS.php by phpmd

CamelCaseMethodName

Since: 0.2

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

Example

class ClassName {
    public function get_name() {
    }
}

Source

Severity
Category
Status
Source
Language