RebelCode/wp-admin-page

View on GitHub
src/ContentAwarePageTrait.php

Summary

Maintainability
A
0 mins
Test Coverage

The method _setContent is not named in camelCase.
Open

    protected function _setContent($content)
    {
        $this->content = $content;

        return $this;
Severity: Minor
Found in src/ContentAwarePageTrait.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 _getContent is not named in camelCase.
Open

    protected function _getContent()
    {
        return $this->content;
    }
Severity: Minor
Found in src/ContentAwarePageTrait.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