Passed
Push — master ( cf47da...53c71b )
by James
21:48 queued 09:49
created
app/Support/Logging/AuditLogger.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@
 block discarded – undo
38 38
      */
39 39
     public function __invoke($logger)
40 40
     {
41
-        $processor  = new AuditProcessor;
41
+        $processor = new AuditProcessor;
42 42
         $logger->pushProcessor($processor);
43 43
     }
44 44
 }
Please login to merge, or discard this patch.
app/Http/Controllers/Admin/LinkController.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
         parent::__construct();
45 45
 
46 46
         $this->middleware(
47
-            function ($request, $next) {
47
+            function($request, $next) {
48 48
                 app('view')->share('title', (string)trans('firefly.administration'));
49 49
                 app('view')->share('mainTitleIcon', 'fa-hand-spock-o');
50 50
 
@@ -176,7 +176,7 @@  discard block
 block discarded – undo
176 176
 
177 177
         Log::channel('audit')->info('User on index of link types in admin.');
178 178
         $linkTypes->each(
179
-            function (LinkType $linkType) use ($repository) {
179
+            function(LinkType $linkType) use ($repository) {
180 180
                 $linkType->journalCount = $repository->countJournals($linkType);
181 181
             }
182 182
         );
@@ -212,7 +212,7 @@  discard block
 block discarded – undo
212 212
      */
213 213
     public function store(LinkTypeFormRequest $request, LinkTypeRepositoryInterface $repository)
214 214
     {
215
-        $data     = [
215
+        $data = [
216 216
             'name'    => $request->string('name'),
217 217
             'inward'  => $request->string('inward'),
218 218
             'outward' => $request->string('outward'),
Please login to merge, or discard this patch.
app/Support/Import/Routine/Spectre/StageImportDataHandler.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -173,7 +173,7 @@  discard block
 block discarded – undo
173 173
                 }
174 174
             }
175 175
 
176
-            $entry   = [
176
+            $entry = [
177 177
                 'type'            => $type,
178 178
                 'date'            => $transaction->getMadeOn()->format('Y-m-d'),
179 179
                 'tags'            => $tags,
@@ -233,7 +233,7 @@  discard block
 block discarded – undo
233 233
         if (null === $account) {
234 234
             throw new FireflyException(sprintf('Cannot find Firefly III asset account with ID #%d. Job must stop now.', $accountId)); // @codeCoverageIgnore
235 235
         }
236
-        if (!\in_array($account->accountType->type ,[AccountType::ASSET, AccountType::LOAN, AccountType::MORTGAGE, AccountType::DEBT], true)) {
236
+        if (!\in_array($account->accountType->type, [AccountType::ASSET, AccountType::LOAN, AccountType::MORTGAGE, AccountType::DEBT], true)) {
237 237
             throw new FireflyException(sprintf('Account with ID #%d is not an asset/loan/mortgage/debt account. Job must stop now.', $accountId)); // @codeCoverageIgnore
238 238
         }
239 239
 
Please login to merge, or discard this patch.
app/Support/Import/Routine/File/ImportableConverter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -148,7 +148,7 @@
 block discarded – undo
148 148
                 $object = Carbon::createFromFormat($dateFormat, $date);
149 149
                 $result = $object->format('Y-m-d H:i:s');
150 150
                 Log::debug(sprintf('createFromFormat: Turning "%s" into "%s" using "%s"', $date, $result, $this->config['date-format'] ?? 'Ymd'));
151
-            } catch (InvalidDateException|InvalidArgumentException $e) {
151
+            } catch (InvalidDateException | InvalidArgumentException $e) {
152 152
                 Log::error($e->getMessage());
153 153
                 Log::error($e->getTraceAsString());
154 154
             }
Please login to merge, or discard this patch.