jaroslavtyc/drd-plus-health

View on GitHub
Health/Afflictions/AfflictionByWound.php

Summary

Maintainability
A
1 hr
Test Coverage

Method __construct has 11 arguments (exceeds 4 allowed). Consider refactoring.
Open

        SeriousWound $seriousWound, // wound can be healed, but never disappears - just stays healed
        AfflictionProperty $property,
        AfflictionDangerousness $dangerousness,
        AfflictionDomain $domain,
        AfflictionVirulence $virulence,
Severity: Major
Found in Health/Afflictions/AfflictionByWound.php - About 1 hr to fix

    The method __construct has 11 parameters. Consider reducing the number of parameters to less than 10.
    Open

        protected function __construct(
            SeriousWound $seriousWound, // wound can be healed, but never disappears - just stays healed
            AfflictionProperty $property,
            AfflictionDangerousness $dangerousness,
            AfflictionDomain $domain,

    There are no issues that match your filters.

    Category
    Status