tests/Codes/Armaments/MeleeWeaponlikeCodeTrait.php
The method It_is_not_range_nor_shooting_nor_throwing_weapon_nor_projectile_code is not named in camelCase. Open
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());
- 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() {
}
}
Source
The method It_is_melee_weaponlike_code is not named in camelCase. Open
Open
public function It_is_melee_weaponlike_code()
{
$sut = $this->getSut();
self::assertInstanceOf(MeleeWeaponlikeCode::class, $sut);
}
- 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() {
}
}
Source
The method I_can_easily_find_out_if_is_melee_weapon is not named in camelCase. Open
Open
abstract public function I_can_easily_find_out_if_is_melee_weapon();
- 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() {
}
}
Source
The method I_can_easily_find_out_if_is_shield is not named in camelCase. Open
Open
abstract public function I_can_easily_find_out_if_is_shield();
- 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() {
}
}