Passed
Push — master ( a1768c...4df141 )
by James
03:30 queued 11s
created
app/Http/Middleware/Request.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -291,7 +291,7 @@
 block discarded – undo
291 291
      */
292 292
     private function cleanString(string $string): string
293 293
     {
294
-        $search  = [
294
+        $search = [
295 295
             "\u{0001}", // start of heading
296 296
             "\u{0002}", // start of text
297 297
             "\u{0003}", // end of text
Please login to merge, or discard this patch.
app/Http/Middleware/ConfigurationPostRequest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -94,7 +94,7 @@
 block discarded – undo
94 94
     public function withValidator(Validator $validator): void
95 95
     {
96 96
         $validator->after(
97
-            static function (Validator $validator) {
97
+            static function(Validator $validator) {
98 98
                 $data = $validator->getData();
99 99
                 //                if (!isset($data['accounts'])) {
100 100
                 //                    $validator->errors()->add(
Please login to merge, or discard this patch.
app/Http/Controllers/TokenController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -114,7 +114,7 @@
 block discarded – undo
114 114
             ApiContextManager::getApiContext();
115 115
         } catch (ApiHttpException $e) {
116 116
             $errorMessage = sprintf('bunq complained: %s', $e->getMessage());
117
-            $isError =true;
117
+            $isError = true;
118 118
         }
119 119
 
120 120
         if (false === $isError) {
Please login to merge, or discard this patch.
app/Http/Controllers/Import/ConfigurationController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -138,7 +138,7 @@
 block discarded – undo
138 138
             $mapping = base64_encode(json_encode($configuration->getMapping(), JSON_THROW_ON_ERROR, 512));
139 139
         }
140 140
 
141
-        return view('import.configuration.index', compact('mainTitle', 'subTitle','ff3Accounts', 'combinedAccounts', 'configuration', 'bunqAccounts', 'mapping'));
141
+        return view('import.configuration.index', compact('mainTitle', 'subTitle', 'ff3Accounts', 'combinedAccounts', 'configuration', 'bunqAccounts', 'mapping'));
142 142
     }
143 143
 
144 144
     /**
Please login to merge, or discard this patch.
app/Http/Controllers/Import/SyncController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -100,7 +100,7 @@
 block discarded – undo
100 100
         // get sync ID so we have a separate track thing.
101 101
         $syncIdentifier = session()->get(Constants::SYNC_JOB_IDENTIFIER);
102 102
 
103
-        $routine    = new RoutineManager($syncIdentifier);
103
+        $routine = new RoutineManager($syncIdentifier);
104 104
 
105 105
         // store identifier in session so the status can get it (should already be there)
106 106
         session()->put(Constants::SYNC_JOB_IDENTIFIER, $syncIdentifier);
Please login to merge, or discard this patch.
app/Http/Controllers/Import/MappingController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -162,7 +162,7 @@
 block discarded – undo
162 162
             }
163 163
         }
164 164
         $filtered = array_filter(
165
-            $opposing, static function (string $value) {
165
+            $opposing, static function(string $value) {
166 166
             return '' !== $value;
167 167
         }
168 168
         );
Please login to merge, or discard this patch.
app/Console/VerifyJSON.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@
 block discarded – undo
43 43
         $json = file_get_contents($file);
44 44
         try {
45 45
             $configuration = json_decode($json, true, 512, JSON_THROW_ON_ERROR);
46
-        } catch (Exception|JsonException $e) {
46
+        } catch (Exception | JsonException $e) {
47 47
             $message = sprintf('The importer can\'t import: could not decode the JSON in the config file: %s', $e->getMessage());
48 48
             Log::error($message);
49 49
 
Please login to merge, or discard this patch.
app/Bunq/Download/RoutineManager.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -120,7 +120,7 @@
 block discarded – undo
120 120
         // download and store transactions from bunq.
121 121
         try {
122 122
             $transactions = $this->paymentList->getPaymentList();
123
-        } catch(ImportException $e) {
123
+        } catch (ImportException $e) {
124 124
             Log::error($e->getMessage());
125 125
             Log::error($e->getTraceAsString());
126 126
         }
Please login to merge, or discard this patch.
app/Bunq/Requests/MonetaryAccountList.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -116,7 +116,7 @@
 block discarded – undo
116 116
         switch (get_class($object)) {
117 117
             case MonetaryAccountBank::class:
118 118
             case MonetaryAccountSavings::class:
119
-                $return          = [
119
+                $return = [
120 120
                     'id'          => $object->getId(),
121 121
                     'currency'    => $object->getCurrency(),
122 122
                     'description' => $object->getDescription(),
Please login to merge, or discard this patch.