repman-io/repman

View on GitHub
src/Entity/User.php

Summary

Maintainability
A
3 hrs
Test Coverage

User has 25 functions (exceeds 20 allowed). Consider refactoring.
Open

class User
{
    public const STATUS_ENABLED = 'enabled';

    public const STATUS_DISABLED = 'disabled';
Severity: Minor
Found in src/Entity/User.php - About 2 hrs to fix

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

        public function __construct(UuidInterface $id, string $email, string $emailConfirmToken, array $roles, ?string $timezone = null)
    Severity: Minor
    Found in src/Entity/User.php - About 35 mins to fix

      There are no issues that match your filters.

      Category
      Status