Completed
Push — master ( 46ef53...b28300 )
by Hannes
04:44
created
src/Utils/ClassIdExtractor.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@
 block discarded – undo
37 37
         $this->id = rtrim(
38 38
             (string)preg_replace_callback(
39 39
                 '/[A-Z][a-z]+/',
40
-                function (array $matches) {
40
+                function(array $matches) {
41 41
                     return strtoupper($matches[0]) . '_';
42 42
                 },
43 43
                 (new \ReflectionClass($obj))->getShortName()
Please login to merge, or discard this patch.
update_db.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -38,8 +38,8 @@  discard block
 block discarded – undo
38 38
 
39 39
 // Pre-checks
40 40
 
41
-$donorsFileName =  $dbDir . "/" . DONORS_FILE;
42
-$donorsFileTargetName =  $dbDir . "/" . DONORS_FILE_TARGET;
41
+$donorsFileName = $dbDir . "/" . DONORS_FILE;
42
+$donorsFileTargetName = $dbDir . "/" . DONORS_FILE_TARGET;
43 43
 $eventsFileName = $dbDir . "/" . DONOR_EVENTS_FILE;
44 44
 
45 45
 if (!file_exists($donorsFileName)) {
@@ -72,7 +72,7 @@  discard block
 block discarded – undo
72 72
     $newData[$key] = $item;
73 73
 }
74 74
 
75
-file_put_contents($donorsFileTargetName, json_encode($newData, JSON_PRETTY_PRINT)."\n");
75
+file_put_contents($donorsFileTargetName, json_encode($newData, JSON_PRETTY_PRINT) . "\n");
76 76
 
77 77
 // Hack for event store..
78 78
 
@@ -185,7 +185,7 @@  discard block
 block discarded – undo
185 185
     );
186 186
 }
187 187
 
188
-usort($entries, function ($left, $right) {
188
+usort($entries, function($left, $right) {
189 189
     return $left->getDateTime() <=> $right->getDateTime();
190 190
 });
191 191
 
Please login to merge, or discard this patch.
src/Db/DriverEnvironment.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
  * Copyright 2016-20 Hannes Forsgård
19 19
  */
20 20
 
21
-declare(strict_types = 1);
21
+declare(strict_types=1);
22 22
 
23 23
 namespace byrokrat\giroapp\Db;
24 24
 
Please login to merge, or discard this patch.
src/Db/DonorEventEntry.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
  * Copyright 2016-20 Hannes Forsgård
19 19
  */
20 20
 
21
-declare(strict_types = 1);
21
+declare(strict_types=1);
22 22
 
23 23
 namespace byrokrat\giroapp\Db;
24 24
 
Please login to merge, or discard this patch.
src/Db/DonorQueryDecorator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
  * Copyright 2016-20 Hannes Forsgård
19 19
  */
20 20
 
21
-declare(strict_types = 1);
21
+declare(strict_types=1);
22 22
 
23 23
 namespace byrokrat\giroapp\Db;
24 24
 
Please login to merge, or discard this patch.
src/Db/Json/JsonDriverFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
  * Copyright 2016-20 Hannes Forsgård
19 19
  */
20 20
 
21
-declare(strict_types = 1);
21
+declare(strict_types=1);
22 22
 
23 23
 namespace byrokrat\giroapp\Db\Json;
24 24
 
Please login to merge, or discard this patch.
src/Db/Json/JsonImportHistory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
  * Copyright 2016-20 Hannes Forsgård
19 19
  */
20 20
 
21
-declare(strict_types = 1);
21
+declare(strict_types=1);
22 22
 
23 23
 namespace byrokrat\giroapp\Db\Json;
24 24
 
Please login to merge, or discard this patch.
src/Db/Json/JsonDonorEventStore.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
  * Copyright 2016-20 Hannes Forsgård
19 19
  */
20 20
 
21
-declare(strict_types = 1);
21
+declare(strict_types=1);
22 22
 
23 23
 namespace byrokrat\giroapp\Db\Json;
24 24
 
Please login to merge, or discard this patch.
src/Db/Json/JsonDriver.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
  * Copyright 2016-20 Hannes Forsgård
19 19
  */
20 20
 
21
-declare(strict_types = 1);
21
+declare(strict_types=1);
22 22
 
23 23
 namespace byrokrat\giroapp\Db\Json;
24 24
 
Please login to merge, or discard this patch.