jaroslavtyc/drd-plus-equipment

View on GitHub

Showing 2 of 26 total issues

Method I_can_use_it has 26 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public function I_can_use_it()
    {
        $equipment = new Equipment(
            $belongings = $this->createBelongings($weight = $this->createWeight(123.789)),
            $bodyArmorCode = BodyArmorCode::getIt(BodyArmorCode::HOBNAILED_ARMOR),
Severity: Minor
Found in tests/Equipment/EquipmentTest.php - About 1 hr to fix

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

            Belongings $belongings,
            BodyArmorCode $wornBodyArmor,
            HelmCode $wornHelm,
            WeaponlikeCode $weaponlikeInMainHand,
            WeaponlikeCode $weaponlikeInOffhand
    Severity: Minor
    Found in Equipment/Equipment.php - About 35 mins to fix
      Severity
      Category
      Status
      Source
      Language