jaroslavtyc/drd-plus-codes

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

Summary

Maintainability
A
0 mins
Test Coverage

The method It_is_not_range_nor_shooting_nor_throwing_weapon_nor_projectile_code is not named in camelCase.
Open

    public function It_is_not_range_nor_shooting_nor_throwing_weapon_nor_projectile_code()
    {
        $sut = $this->getSut();
        self::assertFalse($sut->isRanged());
        self::assertFalse($sut->isShootingWeapon());

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

    public function It_is_melee_weaponlike_code()
    {
        $sut = $this->getSut();
        self::assertInstanceOf(MeleeWeaponlikeCode::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

The method I_can_easily_find_out_if_is_melee_weapon is not named in camelCase.
Open

    abstract public function I_can_easily_find_out_if_is_melee_weapon();

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

    abstract public function I_can_easily_find_out_if_is_shield();

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