Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Guardians of the Kretschmar Elock System
Doorcode
Commits
fc403bee
Commit
fc403bee
authored
Mar 10, 2020
by
Jacob Priddy
👌
Browse files
fix code styles
parent
1d1baa5c
Pipeline
#3573
passed with stages
in 2 minutes and 3 seconds
Changes
16
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/web/backend/app/Exceptions/Handler.php
View file @
fc403bee
...
...
@@ -4,7 +4,6 @@ namespace App\Exceptions;
use
Exception
;
use
Throwable
;
use
Illuminate\Http\Request
;
use
Illuminate\Http\JsonResponse
;
use
Illuminate\Auth\AuthenticationException
;
use
Source\Exceptions\EntityExistsException
;
...
...
src/web/backend/tests/Feature/Api/Groups/CreateGroupApiTest.php
View file @
fc403bee
...
...
@@ -4,9 +4,9 @@
namespace
Tests\Feature\Api\Groups
;
use
Source\Entities\Group
;
use
Illuminate\Testing\TestResponse
;
use
Source\Gateways\Groups\GroupsRepository
;
use
Source\Exceptions\EntityNotFoundException
;
use
Illuminate\Testing\TestResponse
;
use
Source\Gateways\Groups\InMemoryGroupsRepository
;
use
Tests\Feature\AuthenticatesWithApplicationTestCase
;
...
...
src/web/backend/tests/Feature/Api/Groups/DeleteGroupApiTest.php
View file @
fc403bee
...
...
@@ -4,9 +4,9 @@
namespace
Tests\Feature\Api\Groups
;
use
Source\Entities\Group
;
use
Illuminate\Testing\TestResponse
;
use
Source\Gateways\Groups\GroupsRepository
;
use
Source\Exceptions\EntityNotFoundException
;
use
Illuminate\Testing\TestResponse
;
use
Tests\Doubles\InMemoryGroupsRepositoryStub
;
use
Tests\Feature\AuthenticatesWithApplicationTestCase
;
...
...
src/web/backend/tests/Feature/Api/Groups/GetAllGroupsApiTest.php
View file @
fc403bee
...
...
@@ -4,9 +4,9 @@
namespace
Tests\Feature\Api\Groups
;
use
Source\Entities\Group
;
use
Illuminate\Testing\TestResponse
;
use
Source\Gateways\Groups\GroupsRepository
;
use
Source\Exceptions\EntityNotFoundException
;
use
Illuminate\Testing\TestResponse
;
use
Tests\Feature\AuthenticatesWithApplicationTestCase
;
class
GetAllGroupsApiTest
extends
AuthenticatesWithApplicationTestCase
...
...
src/web/backend/tests/Feature/Api/Groups/GetGroupApiTest.php
View file @
fc403bee
...
...
@@ -4,8 +4,8 @@
namespace
Tests\Feature\Api\Groups
;
use
Source\Entities\Group
;
use
Source\Gateways\Groups\GroupsRepository
;
use
Illuminate\Testing\TestResponse
;
use
Source\Gateways\Groups\GroupsRepository
;
use
Source\Gateways\Groups\InMemoryGroupsRepository
;
use
Tests\Feature\AuthenticatesWithApplicationTestCase
;
...
...
src/web/backend/tests/Feature/Api/Groups/GetUsersForGroupApiTest.php
View file @
fc403bee
...
...
@@ -5,8 +5,8 @@ namespace Tests\Feature\Api\Groups;
use
Source\Entities\User
;
use
Source\Entities\Group
;
use
Source\Gateways\Groups\GroupsRepository
;
use
Illuminate\Testing\TestResponse
;
use
Source\Gateways\Groups\GroupsRepository
;
use
Source\Gateways\GroupUser\GroupUserRepository
;
use
Tests\Feature\AuthenticatesWithApplicationTestCase
;
...
...
src/web/backend/tests/Feature/Api/Groups/UpdateGroupApiTest.php
View file @
fc403bee
...
...
@@ -4,9 +4,9 @@
namespace
Tests\Feature\Api\Groups
;
use
Source\Entities\Group
;
use
Illuminate\Testing\TestResponse
;
use
Source\Gateways\Groups\GroupsRepository
;
use
Source\Exceptions\EntityNotFoundException
;
use
Illuminate\Testing\TestResponse
;
use
Tests\Doubles\InMemoryGroupsRepositoryStub
;
use
Tests\Feature\AuthenticatesWithApplicationTestCase
;
...
...
src/web/backend/tests/Feature/Api/Me/GetCurrentUserGroupsApiTest.php
View file @
fc403bee
...
...
@@ -4,8 +4,8 @@
namespace
Tests\Feature\Api\Me
;
use
Source\Entities\Group
;
use
Source\Gateways\Groups\GroupsRepository
;
use
Illuminate\Testing\TestResponse
;
use
Source\Gateways\Groups\GroupsRepository
;
use
Source\Gateways\GroupUser\GroupUserRepository
;
use
Source\Gateways\Groups\InMemoryGroupsRepository
;
use
Tests\Feature\AuthenticatesWithApplicationTestCase
;
...
...
src/web/backend/tests/Feature/Api/Me/UpdateCurrentUserApiTest.php
View file @
fc403bee
...
...
@@ -5,11 +5,11 @@ namespace Tests\Feature\Api\Me;
use
Source\Entities\User
;
use
Source\Entities\Doorcode
;
use
Illuminate\Testing\TestResponse
;
use
Source\Gateways\Users\UsersRepository
;
use
Source\Gateways\Groups\GroupsRepository
;
use
Source\Exceptions\EntityNotFoundException
;
use
Tests\Doubles\InMemoryUsersRepositoryStub
;
use
Illuminate\Testing\TestResponse
;
use
Source\Gateways\GroupUser\GroupUserRepository
;
use
Source\Gateways\Groups\InMemoryGroupsRepository
;
use
Tests\Feature\AuthenticatesWithApplicationTestCase
;
...
...
src/web/backend/tests/Feature/Api/Users/AddUserToGroupApiTest.php
View file @
fc403bee
...
...
@@ -5,8 +5,8 @@ namespace Tests\Feature\Api\Users;
use
Source\Entities\User
;
use
Source\Entities\Group
;
use
Source\Gateways\Groups\GroupsRepository
;
use
Illuminate\Testing\TestResponse
;
use
Source\Gateways\Groups\GroupsRepository
;
use
Source\Gateways\GroupUser\GroupUserRepository
;
use
Tests\Feature\AuthenticatesWithApplicationTestCase
;
...
...
src/web/backend/tests/Feature/Api/Users/CreateUserApiTest.php
View file @
fc403bee
...
...
@@ -5,8 +5,8 @@ namespace Tests\Feature\Api\Users;
use
Source\Entities\User
;
use
Source\Entities\Doorcode
;
use
Source\Exceptions\EntityNotFoundException
;
use
Illuminate\Testing\TestResponse
;
use
Source\Exceptions\EntityNotFoundException
;
use
Tests\Feature\AuthenticatesWithApplicationTestCase
;
class
CreateUserApiTest
extends
AuthenticatesWithApplicationTestCase
...
...
src/web/backend/tests/Feature/Api/Users/DeleteUserApiTest.php
View file @
fc403bee
...
...
@@ -4,8 +4,8 @@
namespace
Tests\Feature\Api\Users
;
use
Source\Entities\User
;
use
Source\Exceptions\EntityNotFoundException
;
use
Illuminate\Testing\TestResponse
;
use
Source\Exceptions\EntityNotFoundException
;
use
Tests\Feature\AuthenticatesWithApplicationTestCase
;
class
DeleteUserApiTest
extends
AuthenticatesWithApplicationTestCase
...
...
src/web/backend/tests/Feature/Api/Users/GetAllUsersApiTest.php
View file @
fc403bee
...
...
@@ -4,8 +4,8 @@
namespace
Tests\Feature\Api\Users
;
use
Source\Entities\User
;
use
Source\Exceptions\EntityNotFoundException
;
use
Illuminate\Testing\TestResponse
;
use
Source\Exceptions\EntityNotFoundException
;
use
Tests\Feature\AuthenticatesWithApplicationTestCase
;
class
GetAllUsersApiTest
extends
AuthenticatesWithApplicationTestCase
...
...
src/web/backend/tests/Feature/Api/Users/GetGroupsForUserApiTest.php
View file @
fc403bee
...
...
@@ -5,8 +5,8 @@ namespace Tests\Feature\Api\Users;
use
Source\Entities\User
;
use
Source\Entities\Group
;
use
Source\Gateways\Groups\GroupsRepository
;
use
Illuminate\Testing\TestResponse
;
use
Source\Gateways\Groups\GroupsRepository
;
use
Source\Gateways\GroupUser\GroupUserRepository
;
use
Tests\Feature\AuthenticatesWithApplicationTestCase
;
...
...
src/web/backend/tests/Feature/Api/Users/RemoveUserFromGroupApiTest.php
View file @
fc403bee
...
...
@@ -5,8 +5,8 @@ namespace Tests\Feature\Api\Users;
use
Source\Entities\User
;
use
Source\Entities\Group
;
use
Source\Gateways\Groups\GroupsRepository
;
use
Illuminate\Testing\TestResponse
;
use
Source\Gateways\Groups\GroupsRepository
;
use
Source\Gateways\GroupUser\GroupUserRepository
;
use
Tests\Feature\AuthenticatesWithApplicationTestCase
;
...
...
src/web/backend/tests/Feature/Api/Users/UpdateUserApiTest.php
View file @
fc403bee
...
...
@@ -5,10 +5,10 @@ namespace Tests\Feature\Api\Users;
use
Source\Entities\User
;
use
Source\Entities\Doorcode
;
use
Illuminate\Testing\TestResponse
;
use
Source\Gateways\Users\UsersRepository
;
use
Source\Exceptions\EntityNotFoundException
;
use
Tests\Doubles\InMemoryUsersRepositoryStub
;
use
Illuminate\Testing\TestResponse
;
use
Tests\Feature\AuthenticatesWithApplicationTestCase
;
class
UpdateUserApiTest
extends
AuthenticatesWithApplicationTestCase
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment