jaroslavtyc/drd-plus-health

View on GitHub
tests/Health/Afflictions/ElementalPertinence/ElementalPertinenceTest.php

Summary

Maintainability
A
0 mins
Test Coverage

The method I_can_get_both_minus_and_plus_pertinence is not named in camelCase.
Open

    public function I_can_get_both_minus_and_plus_pertinence()
    {
        $pertinenceClass = $this->getPertinenceClass();
        $classConstantName = "{$pertinenceClass}::" . strtoupper($pertinenceClass::getPertinenceCode());
        self::assertTrue(defined($classConstantName), "Expected constant {$classConstantName}");

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