lib/Ajde/Crud/Field/Spatial.php

Summary

Maintainability
A
0 mins
Test Coverage

The class Ajde_Crud_Field_Spatial is not named in CamelCase.
Open

class Ajde_Crud_Field_Spatial extends Ajde_Crud_Field
{
    protected function _getHtmlAttributes()
    {
        $value = $this->getValue();
Severity: Minor
Found in lib/Ajde/Crud/Field/Spatial.php by phpmd

CamelCaseClassName

Since: 0.2

It is considered best practice to use the CamelCase notation to name classes.

Example

class class_name {
}

Source

The method _getHtmlAttributes is not named in camelCase.
Open

    protected function _getHtmlAttributes()
    {
        $value = $this->getValue();
        if (!substr_count($value, ' ') && !empty($value)) {
            $data = unpack('x/x/x/x/corder/Ltype/dlat/dlon', $this->getValue());
Severity: Minor
Found in lib/Ajde/Crud/Field/Spatial.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

There are no issues that match your filters.

Category
Status