DrdPlus/Tests/PropertiesByLevels/FirstLevelPropertiesTest.php
Method I_can_get_every_property_both_limited_and_unlimited
has 62 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function I_can_get_every_property_both_limited_and_unlimited(
int $strength,
int $agility,
int $knack,
int $will,
Method createPropertiesByFate
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private function createPropertiesByFate(
int $strength,
int $agility,
int $knack,
int $will,
Method createPropertiesByFate
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
int $strength,
int $agility,
int $knack,
int $will,
int $intelligence,
Method I_can_get_every_property_both_limited_and_unlimited
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
int $strength,
int $agility,
int $knack,
int $will,
int $intelligence,
Avoid too many return
statements within this method. Open
Open
return $propertiesByFate;
Avoid too many return
statements within this method. Open
Open
return $this->createProperty($charisma, Charisma::class);
Avoid too many return
statements within this method. Open
Open
return $this->createProperty($intelligence, Intelligence::class);