Showing 669 of 669 total issues
The method I_can_use_wound_reason is not named in camelCase. Open
Open
public function I_can_use_wound_reason(): void
{
$woundReason = ReasonToRollAgainstMalusFromWounds::getWoundReason();
self::assertTrue($woundReason->becauseOfWound());
self::assertFalse($woundReason->becauseOfHeal());
- 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_create_treatment_boundary is not named in camelCase. Open
Open
public function I_can_create_treatment_boundary(): void
{
$treatmentBoundary = TreatmentBoundary::getIt($value = 0);
self::assertSame($value, $treatmentBoundary->getValue());
}
- 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_create_it_without_glare_at_all is not named in camelCase. Open
Open
public function I_can_create_it_without_glare_at_all(): void
{
$glared = Glared::createWithoutGlare($health = new Health());
self::assertSame(0, $glared->getCurrentMalus());
self::assertSame($health, $glared->getHealth());
- 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_use_it is not named in camelCase. Open
Open
public function I_can_use_it(): void
{
$pointOfWound = new PointOfWound($wound = $this->createWound());
self::assertSame(1, $pointOfWound->getValue());
self::assertSame($wound, $pointOfWound->getWound());
- 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_am_stopped_by_specific_exception_on_invalid_value is not named in camelCase. Open
Open
public function I_am_stopped_by_specific_exception_on_invalid_value(): void
{
$this->expectException(\Granam\Integer\Tools\Exceptions\WrongParameterType::class);
$this->expectExceptionMessageMatches('~Terribly wounded by horrible pebble~');
new WoundSize('Terribly wounded by horrible pebble');
- 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_create_wound_with_zero_value is not named in camelCase. Open
Open
public function I_can_create_wound_with_zero_value(): void
{
$wound = $this->createWound(
$this->createHealth(),
new WoundSize(0),
- 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_get_used_to_darkness_by_very_long_waiting_when_shined is not named in camelCase. Open
Open
public function I_can_get_used_to_darkness_by_very_long_waiting_when_shined(): void
{
$shined = Glared::createFromGlare($this->createGlare($malus = -1, true /* shined = not blinded */), new Health());
self::assertSame($malus, $shined->getCurrentMalus());
- 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_get_used_to_shine_by_long_waiting is not named in camelCase. Open
Open
public function I_can_get_used_to_shine_by_long_waiting(): void
{
$glared = Glared::createFromGlare($this->createGlare(-50, true), new Health());
self::assertSame(-50, $glared->getCurrentMalus());
- 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_not_create_worse_malus_than_minus_three is not named in camelCase. Open
Open
public function I_can_not_create_worse_malus_than_minus_three()
{
$this->expectException(\DrdPlus\Health\Exceptions\UnexpectedMalusValue::class);
$this->expectExceptionMessageMatches('~-4~');
MalusFromWounds::getIt(-4);
- 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() {
}
}