lib/Ajde/Component.php

Summary

Maintainability
A
0 mins
Test Coverage

The property $_parser is not named in camelCase.
Open

abstract class Ajde_Component extends Ajde_Object_Standard
{
    const AC_XMLNS = 'ac';
    const AV_XMLNS = 'av';

Severity: Minor
Found in lib/Ajde/Component.php by phpmd

CamelCasePropertyName

Since: 0.2

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

Example

class ClassName {
    protected $property_name;
}

Source

The class Ajde_Component is not named in CamelCase.
Open

abstract class Ajde_Component extends Ajde_Object_Standard
{
    const AC_XMLNS = 'ac';
    const AV_XMLNS = 'av';

Severity: Minor
Found in lib/Ajde/Component.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 property $_parseRules is not named in camelCase.
Open

abstract class Ajde_Component extends Ajde_Object_Standard
{
    const AC_XMLNS = 'ac';
    const AV_XMLNS = 'av';

Severity: Minor
Found in lib/Ajde/Component.php by phpmd

CamelCasePropertyName

Since: 0.2

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

Example

class ClassName {
    protected $property_name;
}

Source

The method _attributeParse is not named in camelCase.
Open

    protected function _attributeParse()
    {
        foreach ($this->_parseRules as $attributeSet => $rule) {
            if (array_key_exists($attributeSet, $this->attributes)) {
                return $rule;
Severity: Minor
Found in lib/Ajde/Component.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 _init is not named in camelCase.
Open

    protected function _init()
    {
        return [];
    }
Severity: Minor
Found in lib/Ajde/Component.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