tests/Codes/CombatActions/CombatActionCodeTest.php
The method It_is_both_for_melee_and_ranged is not named in camelCase. Open
Open
public function It_is_both_for_melee_and_ranged()
{
self::assertTrue(CombatActionCode::getIt(CombatActionCode::BLINDFOLD_FIGHT)->isForMelee());
self::assertTrue(CombatActionCode::getIt(CombatActionCode::CONCENTRATION_ON_DEFENSE)->isForRanged());
}
- 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() {
}
}