Commit 50b21281 authored by Jacob Priddy's avatar Jacob Priddy 👌
Browse files

fix code styles

parent 230e4c46
Pipeline #9661 passed with stages
in 3 minutes
......@@ -10,7 +10,6 @@ use Source\Authorization\Authorizer;
use Source\UseCases\Door\Access\AccessUseCase;
use Source\UseCases\Door\UpdateBinary\FilePresenter;
use Source\UseCases\Door\StatusResponse\JsonPresenter;
use Source\UseCases\Doors\UpdateDoor\UpdateDoorUseCase;
use Symfony\Component\HttpFoundation\BinaryFileResponse;
use Source\UseCases\Door\UpdateBinary\UpdateBinaryUseCase;
use Source\UseCases\Door\StatusResponse\StatusResponseUseCase;
......
......@@ -20,9 +20,9 @@ use Source\Gateways\DoorGroup\DoorGroupRepositoryServiceProvider;
use Source\Gateways\GroupUser\GroupUserRepositoryServiceProvider;
use Source\Gateways\Overrides\OverridesRepositoryServiceProvider;
use Source\Gateways\Schedules\SchedulesRepositoryServiceProvider;
use Source\Gateways\Filesystem\FilesystemRepositoryServiceProvider;
use Source\UseCases\Groups\GetGroup\GetGroupUseCaseServiceProvider;
use Source\UseCases\Tokens\GetToken\GetTokenUseCaseServiceProvider;
use Source\Gateways\Filesystem\FilesystemRepositoryServiceProvider;
use Source\UseCases\Doors\CreateDoor\CreateDoorUseCaseServiceProvider;
use Source\UseCases\Doors\DeleteDoor\DeleteDoorUseCaseServiceProvider;
use Source\UseCases\Doors\UpdateDoor\UpdateDoorUseCaseServiceProvider;
......@@ -33,13 +33,13 @@ use Source\Gateways\DoorSchedule\DoorScheduleRepositoryServiceProvider;
use Source\UseCases\Doors\GetAllDoors\GetAllDoorsUseCaseServiceProvider;
use Source\UseCases\Users\GetAllUsers\GetAllUsersUseCaseServiceProvider;
use Source\Gateways\RecurrenceSet\RecurrenceSetRepositoryServiceProvider;
use Source\UseCases\Door\UpdateBinary\UpdateBinaryUseCaseServiceProvider;
use Source\UseCases\Groups\CreateGroup\CreateGroupUseCaseServiceProvider;
use Source\UseCases\Groups\DeleteGroup\DeleteGroupUseCaseServiceProvider;
use Source\UseCases\Groups\UpdateGroup\UpdateGroupUseCaseServiceProvider;
use Source\UseCases\Tokens\CreateToken\CreateTokenUseCaseServiceProvider;
use Source\UseCases\Tokens\ExpireToken\ExpireTokenUseCaseServiceProvider;
use Source\UseCases\Tokens\UpdateToken\UpdateTokenUseCaseServiceProvider;
use Source\UseCases\Door\UpdateBinary\UpdateBinaryUseCaseServiceProvider;
use Source\UseCases\Attempts\GetAttempts\GetAttemptsUseCaseServiceProvider;
use Source\UseCases\Groups\GetAllGroups\GetAllGroupsUseCaseServiceProvider;
use Source\UseCases\Tokens\GetAllTokens\GetAllTokensUseCaseServiceProvider;
......
......@@ -3,10 +3,10 @@
namespace Source\Gateways\Filesystem;
use Illuminate\Support\ServiceProvider;
use Illuminate\Filesystem\FilesystemManager;
use Illuminate\Contracts\Foundation\Application;
use Illuminate\Contracts\Support\DeferrableProvider;
use Illuminate\Support\ServiceProvider;
/**
* Service provider must be registered in AppServiceProvider
......@@ -21,7 +21,7 @@ class FilesystemRepositoryServiceProvider extends ServiceProvider implements Def
public function register()
{
$this->app->singleton(FilesystemRepository::class, static function (Application $app) {
if(env('APP_ENV') === 'testing') {
if (env('APP_ENV') === 'testing') {
return new InMemoryFilesystemRepository();
}
......
......@@ -3,9 +3,9 @@
namespace Source\UseCases\Door\UpdateBinary;
use Illuminate\Support\ServiceProvider;
use Illuminate\Contracts\Foundation\Application;
use Illuminate\Contracts\Support\DeferrableProvider;
use Illuminate\Support\ServiceProvider;
use Source\Gateways\Filesystem\FilesystemRepository;
/**
......
......@@ -3,7 +3,6 @@
namespace Tests\Feature\Door;
use Illuminate\Testing\TestResponse;
use Illuminate\Filesystem\FilesystemManager;
use Illuminate\Contracts\Filesystem\Filesystem;
......
......@@ -3,7 +3,6 @@
namespace Tests\Unit\Source\UseCases\Door\UpdateBinary;
use PHPUnit\Framework\TestCase;
use Source\Exceptions\EntityNotFoundException;
use Source\UseCases\Door\UpdateBinary\UpdateBinary;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment