Passed
Push — master ( cb50cd...7264d5 )
by Chris
37s
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.
src/Domain/Service/TicketAvailability/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/TicketAvailability/Filters/IsAvailable.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@
 block discarded – undo
10 10
 {
11 11
     public function filter(Collection $tickets): Collection
12 12
     {
13
-        $p = function (TicketCounter $ticket) {
13
+        $p = function(TicketCounter $ticket) {
14 14
             return $ticket->getRemaining() > 0;
15 15
         };
16 16
         return $tickets->filter($p);
Please login to merge, or discard this patch.
src/Domain/Service/TicketAvailability/Filters/AfterSoldOut.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -29,11 +29,11 @@
 block discarded – undo
29 29
     {
30 30
         $configuration = $this->configuration;
31 31
 
32
-        $identifiers = $tickets->map(function (TicketCounter $ticketCounter) {
32
+        $identifiers = $tickets->map(function(TicketCounter $ticketCounter) {
33 33
             return $ticketCounter->getTicketType()->getIdentifier();
34 34
         });
35 35
 
36
-        $p = function (TicketCounter $ticket) use ($configuration, $identifiers) {
36
+        $p = function(TicketCounter $ticket) use ($configuration, $identifiers) {
37 37
             $metadata = $configuration->getTicketMetadata($ticket->getTicketType()->getIdentifier());
38 38
 
39 39
             foreach ($metadata->getAfterSoldOut() as $identifier) {
Please login to merge, or discard this patch.
src/Domain/Service/TicketAvailability/Filters/IsPrivate.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
28 28
     public function filter(Collection $tickets): Collection
29 29
     {
30 30
         $configuration = $this->configuration;
31
-        $p = function (TicketCounter $ticket) use ($configuration) {
31
+        $p = function(TicketCounter $ticket) use ($configuration) {
32 32
             $metadata = $configuration->getTicketMetadata($ticket->getTicketType()->getIdentifier());
33 33
             return !$metadata->isPrivateTicket();
34 34
         };
Please login to merge, or discard this patch.
src/Domain/Service/TicketAvailability/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.