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 — master ( 49de82...9f1fc0 )
by James
35:45 queued 23:44
created
app/Models/PiggyBankRepetition.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -83,12 +83,12 @@
 block discarded – undo
83 83
                 $q->orWhereNull('startdate');
84 84
             }
85 85
         )
86
-                     ->where(
87
-                         function (EloquentBuilder $q) use ($date) {
88
-                             $q->where('targetdate', '>=', $date->format('Y-m-d 00:00:00'));
89
-                             $q->orWhereNull('targetdate');
90
-                         }
91
-                     );
86
+                        ->where(
87
+                            function (EloquentBuilder $q) use ($date) {
88
+                                $q->where('targetdate', '>=', $date->format('Y-m-d 00:00:00'));
89
+                                $q->orWhereNull('targetdate');
90
+                            }
91
+                        );
92 92
     }
93 93
 
94 94
     /**
Please login to merge, or discard this patch.
app/Models/PiggyBank.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -71,8 +71,8 @@
 block discarded – undo
71 71
         if (auth()->check()) {
72 72
             $piggyBankId = (int)$value;
73 73
             $piggyBank   = self::where('piggy_banks.id', $piggyBankId)
74
-                               ->leftJoin('accounts', 'accounts.id', '=', 'piggy_banks.account_id')
75
-                               ->where('accounts.user_id', auth()->user()->id)->first(['piggy_banks.*']);
74
+                                ->leftJoin('accounts', 'accounts.id', '=', 'piggy_banks.account_id')
75
+                                ->where('accounts.user_id', auth()->user()->id)->first(['piggy_banks.*']);
76 76
             if (null !== $piggyBank) {
77 77
                 return $piggyBank;
78 78
             }
Please login to merge, or discard this patch.
app/Models/BudgetLimit.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -55,9 +55,9 @@
 block discarded – undo
55 55
         if (auth()->check()) {
56 56
             $budgetLimitId = (int)$value;
57 57
             $budgetLimit   = self::where('budget_limits.id', $budgetLimitId)
58
-                                 ->leftJoin('budgets', 'budgets.id', '=', 'budget_limits.budget_id')
59
-                                 ->where('budgets.user_id', auth()->user()->id)
60
-                                 ->first(['budget_limits.*']);
58
+                                    ->leftJoin('budgets', 'budgets.id', '=', 'budget_limits.budget_id')
59
+                                    ->where('budgets.user_id', auth()->user()->id)
60
+                                    ->first(['budget_limits.*']);
61 61
             if (null !== $budgetLimit) {
62 62
                 return $budgetLimit;
63 63
             }
Please login to merge, or discard this patch.
app/Models/TransactionJournalLink.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -49,11 +49,11 @@
 block discarded – undo
49 49
         if (auth()->check()) {
50 50
             $linkId = (int)$value;
51 51
             $link   = self::where('journal_links.id', $linkId)
52
-                          ->leftJoin('transaction_journals as t_a', 't_a.id', '=', 'source_id')
53
-                          ->leftJoin('transaction_journals as t_b', 't_b.id', '=', 'destination_id')
54
-                          ->where('t_a.user_id', auth()->user()->id)
55
-                          ->where('t_b.user_id', auth()->user()->id)
56
-                          ->first(['journal_links.*']);
52
+                            ->leftJoin('transaction_journals as t_a', 't_a.id', '=', 'source_id')
53
+                            ->leftJoin('transaction_journals as t_b', 't_b.id', '=', 'destination_id')
54
+                            ->where('t_a.user_id', auth()->user()->id)
55
+                            ->where('t_b.user_id', auth()->user()->id)
56
+                            ->first(['journal_links.*']);
57 57
             if (null !== $link) {
58 58
                 return $link;
59 59
             }
Please login to merge, or discard this patch.
app/Services/Internal/Support/BillServiceTrait.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -49,8 +49,8 @@
 block discarded – undo
49 49
         $ruleIds = $bill->user->rules()->get(['id'])->pluck('id')->toArray();
50 50
         /** @var Collection $set */
