Passed
Push — master ( 6c3849...8a2f40 )
by Hannes
02:09
created
src/Domain/PostalAddress.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-19 Hannes Forsgård
19 19
  */
20 20
 
21
-declare(strict_types = 1);
21
+declare(strict_types=1);
22 22
 
23 23
 namespace byrokrat\giroapp\Domain;
24 24
 
Please login to merge, or discard this patch.
src/Domain/NewDonorProcessor.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-19 Hannes Forsgård
19 19
  */
20 20
 
21
-declare(strict_types = 1);
21
+declare(strict_types=1);
22 22
 
23 23
 namespace byrokrat\giroapp\Domain;
24 24
 
Please login to merge, or discard this patch.
src/Domain/NewDonor.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-19 Hannes Forsgård
19 19
  */
20 20
 
21
-declare(strict_types = 1);
21
+declare(strict_types=1);
22 22
 
23 23
 namespace byrokrat\giroapp\Domain;
24 24
 
Please login to merge, or discard this patch.
src/CommandBus/UpdateStateHandler.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@  discard block
 block discarded – undo
18 18
  * Copyright 2016-19 Hannes Forsgård
19 19
  */
20 20
 
21
-declare(strict_types = 1);
21
+declare(strict_types=1);
22 22
 
23 23
 namespace byrokrat\giroapp\CommandBus;
24 24
 
@@ -52,7 +52,7 @@  discard block
 block discarded – undo
52 52
                 implode(
53 53
                     "', '",
54 54
                     array_map(
55
-                        function (Transition $transition): string {
55
+                        function(Transition $transition): string {
56 56
                             return $transition->getName();
57 57
                         },
58 58
                         $this->workflow->getEnabledTransitions($donor)
Please login to merge, or discard this patch.
src/Domain/State/Removed.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-19 Hannes Forsgård
19 19
  */
20 20
 
21
-declare(strict_types = 1);
21
+declare(strict_types=1);
22 22
 
23 23
 namespace byrokrat\giroapp\Domain\State;
24 24
 
Please login to merge, or discard this patch.
src/CommandBus/ForceRemoveDonor.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-19 Hannes Forsgård
19 19
  */
20 20
 
21
-declare(strict_types = 1);
21
+declare(strict_types=1);
22 22
 
23 23
 namespace byrokrat\giroapp\CommandBus;
24 24
 
Please login to merge, or discard this patch.
src/CommandBus/ForceRemoveDonorHandler.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-19 Hannes Forsgård
19 19
  */
20 20
 
21
-declare(strict_types = 1);
21
+declare(strict_types=1);
22 22
 
23 23
 namespace byrokrat\giroapp\CommandBus;
24 24
 
Please login to merge, or discard this patch.
src/Utils/LoggerFactory.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-19 Hannes Forsgård
19 19
  */
20 20
 
21
-declare(strict_types = 1);
21
+declare(strict_types=1);
22 22
 
23 23
 namespace byrokrat\giroapp\Utils;
24 24
 
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.