Eluinhost/TeamspeakAuth

View on GitHub
src/PublicUHC/Bundle/TeamspeakAuthBundle/Command/ServerStartCommand.php

Summary

Maintainability
A
2 hrs
Test Coverage

Method execute has 44 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    protected function execute(InputInterface $input, OutputInterface $output)
    {
        $output->writeln("<info>Starting server on port {$this->server->getPort()}... You can stop the server with Ctrl+C.</info>");
        $this->logger->info('Starting auth server on port '.$this->server->getPort());

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

        public function __construct(AuthServer $server,
                                    EntityManager $em,
                                    LoopInterface $loop,
                                    $keepAlive,
                                    $description,
    Severity: Major
    Found in src/PublicUHC/Bundle/TeamspeakAuthBundle/Command/ServerStartCommand.php - About 50 mins to fix

      There are no issues that match your filters.

      Category
      Status