Commit a312854e authored by Jacob Priddy's avatar Jacob Priddy 👌
Browse files

fix code styles

parent 39314489
......@@ -2,17 +2,15 @@
namespace App\Http\Controllers;
use Carbon\Carbon;
use Illuminate\Http\JsonResponse;
use Source\UseCases\Schedules\ScheduleGet\ScheduleGetUseCase;
use Source\UseCases\Schedules\SchedulesGet\SchedulesGetUseCase;
use Source\UseCases\Schedules\ScheduleUpdate\ScheduleUpdateUseCase;
use Source\UseCases\Schedules\ScheduleCreate\ScheduleCreateUseCase;
use Source\UseCases\Schedules\ScheduleUpdate\ScheduleUpdateUseCase;
use Source\UseCases\GroupSchedule\SchedulesForGroup\SchedulesForGroupUseCase;
use Source\UseCases\GroupSchedule\APIPresenter as SchedulesForGroupApiPresenter;
use Source\UseCases\Schedules\ScheduleGet\APIPresenter as ScheduleGetApiPresenter;
use Source\UseCases\Schedules\SchedulesGet\APIPresenter as SchedulesGetApiPresenter;
use Source\UseCases\GroupSchedule\APIPresenter as ActiveSchedulesForGroupApiPresenter;
use Source\UseCases\Schedules\ScheduleCreate\APIPresenter as ScheduleCreateApiPresenter;
use Source\UseCases\GroupSchedule\ActiveSchedulesForGroup\ActiveSchedulesForGroupUseCase;
......
......@@ -15,9 +15,9 @@ use Source\Gateways\Attempts\AttemptsRepositoryServiceProvider;
use Source\Gateways\DoorUser\DoorUserRepositoryServiceProvider;
use Source\UseCases\Doors\GetDoor\GetDoorUseCaseServiceProvider;
use Source\UseCases\Users\GetUser\GetUserUseCaseServiceProvider;
use Source\Gateways\Schedules\SchedulesRepositoryServiceProvider;
use Source\Gateways\DoorGroup\DoorGroupRepositoryServiceProvider;
use Source\Gateways\GroupUser\GroupUserRepositoryServiceProvider;
use Source\Gateways\Schedules\SchedulesRepositoryServiceProvider;
use Source\UseCases\Groups\GetGroup\GetGroupUseCaseServiceProvider;
use Source\UseCases\Tokens\GetToken\GetTokenUseCaseServiceProvider;
use Source\UseCases\Doors\CreateDoor\CreateDoorUseCaseServiceProvider;
......@@ -29,14 +29,14 @@ use Source\UseCases\Users\UpdateUser\UpdateUserUseCaseServiceProvider;
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\DoorUserGroup\DoorUserGroupMapUseCaseServiceProvider;
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\DoorUserGroup\DoorUserGroupMapUseCaseServiceProvider;
use Source\Gateways\RecurrenceSet\RecurrenceSetRepositoryServiceProvider;
use Source\UseCases\Token\Authenticate\AuthenticateUseCaseServiceProvider;
use Source\UseCases\Attempts\GetAttempts\GetAttemptsUseCaseServiceProvider;
use Source\UseCases\Groups\GetAllGroups\GetAllGroupsUseCaseServiceProvider;
......@@ -48,17 +48,17 @@ use Source\UseCases\DoorGroup\GetGroupDoors\GetGroupDoorsUseCaseServiceProvider;
use Source\UseCases\GroupUser\GetGroupUsers\GetGroupUsersUseCaseServiceProvider;
use Source\UseCases\GroupUser\GetUserGroups\GetUserGroupsUseCaseServiceProvider;
use Source\UseCases\TokenUser\GetUserTokens\GetUserTokensUseCaseServiceProvider;
use Source\UseCases\Schedules\ScheduleCreate\ScheduleCreateUseCaseServiceProvider;
use Source\UseCases\DoorGroup\AddDoorToGroup\AddDoorToGroupUseCaseServiceProvider;
use Source\UseCases\GroupUser\AddUserToGroup\AddUserToGroupUseCaseServiceProvider;
use Source\UseCases\Schedules\ScheduleCreate\ScheduleCreateUseCaseServiceProvider;
use Source\UseCases\Schedules\ScheduleUpdate\ScheduleUpdateUseCaseServiceProvider;
use Source\UseCases\Doors\GenerateDoorToken\GenerateDoorTokenUseCaseServiceProvider;
use Source\UseCases\Entries\GetEntriesForDoor\GetEntriesForDoorUseCaseServiceProvider;
use Source\UseCases\Entries\GetEntriesForUser\GetEntriesForUserUseCaseServiceProvider;
use Source\UseCases\Attempts\GetAttemptsForDoor\GetAttemptsForDoorUseCaseServiceProvider;
use Source\UseCases\DoorGroup\RemoveDoorFromGroup\RemoveDoorFromGroupUseCaseServiceProvider;
use Source\UseCases\GroupUser\RemoveUserFromGroup\RemoveUserFromGroupUseCaseServiceProvider;
use Source\UseCases\GroupSchedule\SchedulesForGroup\SchedulesForGroupUseCaseServiceProvider;
use Source\UseCases\GroupUser\RemoveUserFromGroup\RemoveUserFromGroupUseCaseServiceProvider;
use Source\UseCases\Attempts\GetAttemptCountForDoor\GetAttemptCountForDoorUseCaseServiceProvider;
use Source\UseCases\Entries\GetEntriesForDoorAndUser\GetEntriesForDoorAndUserUseCaseServiceProvider;
use Source\UseCases\GroupSchedule\ActiveSchedulesForGroup\ActiveSchedulesForGroupUseCaseServiceProvider;
......
......@@ -3,7 +3,6 @@
namespace App;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Relations\BelongsTo;
......
......@@ -3,7 +3,6 @@
namespace Source\Entities;
use Carbon\Carbon;
use InvalidArgumentException;
......
......@@ -3,7 +3,6 @@
namespace Source\Gateways\DoorSchedule;
use Source\Gateways\Doors\DoorsRepository;
use Source\Exceptions\EntityNotFoundException;
use Source\Gateways\DoorGroup\DoorGroupRepository;
......
......@@ -4,7 +4,6 @@
namespace Source\Gateways\RecurrenceSet;
use Illuminate\Support\ServiceProvider;
use Illuminate\Contracts\Foundation\Application;
use Illuminate\Contracts\Support\DeferrableProvider;
/**
......
......@@ -3,7 +3,6 @@
namespace Source\Gateways\Schedules;
use RRule\RSet;
use Carbon\Carbon;
use Source\Entities\Schedule;
use Source\Gateways\Groups\LocalGroupsRepository;
......
......@@ -3,9 +3,9 @@
namespace Source\Gateways\Schedules;
use Illuminate\Support\ServiceProvider;
use Illuminate\Contracts\Foundation\Application;
use Illuminate\Contracts\Support\DeferrableProvider;
use Illuminate\Support\ServiceProvider;
/**
* Service provider must be registered in AppServiceProvider
......@@ -24,7 +24,7 @@ class SchedulesRepositoryServiceProvider extends ServiceProvider implements Defe
return new LocalSchedulesRepository();
}
if(env('APP_ENV') === 'testing') {
if (env('APP_ENV') === 'testing') {
return new InMemorySchedulesRepository();
}
......
......@@ -3,12 +3,10 @@
namespace Source\UseCases\Door\Access\Authorizers\DoorOpenModeCheck;
use Carbon\Carbon;
use Source\Entities\Schedule;
use InvalidArgumentException;
use Source\Entities\Schedule;
use Source\Gateways\DoorSchedule\DoorScheduleRepository;
use Source\Gateways\RecurrenceSet\PhpRruleRecurrenceSet;
use Source\Gateways\RecurrenceSet\RecurrenceSetRepository;
class DefaultDoorOpenModeCheck implements DoorOpenModeCheck
......
......@@ -3,7 +3,6 @@
namespace Source\UseCases\Door\Access\Authorizers\DoorOpenModeCheck;
use Carbon\Carbon;
interface DoorOpenModeCheck
......
......@@ -3,10 +3,9 @@
namespace Source\UseCases\Door\Access\Authorizers\GroupScheduleCheck;
use Carbon\Carbon;
use Source\Entities\Schedule;
use InvalidArgumentException;
use Source\Entities\Schedule;
use Source\Gateways\Schedules\SchedulesRepository;
use Source\Gateways\RecurrenceSet\RecurrenceSetRepository;
......
......@@ -3,7 +3,6 @@
namespace Source\UseCases\Door\Access\Authorizers\GroupScheduleCheck;
use Carbon\Carbon;
interface GroupScheduleCheck
......
......@@ -3,7 +3,6 @@
namespace Source\UseCases\Door\Access\Authorizers\UserDoorcodeCheck;
use Source\Entities\User;
use Source\Entities\HashedSearchable;
use Source\Gateways\Users\UsersRepository;
......
......@@ -3,7 +3,6 @@
namespace Source\UseCases\Door\Access\Authorizers\UserDoorcodeCheck;
use Source\Entities\User;
interface UserDoorcodeCheck
......
......@@ -3,7 +3,6 @@
namespace Source\UseCases\DoorUserGroup;
use Source\Gateways\DoorUser\DoorUserRepository;
class DoorUserGroupMap implements DoorUserGroupMapUseCase
......
......@@ -3,7 +3,6 @@
namespace Source\UseCases\DoorUserGroup;
interface DoorUserGroupMapUseCase
{
/**
......
......@@ -3,7 +3,6 @@
namespace Source\UseCases\GroupSchedule\ActiveSchedulesForGroup;
use Carbon\Carbon;
use Source\UseCases\GroupSchedule\Presenter;
interface ActiveSchedulesForGroupUseCase
......
......@@ -3,11 +3,11 @@
namespace Source\UseCases\GroupSchedule\ActiveSchedulesForGroup;
use Illuminate\Support\ServiceProvider;
use Source\Gateways\Groups\GroupsRepository;
use Illuminate\Contracts\Foundation\Application;
use Source\Gateways\Schedules\SchedulesRepository;
use Illuminate\Contracts\Support\DeferrableProvider;
use Illuminate\Support\ServiceProvider;
/**
* Service provider must be registered in AppServiceProvider
......
......@@ -2,8 +2,8 @@
namespace Source\UseCases\GroupSchedule\SchedulesForGroup;
use Source\UseCases\GroupSchedule\Presenter;
use Source\Gateways\Groups\GroupsRepository;
use Source\UseCases\GroupSchedule\Presenter;
use Source\Exceptions\EntityNotFoundException;
use Source\UseCases\GroupSchedule\ResponseModel;
use Source\Gateways\Schedules\SchedulesRepository;
......
......@@ -3,11 +3,11 @@
namespace Source\UseCases\GroupSchedule\SchedulesForGroup;
use Illuminate\Support\ServiceProvider;
use Source\Gateways\Groups\GroupsRepository;
use Illuminate\Contracts\Foundation\Application;
use Source\Gateways\Schedules\SchedulesRepository;
use Illuminate\Contracts\Support\DeferrableProvider;
use Illuminate\Support\ServiceProvider;
/**
* Service provider must be registered in AppServiceProvider
......
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