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 ( fdf147...e3de03 )
by James
18:29 queued 09:33
created
app/Console/Commands/UpgradeDatabase.php 1 patch
Indentation   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -269,10 +269,10 @@  discard block
 block discarded – undo
269 269
             return;
270 270
         }
271 271
         $subQuery = TransactionJournal::leftJoin('transactions', 'transactions.transaction_journal_id', '=', 'transaction_journals.id')
272
-                                      ->whereNull('transaction_journals.deleted_at')
273
-                                      ->whereNull('transactions.deleted_at')
274
-                                      ->groupBy(['transaction_journals.id'])
275
-                                      ->select(['transaction_journals.id', DB::raw('COUNT(transactions.id) AS t_count')]);
272
+                                        ->whereNull('transaction_journals.deleted_at')
273
+                                        ->whereNull('transactions.deleted_at')
274
+                                        ->groupBy(['transaction_journals.id'])
275
+                                        ->select(['transaction_journals.id', DB::raw('COUNT(transactions.id) AS t_count')]);
276 276
         /** @noinspection PhpStrictTypeCheckingInspection */
277 277
         $result     = DB::table(DB::raw('(' . $subQuery->toSql() . ') AS derived'))
278 278
                         ->mergeBindings($subQuery->getQuery())
@@ -300,7 +300,7 @@  discard block
 block discarded – undo
300 300
         Log::debug(sprintf('System default currency is "%s"', $defaultConfig));
301 301
 
302 302
         $accounts = Account::leftJoin('account_types', 'account_types.id', '=', 'accounts.account_type_id')
303
-                           ->whereIn('account_types.type', [AccountType::DEFAULT, AccountType::ASSET])->get(['accounts.*']);
303
+                            ->whereIn('account_types.type', [AccountType::DEFAULT, AccountType::ASSET])->get(['accounts.*']);
304 304
         /** @var AccountRepositoryInterface $repository */
305 305
         $repository = app(AccountRepositoryInterface::class);
306 306
         $accounts->each(
@@ -386,9 +386,9 @@  discard block
 block discarded – undo
386 386
                 // get the transaction with the asset account in it:
387 387
                 /** @var Transaction $transaction */
388 388
                 $transaction = $journal->transactions()
389
-                                       ->leftJoin('accounts', 'accounts.id', '=', 'transactions.account_id')
390
-                                       ->leftJoin('account_types', 'account_types.id', '=', 'accounts.account_type_id')
391
-                                       ->whereIn('account_types.type', [AccountType::DEFAULT, AccountType::ASSET])->first(['transactions.*']);
389
+                                        ->leftJoin('accounts', 'accounts.id', '=', 'transactions.account_id')
390
+                                        ->leftJoin('account_types', 'account_types.id', '=', 'accounts.account_type_id')
391
+                                        ->whereIn('account_types.type', [AccountType::DEFAULT, AccountType::ASSET])->first(['transactions.*']);
392 392
                 if (null === $transaction) {
393 393
                     return;
394 394
                 }
@@ -633,9 +633,9 @@  discard block
 block discarded – undo
633 633
             try {
634 634
                 /** @var Transaction $opposing */
635 635
                 $opposing = Transaction::where('transaction_journal_id', $journalId)
636
-                                       ->where('amount', $amount)->where('identifier', '=', 0)
637
-                                       ->whereNotIn('id', $processed)
638
-                                       ->first();
636
+                                        ->where('amount', $amount)->where('identifier', '=', 0)
637
+                                        ->whereNotIn('id', $processed)
638
+                                        ->first();
639 639
             } catch (QueryException $e) {
640 640
                 Log::error($e->getMessage());
641 641
                 $this->error('Firefly III could not find the "identifier" field in the "transactions" table.');
Please login to merge, or discard this patch.