jaroslavtyc/drd-plus-codes

View on GitHub
tests/Codes/CombatActions/CombatActionCodeTest.php

Summary

Maintainability
A
0 mins
Test Coverage

The method It_is_both_for_melee_and_ranged is not named in camelCase.
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());
    }

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