Dhii/simple-test-abstract

View on GitHub
src/Assertion/AbstractMaker.php

Summary

Maintainability
A
0 mins
Test Coverage

The method _processAssertionResult is not named in camelCase.
Open

    protected function _processAssertionResult($result)
    {
        $status = $result === true
                ? self::SUCCESS
                : self::FAILURE;
Severity: Minor
Found in src/Assertion/AbstractMaker.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 _failAssertion is not named in camelCase.
Open

    protected function _failAssertion($message)
    {
        throw new FailedException($message);
    }
Severity: Minor
Found in src/Assertion/AbstractMaker.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