jaroslavtyc/drd-plus-codes

View on GitHub
tests/Codes/Armaments/ArmorCodeTest.php

Summary

Maintainability
A
0 mins
Test Coverage

The method I_can_ask_it_if_is_helm_or_body_armor is not named in camelCase.
Open

    abstract public function I_can_ask_it_if_is_helm_or_body_armor();

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 I_can_easily_find_out_if_is_protective_armament is not named in camelCase.
Open

    public function I_can_easily_find_out_if_is_protective_armament()
    {
        /** @var ArmorCode $sut */
        $sut = $this->getSut();
        self::assertTrue($sut->isProtectiveArmament());

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 It_is_armor_code is not named in camelCase.
Open

    public function It_is_armor_code()
    {
        /** @var ArmorCode $sut */
        $sut = $this->getSut();
        self::assertInstanceOf(ArmorCode::class, $sut);

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