marmozist/steam-gifts

View on GitHub

Showing 2 of 17 total issues

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

        string $id,
        string $name,
        User $creator,
        DateTimeImmutable $createdAt,
        DateTimeImmutable $finishedAt,
Severity: Major
Found in src/Component/Giveaway/Giveaway.php - About 1 hr to fix

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

            string $name,
            UserRole $role,
            DateTimeImmutable $lastOnlineAt,
            DateTimeImmutable $registeredAt,
            string $avatarUrl,
    Severity: Major
    Found in src/Component/User/User.php - About 1 hr to fix
      Severity
      Category
      Status
      Source
      Language