1
1
mirror of https://github.com/pterodactyl/panel.git synced 2024-10-26 21:02:28 +02:00

Remove unused imports (#1102)

This commit is contained in:
Lance Pioch 2018-04-08 16:37:27 -04:00 committed by Dane Everitt
parent ceff5acb85
commit 88fd83d413
11 changed files with 3 additions and 13 deletions

View File

@ -10,7 +10,6 @@
namespace Pterodactyl\Services\Servers; namespace Pterodactyl\Services\Servers;
use Illuminate\Log\Writer; use Illuminate\Log\Writer;
use Pterodactyl\Models\Server;
use GuzzleHttp\Exception\RequestException; use GuzzleHttp\Exception\RequestException;
use Illuminate\Database\ConnectionInterface; use Illuminate\Database\ConnectionInterface;
use Pterodactyl\Services\Databases\DatabaseManagementService; use Pterodactyl\Services\Databases\DatabaseManagementService;

View File

@ -10,7 +10,6 @@
namespace Pterodactyl\Services\Subusers; namespace Pterodactyl\Services\Subusers;
use Pterodactyl\Models\Server; use Pterodactyl\Models\Server;
use Pterodactyl\Rules\Username;
use Illuminate\Database\ConnectionInterface; use Illuminate\Database\ConnectionInterface;
use Pterodactyl\Services\Users\UserCreationService; use Pterodactyl\Services\Users\UserCreationService;
use Pterodactyl\Contracts\Repository\UserRepositoryInterface; use Pterodactyl\Contracts\Repository\UserRepositoryInterface;

View File

@ -10,14 +10,14 @@ $app = require __DIR__ . '/app.php';
/** @var \Pterodactyl\Console\Kernel $kernel */ /** @var \Pterodactyl\Console\Kernel $kernel */
$kernel = $app->make(Kernel::class); $kernel = $app->make(Kernel::class);
/** /*
* Bootstrap the kernel and prepare application for testing. * Bootstrap the kernel and prepare application for testing.
*/ */
$kernel->bootstrap(); $kernel->bootstrap();
$output = new ConsoleOutput; $output = new ConsoleOutput;
/** /*
* Perform database migrations and reseeding before continuing with * Perform database migrations and reseeding before continuing with
* running the tests. * running the tests.
*/ */

View File

@ -29,5 +29,4 @@ class AddDescriptionToNodes extends Migration
$table->dropColumn('description'); $table->dropColumn('description');
}); });
} }
}
}

View File

@ -2,7 +2,6 @@
namespace Tests\Unit\Http\Middleware; namespace Tests\Unit\Http\Middleware;
use Illuminate\Http\Request;
use Pterodactyl\Models\User; use Pterodactyl\Models\User;
use Pterodactyl\Http\Middleware\AdminAuthenticate; use Pterodactyl\Http\Middleware\AdminAuthenticate;

View File

@ -2,7 +2,6 @@
namespace Tests\Unit\Services\Allocations; namespace Tests\Unit\Services\Allocations;
use Exception;
use Mockery as m; use Mockery as m;
use Tests\TestCase; use Tests\TestCase;
use Pterodactyl\Models\Node; use Pterodactyl\Models\Node;

View File

@ -9,7 +9,6 @@
namespace Tests\Unit\Services\Services\Options; namespace Tests\Unit\Services\Services\Options;
use Exception;
use Mockery as m; use Mockery as m;
use Tests\TestCase; use Tests\TestCase;
use Pterodactyl\Models\Egg; use Pterodactyl\Models\Egg;

View File

@ -9,7 +9,6 @@
namespace Tests\Unit\Services\Services; namespace Tests\Unit\Services\Services;
use Exception;
use Mockery as m; use Mockery as m;
use Tests\TestCase; use Tests\TestCase;
use Pterodactyl\Exceptions\PterodactylException; use Pterodactyl\Exceptions\PterodactylException;

View File

@ -9,7 +9,6 @@
namespace Tests\Unit\Services\Nodes; namespace Tests\Unit\Services\Nodes;
use Exception;
use Mockery as m; use Mockery as m;
use Tests\TestCase; use Tests\TestCase;
use phpmock\phpunit\PHPMock; use phpmock\phpunit\PHPMock;

View File

@ -9,7 +9,6 @@
namespace Tests\Unit\Services\Packs; namespace Tests\Unit\Services\Packs;
use Exception;
use Mockery as m; use Mockery as m;
use Tests\TestCase; use Tests\TestCase;
use Pterodactyl\Models\Pack; use Pterodactyl\Models\Pack;

View File

@ -2,7 +2,6 @@
namespace Tests\Unit\Services\Servers; namespace Tests\Unit\Services\Servers;
use Exception;
use Mockery as m; use Mockery as m;
use Tests\TestCase; use Tests\TestCase;
use GuzzleHttp\Psr7\Response; use GuzzleHttp\Psr7\Response;