Passed
Pull Request — master (#69)
by Chris
17:32 queued 08:49
created
src/Cli/Command/ReportToCsv.php 2 patches
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.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@
 block discarded – undo
45 45
     protected function execute(InputInterface $input, OutputInterface $output)
46 46
     {
47 47
         $reportName = $input->getArgument('report');
48
-        if (!$this->reportManager->has($reportName)){
48
+        if (!$this->reportManager->has($reportName)) {
49 49
             throw new \Exception('Invalid report name');
50 50
         }
51 51
 
Please login to merge, or discard this patch.
src/Domain/Service/Configuration.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -175,7 +175,7 @@
 block discarded – undo
175 175
 
176 176
         $this->avaliableTickets[$identifier] = $ticket['available'];
177 177
 
178
-        $ticket['metadata'] = ArrayUtils::merge(['private' => false], (isset($ticket['metadata'])?$ticket['metadata']:[]));
178
+        $ticket['metadata'] = ArrayUtils::merge(['private' => false], (isset($ticket['metadata']) ? $ticket['metadata'] : []));
179 179
 
180 180
         if (isset($ticket['metadata']['availableFrom']) && isset($ticket['metadata']['availableTo'])) {
181 181
             $this->ticketMetadata[$identifier] = new TicketMetadata(
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.
test/unit/Domain/Service/TicketAvailability/TicketAvailabilityTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@
 block discarded – undo
51 51
             $this->config->getAvailableTickets('free')
52 52
         );
53 53
 
54
-        $this->ticketCounters= new ArrayCollection($ticketCounters);
54
+        $this->ticketCounters = new ArrayCollection($ticketCounters);
55 55
     }
56 56
 
57 57
     public function testFetchAllAvailableTickets()
Please login to merge, or discard this patch.
test/unit/Domain/ValueObject/MoneyTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -64,7 +64,7 @@
 block discarded – undo
64 64
     {
65 65
         $sut = new Money(10, 'GBP');
66 66
         $money1 = new Money(9, 'GBP');
67
-        $money2 =  new Money(11, 'GBP');
67
+        $money2 = new Money(11, 'GBP');
68 68
 
69 69
         self::assertTrue($sut->lessThan($money2));
70 70
         self::assertFalse($sut->lessThan($money1));
Please login to merge, or discard this patch.
test/unit/Domain/ValueObject/DelegateTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -8,7 +8,7 @@  discard block
 block discarded – undo
8 8
 {
9 9
     public function testFromArray()
10 10
     {
11
-        $data['firstname']= 'Ed';
11
+        $data['firstname'] = 'Ed';
12 12
         $data['lastname'] = 'Nigma';
13 13
         $data['email'] = '[email protected]';
14 14
         $data['company'] = 'Mystery Inc.';
@@ -26,7 +26,7 @@  discard block
 block discarded – undo
26 26
 
27 27
     public function testEmpty()
28 28
     {
29
-        $data['firstname']= '';
29
+        $data['firstname'] = '';
30 30
         $data['lastname'] = '';
31 31
         $data['email'] = '';
32 32
         $data['company'] = '';
Please login to merge, or discard this patch.
test/unit/Domain/ReadModel/TicketRecord/TicketRecordTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
 
28 28
     public function testUpdateDelegate()
29 29
     {
30
-        $data['firstname']= 'Ed';
30
+        $data['firstname'] = 'Ed';
31 31
         $data['lastname'] = 'Nigma';
32 32
         $data['email'] = '[email protected]';
33 33
         $data['company'] = 'Mystery Inc.';
Please login to merge, or discard this patch.