lib/Ajde/Filter/Link.php

Summary

Maintainability
A
0 mins
Test Coverage

Avoid unused parameters such as '$table'.
Open

    public function prepare(Ajde_Db_Table $table = null)
Severity: Minor
Found in lib/Ajde/Filter/Link.php by phpmd

UnusedFormalParameter

Since: 0.2

Avoid passing parameters to methods or constructors and then not using those parameters.

Example

class Foo
{
    private function bar($howdy)
    {
        // $howdy is not used
    }
}

Source https://phpmd.org/rules/unusedcode.html#unusedformalparameter

The property $_meta is not named in camelCase.
Open

class Ajde_Filter_Link extends Ajde_Filter
{
    protected $_collection;
    protected $_link;
    protected $_meta;
Severity: Minor
Found in lib/Ajde/Filter/Link.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_Filter_Link is not named in CamelCase.
Open

class Ajde_Filter_Link extends Ajde_Filter
{
    protected $_collection;
    protected $_link;
    protected $_meta;
Severity: Minor
Found in lib/Ajde/Filter/Link.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 $_collection is not named in camelCase.
Open

class Ajde_Filter_Link extends Ajde_Filter
{
    protected $_collection;
    protected $_link;
    protected $_meta;
Severity: Minor
Found in lib/Ajde/Filter/Link.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 property $_value is not named in camelCase.
Open

class Ajde_Filter_Link extends Ajde_Filter
{
    protected $_collection;
    protected $_link;
    protected $_meta;
Severity: Minor
Found in lib/Ajde/Filter/Link.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 property $_link is not named in camelCase.
Open

class Ajde_Filter_Link extends Ajde_Filter
{
    protected $_collection;
    protected $_link;
    protected $_meta;
Severity: Minor
Found in lib/Ajde/Filter/Link.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

There are no issues that match your filters.

Category
Status