Dhii/simple-test-abstract

View on GitHub
src/Writer/AbstractWriter.php

Summary

Maintainability
A
0 mins
Test Coverage

The method _simpleDebug is not named in camelCase.
Open

    protected function _simpleDebug($object)
    {
        if (is_object($object)) {
            return sprintf('object(%1$s)', get_class($object));
        }
Severity: Minor
Found in src/Writer/AbstractWriter.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 _write is not named in camelCase.
Open

    abstract protected function _write($text);
Severity: Minor
Found in src/Writer/AbstractWriter.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 _isShouldWriteLevel is not named in camelCase.
Open

    protected function _isShouldWriteLevel($level)
    {
        return $this->getLevel() >= intval($level);
    }
Severity: Minor
Found in src/Writer/AbstractWriter.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 _getEol is not named in camelCase.
Open

    protected function _getEol()
    {
        return static::EOL;
    }
Severity: Minor
Found in src/Writer/AbstractWriter.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