Showing 7 of 7 total issues
FormulasTable
has 21 functions (exceeds 20 allowed). Consider refactoring. Open
class FormulasTable extends AbstractFileTable{ protected function getDataFileName(): string { return __DIR__ . '/data/formulas.csv';
The class FormulasTable has a coupling between objects value of 22. Consider to reduce the number of dependencies under 13. Open
class FormulasTable extends AbstractFileTable{ protected function getDataFileName(): string { return __DIR__ . '/data/formulas.csv';
- Read upRead up
- Exclude checks
Avoid using static access to class '\DrdPlus\Codes\Theurgist\ModifierCode' in method 'getModifierCodes'. Open
return ModifierCode::getIt($modifierValue);
- Read upRead up
- Exclude checks
Avoid using static access to class '\DrdPlus\Codes\Theurgist\SpellTraitCode' in method 'getSpellTraitCodes'. Open
return SpellTraitCode::getIt($spellTraitValue);
- Read upRead up
- Exclude checks
Avoid using static access to class '\DrdPlus\Codes\Theurgist\FormCode' in method 'getForms'. Open
return FormCode::getIt($formValue);
- Read upRead up
- Exclude checks
Avoid using static access to class '\DrdPlus\Codes\Theurgist\ProfileCode' in method 'getProfiles'. Open
return ProfileCode::getIt($profileValue);
- Read upRead up
- Exclude checks
Avoid unused parameters such as '$formulaCode'. Open
FormulaCode $formulaCode): CastingRounds
- Read upRead up
- Exclude checks