DrdPlus/PropertiesByLevels/FirstLevelProperties.php
FirstLevelProperties
has 28 functions (exceeds 20 allowed). Consider refactoring. Open
Open
class FirstLevelProperties extends StrictObject
{
const INITIAL_PROPERTY_INCREASE_LIMIT = 3;
/** @var PropertiesByFate */
File FirstLevelProperties.php
has 256 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
<?php declare(strict_types=1);
namespace DrdPlus\PropertiesByLevels;
use DrdPlus\Codes\GenderCode;
Method __construct
has 8 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
Race $race,
GenderCode $genderCode,
PropertiesByFate $propertiesByFate,
ProfessionLevels $professionLevels,
BodyWeightInKg $weightInKgAdjustment,
Method calculateFirstLevelBaseProperty
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
PropertyCode $propertyCode,
Race $race,
GenderCode $genderCode,
Tables $tables,
PropertiesByFate $propertiesByFate,
Method setUpBaseProperties
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
Race $race,
GenderCode $genderCode,
PropertiesByFate $propertiesByFate,
ProfessionLevels $professionLevels,
Tables $tables
Method createFirstLevelSize
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
Race $race,
GenderCode $genderCode,
Tables $tables,
PropertiesByFate $propertiesByFate,
ProfessionLevels $professionLevels