51 51
         $set = RuleAction::whereIn('rule_id', $ruleIds)
52
-                         ->where('action_type', 'link_to_bill')
53
-                         ->where('action_value', $oldName)->get();
52
+                            ->where('action_type', 'link_to_bill')
53
+                            ->where('action_value', $oldName)->get();
54 54
 
55 55
         /** @var RuleAction $ruleAction */
56 56
         foreach ($set as $ruleAction) {
Please login to merge, or discard this patch.
app/Http/Controllers/Import/JobStatusController.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -93,8 +93,8 @@
 block discarded – undo
93 93
         if ('file' === $importJob->provider) {
94 94
             $json['download_config'] = true;
95 95
             $json['download_config_text']
96
-                                     = trans('import.should_download_config', ['route' => route('import.job.download', [$importJob->key])]) . ' '
97
-                                       . trans('import.share_config_file');
96
+                                        = trans('import.should_download_config', ['route' => route('import.job.download', [$importJob->key])]) . ' '
97
+                                        . trans('import.share_config_file');
98 98
         }
99 99
 
100 100
         // if count is zero:
Please login to merge, or discard this patch.
app/Http/Controllers/Admin/UserController.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -149,8 +149,8 @@
 block discarded – undo
149 149
 
150 150
         return view(
151 151
             'admin.users.show', compact(
152
-                                  'title', 'mainTitleIcon', 'subTitle', 'subTitleIcon', 'information', 'user'
153
-                              )
152
+                                    'title', 'mainTitleIcon', 'subTitle', 'subTitleIcon', 'information', 'user'
153
+                                )
154 154
         );
155 155
     }
156 156
 
Please login to merge, or discard this patch.
app/Http/Controllers/NewUserController.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -107,7 +107,7 @@
 block discarded – undo
107 107
 
108 108
         // set default optional fields:
109 109
         $visibleFields = ['interest_date' => true, 'book_date' => false, 'process_date' => false, 'due_date' => false, 'payment_date' => false,
110
-                          'invoice_date'  => false, 'internal_reference' => false, 'notes' => true, 'attachments' => true,];
110
+                            'invoice_date'  => false, 'internal_reference' => false, 'notes' => true, 'attachments' => true,];
111 111
         app('preferences')->set('transaction_journal_optional_fields', $visibleFields);
112 112
 
113 113
         session()->flash('success', (string)trans('firefly.stored_new_accounts_new_user'));
Please login to merge, or discard this patch.
app/Http/Controllers/Json/RecurrenceController.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -227,11 +227,11 @@
 block discarded – undo
227 227
             $result     = [
228 228
                 'daily'  => ['label' => (string)trans('firefly.recurring_daily'), 'selected' => 0 === strpos($preSelected, 'daily')],
229 229
                 $weekly  => ['label'    => (string)trans('firefly.recurring_weekly', ['weekday' => $dayOfWeek]),
230
-                             'selected' => 0 === strpos($preSelected, 'weekly')],
230
+                                'selected' => 0 === strpos($preSelected, 'weekly')],
231 231
                 $monthly => ['label'    => (string)trans('firefly.recurring_monthly', ['dayOfMonth' => $date->day]),
232
-                             'selected' => 0 === strpos($preSelected, 'monthly')],
232
+                                'selected' => 0 === strpos($preSelected, 'monthly')],
233 233
                 $ndom    => ['label'    => (string)trans('firefly.recurring_ndom', ['weekday' => $dayOfWeek, 'dayOfMonth' => $date->weekOfMonth]),
234
-                             'selected' => 0 === strpos($preSelected, 'ndom')],
234
+                                'selected' => 0 === strpos($preSelected, 'ndom')],
235 235
                 $yearly  => ['label' => (string)trans('firefly.recurring_yearly', ['date' => $yearlyDate]), 'selected' => 0 === strpos($preSelected, 'yearly')],
236 236
             ];
237 237
         }
Please login to merge, or discard this patch.