Showing 669 of 669 total issues
The method I_can_not_create_it_with_old_wound is not named in camelCase. Open
public function I_can_not_create_it_with_old_wound()
{
$this->expectException(\DrdPlus\Health\Afflictions\Exceptions\WoundHasToBeFreshForAffliction::class);
$reflection = new \ReflectionClass(self::getSutClass());
$constructor = $reflection->getConstructor();
- 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_linked_with_health_immediately is not named in camelCase. Open
abstract public function It_is_linked_with_health_immediately();
- 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_healing_malus is not named in camelCase. Open
public function I_can_get_healing_malus()
{
$crackedBonesEffect = CrackedBonesEffect::getIt();
/** @var CrackedBones|\Mockery\MockInterface $crackedBones */
$crackedBones = $this->mockery(CrackedBones::class);
- 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_find_out_if_apply_even_on_success_against_trap is not named in camelCase. Open
public function I_can_find_out_if_apply_even_on_success_against_trap()
{
$severedArmEffect = SeveredArmEffect::getIt();
self::assertTrue($severedArmEffect->isEffectiveEvenOnSuccessAgainstTrap());
}
- 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_strength_malus is not named in camelCase. Open
public function I_can_get_strength_malus()
{
$seriousWound = $this->createWound();
$someTerriblePain = Pain::createIt(
$seriousWound,
- 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_strength_malus is not named in camelCase. Open
public function I_can_get_strength_malus()
{
$thirst = Thirst::createIt(new Health(), AfflictionSize::getIt(567));
self::assertSame(-567, $thirst->getStrengthMalus());
}
- 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_knack_malus is not named in camelCase. Open
public function I_can_get_knack_malus()
{
$thirst = Thirst::createIt(new Health(), AfflictionSize::getIt(567));
self::assertSame(-567, $thirst->getStrengthMalus());
}
- 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_will_malus is not named in camelCase. Open
public function I_can_get_will_malus()
{
$thirst = Thirst::createIt(new Health(), AfflictionSize::getIt(567));
self::assertSame(-567, $thirst->getStrengthMalus());
}
- 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_empty_name is not named in camelCase. Open
public function I_can_not_create_empty_name()
{
$this->expectException(\DrdPlus\Health\Afflictions\Exceptions\AfflictionNameCanNotBeEmpty::class);
AfflictionName::getIt('');
}
- 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_every_source is not named in camelCase. Open
public function I_can_get_every_source($sourceCode, $isSomeDeformation)
{
$getSource = StringTools::assembleGetterForName($sourceCode) . 'Source';
/** @var AfflictionSource $source */
$source = AfflictionSource::$getSource();
- 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_find_out_if_apply_even_on_success_against_trap is not named in camelCase. Open
public function I_can_find_out_if_apply_even_on_success_against_trap()
{
$bleedingEffect = BleedingEffect::getIt();
self::assertTrue($bleedingEffect->isEffectiveEvenOnSuccessAgainstTrap());
}
- 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_malus_to_activities is not named in camelCase. Open
public function I_can_get_malus_to_activities()
{
$wound = $this->createWound();
$woundBoundary = $this->createWoundBoundary(20);
$this->addSizeCalculation($wound, $woundBoundary, $filledHalfOfRows = 123);
- 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
public function I_can_use_it()
{
/** @var SeveredArmEffect $sutClass */
$sutClass = self::getSutClass();
/** @var AfflictionEffect $effect */
- 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_find_out_if_apply_even_on_success_against_trap is not named in camelCase. Open
public function I_can_find_out_if_apply_even_on_success_against_trap()
{
$crackedBonesEffect = CrackedBonesEffect::getIt();
self::assertTrue($crackedBonesEffect->isEffectiveEvenOnSuccessAgainstTrap());
}
- 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_find_out_if_apply_even_on_success_against_trap is not named in camelCase. Open
public function I_can_find_out_if_apply_even_on_success_against_trap()
{
$painEffect = PainEffect::getIt();
self::assertFalse($painEffect->isEffectiveEvenOnSuccessAgainstTrap());
}
- 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
public function I_can_use_it()
{
$wound = $this->createWound();
$woundBoundary = $this->createWoundBoundary(15);
$this->addSizeCalculation($wound, $woundBoundary, $filledHalfOfRows = 3);
- 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_knack_malus is not named in camelCase. Open
public function I_can_get_knack_malus()
{
$wound = $this->createWound();
$woundBoundary = $this->createWoundBoundary(20);
$this->addSizeCalculation($wound, $woundBoundary, 123);
- 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_agility_malus is not named in camelCase. Open
public function I_can_get_agility_malus()
{
$seriousWound = $this->createWound();
$someTerriblePain = Pain::createIt(
$seriousWound,
- 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_knack_malus is not named in camelCase. Open
public function I_can_get_knack_malus()
{
$seriousWound = $this->createWound();
$someTerriblePain = Pain::createIt(
$seriousWound,
- 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
public function I_can_use_it()
{
$severedArm = SeveredArm::createIt($wound = $this->createWound());
self::assertSame($wound, $severedArm->getSeriousWound());
- 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() {
}
}