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 ( e2a30b...fb9ac5 )
by James
22:28 queued 09:33
created
app/Http/Controllers/Recurring/IndexController.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
56 56
 
57 57
         // translations:
58 58
         $this->middleware(
59
-            function ($request, $next) {
59
+            function($request, $next) {
60 60
                 app('view')->share('mainTitleIcon', 'fa-paint-brush');
61 61
                 app('view')->share('title', (string)trans('firefly.recurrences'));
62 62
 
@@ -98,8 +98,8 @@  discard block
 block discarded – undo
98 98
             $today      = new Carbon;
99 99
             $year       = new Carbon;
100 100
             $year->addYear();
101
-            if($recurrence->first_date > $today) {
102
-                $today =clone $recurrence->first_date;
101
+            if ($recurrence->first_date > $today) {
102
+                $today = clone $recurrence->first_date;
103 103
                 $year = clone $today;
104 104
                 $year->addYear();
105 105
             }
@@ -107,7 +107,7 @@  discard block
 block discarded – undo
107 107
             $array['first_date']   = new Carbon($array['first_date']);
108 108
             $array['repeat_until'] = null === $array['repeat_until'] ? null : new Carbon($array['repeat_until']);
109 109
             $array['latest_date']  = null === $array['latest_date'] ? null : new Carbon($array['latest_date']);
110
-            $array['occurrences']  = array_slice($this->recurring->getOccurrencesInRange($recurrence->recurrenceRepetitions->first(), $today, $year),0,1);
110
+            $array['occurrences']  = array_slice($this->recurring->getOccurrencesInRange($recurrence->recurrenceRepetitions->first(), $today, $year), 0, 1);
111 111
             $recurring[]           = $array;
112 112
         }
113 113
         $paginator = new LengthAwarePaginator($recurring, $total, $pageSize, $page);
Please login to merge, or discard this patch.
app/Models/Account.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -159,8 +159,8 @@
 block discarded – undo
159 159
     {
160 160
         /** @var AccountMeta $metaValue */
161 161
         $metaValue = $this->accountMeta()
162
-                          ->where('name', 'account_number')
163
-                          ->first();
162
+                            ->where('name', 'account_number')
163
+                            ->first();
164 164
 
165 165
         return $metaValue ? $metaValue->data : '';
166 166
     }
Please login to merge, or discard this patch.
app/TransactionRules/Triggers/ToAccountNumberEnds.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -73,7 +73,7 @@
 block discarded – undo
73 73
     {
74 74
         /** @var JournalRepositoryInterface $repository */
75 75
         $repository   = app(JournalRepositoryInterface::class);
76
-        $dest       = $repository->getDestinationAccount($journal);
76
+        $dest = $repository->getDestinationAccount($journal);
77 77
         $search       = strtolower($this->triggerValue);
78 78
         $searchLength = strlen($search);
79 79
 
Please login to merge, or discard this patch.
app/TransactionRules/Triggers/ToAccountEnds.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -73,7 +73,7 @@
 block discarded – undo
73 73
     {
74 74
         /** @var JournalRepositoryInterface $repository */
75 75
         $repository   = app(JournalRepositoryInterface::class);
76
-        $dest       = $repository->getDestinationAccount($journal);
76
+        $dest = $repository->getDestinationAccount($journal);
77 77
         $nameLength   = strlen($dest->name);
78 78
         $search       = $this->triggerValue;
79 79
         $searchLength = strlen($search);
Please login to merge, or discard this patch.
app/TransactionRules/Triggers/FromAccountIs.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -78,13 +78,13 @@
 block discarded – undo
78 78
 
79 79
         if (strtolower($source->name) === $search) {
80 80
             Log::debug(sprintf('RuleTrigger %s for journal #%d: "%s" is "%s", return true.',
81
-                               get_class($this), $journal->id, $source->name, $search));
81
+                                get_class($this), $journal->id, $source->name, $search));
82 82
 
83 83
             return true;
84 84
         }
85 85
 
86 86
         Log::debug(sprintf('RuleTrigger %s for journal #%d: "%s" is NOT "%s", return false.',
87
-                           get_class($this), $journal->id, $source->name, $search));
87
+                            get_class($this), $journal->id, $source->name, $search));
88 88
 
89 89
         return false;
90 90
     }
Please login to merge, or discard this patch.
app/TransactionRules/Triggers/ToAccountIs.php 2 patches
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -79,13 +79,13 @@
 block discarded – undo
79 79
 
80 80
         if (strtolower($dest->name) === $search) {
81 81
             Log::debug(sprintf('RuleTrigger %s for journal #%d: "%s" is "%s", return true.',
82
-                               get_class($this), $journal->id, $dest->name, $search));
82
+                                get_class($this), $journal->id, $dest->name, $search));
83 83
 
84 84
             return true;
85 85
         }
86 86
 
87 87
         Log::debug(sprintf('RuleTrigger %s for journal #%d: "%s" is NOT "%s", return false.',
88
-                           get_class($this), $journal->id, $dest->name, $search));
88
+                            get_class($this), $journal->id, $dest->name, $search));
89 89
 
90 90
         return false;
91 91
     }
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -74,7 +74,7 @@
 block discarded – undo
74 74
     {
75 75
         /** @var JournalRepositoryInterface $repository */
76 76
         $repository = app(JournalRepositoryInterface::class);
77
-        $dest     = $repository->getDestinationAccount($journal);
77
+        $dest = $repository->getDestinationAccount($journal);
78 78
         $search     = strtolower($this->triggerValue);
79 79
 
80 80
         if (strtolower($dest->name) === $search) {
Please login to merge, or discard this patch.
app/TransactionRules/Triggers/ToAccountNumberStarts.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -73,7 +73,7 @@
 block discarded – undo
73 73
     {
74 74
         /** @var JournalRepositoryInterface $repository */
75 75
         $repository = app(JournalRepositoryInterface::class);
76
-        $dest     = $repository->getDestinationAccount($journal);
76
+        $dest = $repository->getDestinationAccount($journal);
77 77
         $search     = strtolower($this->triggerValue);
78 78
         $part1      = strtolower(substr((string)$dest->iban, 0, strlen($search)));
79 79
         $part2      = strtolower(substr($dest->account_number, 0, strlen($search)));
Please login to merge, or discard this patch.
app/TransactionRules/Triggers/ToAccountNumberContains.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -73,7 +73,7 @@
 block discarded – undo
73 73
     {
74 74
         /** @var JournalRepositoryInterface $repository */
75 75
         $repository = app(JournalRepositoryInterface::class);
76
-        $dest     = $repository->getDestinationAccount($journal);
76
+        $dest = $repository->getDestinationAccount($journal);
77 77
         $strpos1    = stripos((string)$dest->iban, $this->triggerValue);
78 78
         $strpos2    = stripos($dest->account_number, $this->triggerValue);
79 79
 
Please login to merge, or discard this patch.
app/TransactionRules/Triggers/ToAccountNumberIs.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -73,7 +73,7 @@
 block discarded – undo
73 73
     {
74 74
         /** @var JournalRepositoryInterface $repository */
75 75
         $repository = app(JournalRepositoryInterface::class);
76
-        $dest     = $repository->getDestinationAccount($journal);
76
+        $dest = $repository->getDestinationAccount($journal);
77 77
         $search     = strtolower($this->triggerValue);
78 78
 
79 79
         if (strtolower((string)$dest->iban) === $search || strtolower($dest->account_number) === $search) {
Please login to merge, or discard this patch.