GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
Passed
Push — develop ( 50df9e...3f084e )
by Toby
13:35
created
app/ModuleServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -98,7 +98,7 @@
 block discarded – undo
98 98
 
99 99
     public function baseDirectory()
100 100
     {
101
-        return __DIR__ . '/..';
101
+        return __DIR__.'/..';
102 102
     }
103 103
 
104 104
     public function boot()
Please login to merge, or discard this patch.
app/Rules/RoleHasSpaceToAssign.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -47,7 +47,7 @@
 block discarded – undo
47 47
         } catch (\Exception $e) {
48 48
             return false;
49 49
         }
50
-        if(in_array($value, $settings['only_one_user'])) {
50
+        if (in_array($value, $settings['only_one_user'])) {
51 51
             return $this->roleRepository->getById($value)->users()->count() === 0;
52 52
         }
53 53
         return true;
Please login to merge, or discard this patch.
app/Http/Controllers/Controller.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
     public function authorize($ability, $arguments = [])
18 18
     {
19 19
         return $this->baseAuthorize(
20
-            'assign-roles.' . $ability,
20
+            'assign-roles.'.$ability,
21 21
             $arguments
22 22
         );
23 23
     }
Please login to merge, or discard this patch.
app/Support/LogicRoleRepository.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -91,7 +91,7 @@  discard block
 block discarded – undo
91 91
     private function logicGroupId()
92 92
     {
93 93
         $id = settings('logic_group', null);
94
-        if($id === null) {
94
+        if ($id === null) {
95 95
             return null;
96 96
         }
97 97
         return (int) $id;
@@ -111,7 +111,7 @@  discard block
 block discarded – undo
111 111
 
112 112
     private function filter(Collection $roles)
113 113
     {
114
-        if($this->hasLogicGroup()) {
114
+        if ($this->hasLogicGroup()) {
115 115
             return $roles->filter(function(\BristolSU\ControlDB\Contracts\Models\Role $role) {
116 116
                 return $this->isInLogicGroup($role);
117 117
             })->values();
Please login to merge, or discard this patch.
app/Rules/PositionCanBeUsed.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@
 block discarded – undo
42 42
         } catch (\Exception $e) {
43 43
             return false;
44 44
         }
45
-        if(in_array($value, $settings['only_one_role'])) {
45
+        if (in_array($value, $settings['only_one_role'])) {
46 46
             $roles = $this->roleRepository->allThroughGroup($this->group());
47 47
             
48 48
             return $roles->filter(function(\BristolSU\ControlDB\Contracts\Models\Role $role) use ($value) {
Please login to merge, or discard this patch.
app/Support/PositionSettingRetrieval.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -63,7 +63,7 @@
 block discarded – undo
63 63
 
64 64
     protected function getCacheKey(Group $group)
65 65
     {
66
-        return PositionSettingRetrieval::class . '.' . $group->id();
66
+        return PositionSettingRetrieval::class.'.'.$group->id();
67 67
     }
68 68
     
69 69
     public function parse($setting)
Please login to merge, or discard this patch.
app/Support/RequiredSettingRetrieval.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -34,10 +34,10 @@  discard block
 block discarded – undo
34 34
 
35 35
     public function getSettings(Group $group, array $settings)
36 36
     {
37
-        if(Cache::has($this->getCacheKey($group))) {
37
+        if (Cache::has($this->getCacheKey($group))) {
38 38
             return Cache::get($this->getCacheKey($group));
39 39
         }
40
-        foreach ((array_key_exists('required', $settings)?$settings['required']:[]) as $setting) {
40
+        foreach ((array_key_exists('required', $settings) ? $settings['required'] : []) as $setting) {
41 41
             if ($this->groupIsForSetting($group, $setting)) {
42 42
                 Cache::put($this->getCacheKey($group), $setting['required'], 7200);
43 43
                 return $setting['required'];
@@ -48,7 +48,7 @@  discard block
 block discarded – undo
48 48
 
49 49
     protected function getCacheKey(Group $group)
50 50
     {
51
-        return RequiredSettingRetrieval::class . '.' . $group->id();
51
+        return RequiredSettingRetrieval::class.'.'.$group->id();
52 52
     }
53 53
     
54 54
     protected function groupIsForSetting(Group $group, array $setting): bool
Please login to merge, or discard this patch.
app/Support/LogicUserRoleRepository.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -91,7 +91,7 @@  discard block
 block discarded – undo
91 91
     private function logicGroupId()
92 92
     {
93 93
         $id = settings('logic_group', null);
94
-        if($id === null) {
94
+        if ($id === null) {
95 95
             return null;
96 96
         }
97 97
         return (int) $id;
@@ -111,7 +111,7 @@  discard block
 block discarded – undo
111 111
 
112 112
     private function filter(Collection $roles)
113 113
     {
114
-        if($this->hasLogicGroup()) {
114
+        if ($this->hasLogicGroup()) {
115 115
             return $roles->filter(function(\BristolSU\ControlDB\Contracts\Models\Role $role) {
116 116
                 return $this->isInLogicGroup($role);
117 117
             })->values();
Please login to merge, or discard this patch.
app/Http/Requests/ParticipantApi/RoleController/StoreRequest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
12 12
     public function rules()
13 13
     {
14 14
         return [
15
-            'position_id' => ['required', app(PositionIsAllowed::class),  app(PositionCanBeUsed::class)],
15
+            'position_id' => ['required', app(PositionIsAllowed::class), app(PositionCanBeUsed::class)],
16 16
             'role_name' => ['required', 'string', 'max:255', 'min:3'],
17 17
             'email' => ['sometimes', 'nullable', 'email']
18 18
         ];
Please login to merge, or discard this patch.