Bee-Lab/BeelabUserBundle

View on GitHub

Showing 3 of 5 total issues

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

abstract class User implements UserInterface, EquatableInterface, \Serializable
{
    /**
     * @var array
     */
Severity: Minor
Found in Entity/User.php - About 4 hrs to fix

    Method getConfigTreeBuilder has 33 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        public function getConfigTreeBuilder(): TreeBuilder
        {
            $treeBuilder = new TreeBuilder('beelab_user');
            // Keep compatibility with symfony/config < 4.2
            if (\method_exists($treeBuilder, 'getRootNode')) {
    Severity: Minor
    Found in DependencyInjection/Configuration.php - About 1 hr to fix

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

              string $class,
              ObjectManager $em,
              EncoderFactoryInterface $encoder,
              AuthorizationCheckerInterface $authChecker,
              TokenStorageInterface $tokenStorage,
      Severity: Major
      Found in Manager/UserManager.php - About 50 mins to fix
        Severity
        Category
        Status
        Source
        Language