tests/Codes/Armaments/ArmorCodeTest.php
The method I_can_ask_it_if_is_helm_or_body_armor is not named in camelCase. Open
Open
abstract public function I_can_ask_it_if_is_helm_or_body_armor();
- 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_protective_armament is not named in camelCase. Open
Open
public function I_can_easily_find_out_if_is_protective_armament()
{
/** @var ArmorCode $sut */
$sut = $this->getSut();
self::assertTrue($sut->isProtectiveArmament());
- 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_armor_code is not named in camelCase. Open
Open
public function It_is_armor_code()
{
/** @var ArmorCode $sut */
$sut = $this->getSut();
self::assertInstanceOf(ArmorCode::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() {
}
}