tests/Health/Afflictions/ElementalPertinence/ElementalPertinenceTest.php
The method I_can_get_both_minus_and_plus_pertinence is not named in camelCase. Open
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}");
- Read upRead up
- Exclude checks
CamelCaseMethodName
Since: 0.2
It is considered best practice to use the camelCase notation to name methods.
Example
class ClassName {
public function get_name() {
}
}