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;
use Illuminate\Log\Writer;
use Pterodactyl\Models\Server;
use GuzzleHttp\Exception\RequestException;
use Illuminate\Database\ConnectionInterface;
use Pterodactyl\Services\Databases\DatabaseManagementService;

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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