Passed
Push — master ( 9be0c8...8c1bed )
by Chris
02:56
created
src/Cli/Command/ReportToCsv.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@
 block discarded – undo
39 39
             ->setDefinition([
40 40
                 new InputArgument('report', InputArgument::REQUIRED, 'Report to run'),
41 41
                 new InputArgument('outputFile', InputArgument::OPTIONAL, 'File to output report to', '/tmp/report.csv')
42
-             ]);
42
+                ]);
43 43
     }
44 44
 
45 45
     protected function execute(InputInterface $input, OutputInterface $output)
Please login to merge, or discard this patch.
src/Form/ManageTicket.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace ConferenceTools\Tickets\Form;
6 6
 
Please login to merge, or discard this patch.
src/Form/FormInputFilterDelegator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace ConferenceTools\Tickets\Form;
6 6
 
Please login to merge, or discard this patch.
src/Domain/ValueObject/Basket.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -111,7 +111,7 @@
 block discarded – undo
111 111
     public function containingOnly(TicketType ...$ticketTypes)
112 112
     {
113 113
         $filteredReservations = [];
114
-        foreach($this->tickets as $ticketReservation) {
114
+        foreach ($this->tickets as $ticketReservation) {
115 115
             if (in_array($ticketReservation->getTicketType(), $ticketTypes, false)) {
116 116
                 $filteredReservations[] = $ticketReservation;
117 117
             }
Please login to merge, or discard this patch.
test/unit/Domain/Service/Basket/FactoryTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -60,7 +60,7 @@
 block discarded – undo
60 60
 
61 61
         $ticketReservations = $basket->getTickets();
62 62
         $ticketIdsFromBasket = array_map(
63
-            function (TicketReservation $item) {
63
+            function(TicketReservation $item) {
64 64
                 return $item->getReservationId();
65 65
             },
66 66
             $ticketReservations
Please login to merge, or discard this patch.
src/Domain/Service/Availability/DiscountCodeAvailability.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@
 block discarded – undo
57 57
     private function reindex(Collection $discountCodes): Collection
58 58
     {
59 59
         $result = [];
60
-        foreach($discountCodes as $discountCode) {
60
+        foreach ($discountCodes as $discountCode) {
61 61
             /** @var DiscountCode $discountCode */
62 62
             $result[$discountCode->getCode()] = $discountCode;
63 63
         }
Please login to merge, or discard this patch.
src/Domain/Service/Availability/TicketAvailability.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -63,7 +63,7 @@
 block discarded – undo
63 63
     private function reindex(Collection $tickets): Collection
64 64
     {
65 65
         $result = [];
66
-        foreach($tickets as $ticket) {
66
+        foreach ($tickets as $ticket) {
67 67
             /** @var TicketCounter $ticket */
68 68
             $result[$ticket->getTicketType()->getIdentifier()] = $ticket;
69 69
         }
Please login to merge, or discard this patch.
src/Domain/Service/Availability/Filters/ByDate.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@
 block discarded – undo
30 30
         $configuration = $this->configuration;
31 31
         $today = new \DateTime();
32 32
 
33
-        $p = function (TicketCounter $ticket) use ($configuration, $today) {
33
+        $p = function(TicketCounter $ticket) use ($configuration, $today) {
34 34
             $metadata = $configuration->getTicketMetadata($ticket->getTicketType()->getIdentifier());
35 35
             return $metadata->isAvailableOn($today);
36 36
         };
Please login to merge, or discard this patch.
src/Domain/Service/Availability/Filters/DiscountByDate.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@
 block discarded – undo
33 33
         $configuration = $this->configuration;
34 34
         $today = new \DateTime();
35 35
 
36
-        $p = function (DiscountCode $discountCode) use ($configuration, $today) {
36
+        $p = function(DiscountCode $discountCode) use ($configuration, $today) {
37 37
             $metadata = $configuration->getDiscountCodeMetadata($discountCode->getCode());
38 38
             return $metadata->isAvailableOn($today);
39 39
         };
Please login to merge, or discard this patch.