Passed
Push — master ( 270226...e22eb7 )
by James
06:04 queued 11s
created
app/Console/VerifyJSON.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@
 block discarded – undo
42 42
         $json = file_get_contents($file);
43 43
         try {
44 44
             $configuration = json_decode($json, true, 512, JSON_THROW_ON_ERROR);
45
-        } catch (Exception|JsonException $e) {
45
+        } catch (Exception | JsonException $e) {
46 46
             $message = sprintf('The importer can\'t import: could not decode the JSON in the config file: %s', $e->getMessage());
47 47
             Log::error($message);
48 48
 
Please login to merge, or discard this patch.
app/Services/CSV/Converter/Date.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -108,7 +108,7 @@
 block discarded – undo
108 108
             Log::debug(sprintf('Date converter is going to work on "%s" using format "%s"', $string, $this->dateFormat));
109 109
             try {
110 110
                 $carbon = Carbon::createFromFormat($this->dateFormat, $string);
111
-            } catch (InvalidArgumentException|Exception $e) {
111
+            } catch (InvalidArgumentException | Exception $e) {
112 112
                 Log::error(sprintf('%s converting the date: %s', get_class($e), $e->getMessage()));
113 113
                 return Carbon::today()->format('Y-m-d');
114 114
             }
Please login to merge, or discard this patch.
app/Services/Import/Routine/APISubmitter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -142,7 +142,7 @@
 block discarded – undo
142 142
     private function getOriginalValue(string $key, array $transaction): string
143 143
     {
144 144
         $parts = explode('.', $key);
145
-        if(1 === count($parts)) {
145
+        if (1 === count($parts)) {
146 146
             return $transaction[$key] ?? '(not found)';
147 147
         }
148 148
         if (3 !== count($parts)) {
Please login to merge, or discard this patch.