Completed
Pull Request — master (#139)
by
unknown
05:01
created
src/Place/Events/MajorInfoUpdated.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,6 @@
 block discarded – undo
10 10
 use CultuurNet\UDB3\Calendar;
11 11
 use CultuurNet\UDB3\CalendarInterface;
12 12
 use CultuurNet\UDB3\Event\EventType;
13
-use CultuurNet\UDB3\Location;
14 13
 use CultuurNet\UDB3\Place\PlaceEvent;
15 14
 use CultuurNet\UDB3\Theme;
16 15
 use CultuurNet\UDB3\Title;
Please login to merge, or discard this patch.
src/Place/ReadModel/JSONLD/EventFactory.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,6 @@
 block discarded – undo
6 6
 namespace CultuurNet\UDB3\Place\ReadModel\JSONLD;
7 7
 
8 8
 use CultuurNet\UDB3\Event\ReadModel\DocumentEventFactory;
9
-use CultuurNet\UDB3\Place\PlaceEvent;
10 9
 use CultuurNet\UDB3\Place\PlaceProjectedToJSONLD;
11 10
 
12 11
 class EventFactory implements DocumentEventFactory
Please login to merge, or discard this patch.
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,7 +1,7 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * @file
4
- */
3
+     * @file
4
+     */
5 5
 
6 6
 namespace CultuurNet\UDB3\Variations;
7 7
 
Please login to merge, or discard this patch.
src/Udb3RepositoryTrait.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -7,7 +7,6 @@
 block discarded – undo
7 7
 
8 8
 namespace CultuurNet\UDB3;
9 9
 
10
-use Assert\Assertion;
11 10
 use Broadway\Domain\AggregateRoot;
12 11
 use Broadway\Domain\DomainEventStream;
13 12
 
Please login to merge, or discard this patch.
src/Address.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -70,10 +70,10 @@
 block discarded – undo
70 70
     public function serialize()
71 71
     {
72 72
         return [
73
-          'streetAddress' => $this->streetAddress,
74
-          'postalCode' => $this->postalCode,
75
-          'locality' => $this->locality,
76
-          'country' => $this->country,
73
+            'streetAddress' => $this->streetAddress,
74
+            'postalCode' => $this->postalCode,
75
+            'locality' => $this->locality,
76
+            'country' => $this->country,
77 77
         ];
78 78
     }
79 79
 
Please login to merge, or discard this patch.
src/BookingInfo.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -132,14 +132,14 @@
 block discarded – undo
132 132
     public function serialize()
133 133
     {
134 134
         return [
135
-          'phone' => $this->phone,
136
-          'email' => $this->email,
137
-          'url' => $this->url,
138
-          'urlLabel' => $this->urlLabel,
139
-          'name' => $this->name,
140
-          'description' => $this->description,
141
-          'availabilityStarts' => $this->availabilityStarts,
142
-          'availabilityEnds' => $this->availabilityEnds
135
+            'phone' => $this->phone,
136
+            'email' => $this->email,
137
+            'url' => $this->url,
138
+            'urlLabel' => $this->urlLabel,
139
+            'name' => $this->name,
140
+            'description' => $this->description,
141
+            'availabilityStarts' => $this->availabilityStarts,
142
+            'availabilityEnds' => $this->availabilityEnds
143 143
         ];
144 144
     }
145 145
 
Please login to merge, or discard this patch.
src/Calendar.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -81,11 +81,11 @@  discard block
 block discarded – undo
81 81
     public function serialize()
82 82
     {
83 83
         return [
84
-          'type' => $this->getType(),
85
-          'startDate' => $this->startDate,
86
-          'endDate' => $this->endDate,
87
-          'timestamps' => $this->timestamps,
88
-          'openingHours' => $this->openingHours,
84
+            'type' => $this->getType(),
85
+            'startDate' => $this->startDate,
86
+            'endDate' => $this->endDate,
87
+            'timestamps' => $this->timestamps,
88
+            'openingHours' => $this->openingHours,
89 89
         ];
90 90
     }
91 91
 
@@ -161,9 +161,9 @@  discard block
 block discarded – undo
161 161
             $jsonLd['subEvent'] = array();
162 162
             foreach ($timestamps as $timestamp) {
163 163
                 $jsonLd['subEvent'][] = array(
164
-                  '@type' => 'Event',
165
-                  'startDate' => $timestamp->getStartDate(),
166
-                  'endDate' => $timestamp->getEndDate(),
164
+                    '@type' => 'Event',
165
+                    'startDate' => $timestamp->getStartDate(),
166
+                    'endDate' => $timestamp->getEndDate(),
167 167
                 );
168 168
             }
169 169
         }
Please login to merge, or discard this patch.
src/Category.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -70,9 +70,9 @@
 block discarded – undo
70 70
     public function serialize()
71 71
     {
72 72
         return [
73
-          'id' => $this->id,
74
-          'label' => $this->label,
75
-          'domain' => $this->domain,
73
+            'id' => $this->id,
74
+            'label' => $this->label,
75
+            'domain' => $this->domain,
76 76
         ];
77 77
     }
78 78
 
Please login to merge, or discard this patch.
src/ContactPoint.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -72,10 +72,10 @@
 block discarded – undo
72 72
     public function serialize()
73 73
     {
74 74
         return [
75
-          'phone' => $this->phones,
76
-          'email' => $this->emails,
77
-          'url' => $this->urls,
78
-          'type' => $this->type,
75
+            'phone' => $this->phones,
76
+            'email' => $this->emails,
77
+            'url' => $this->urls,
78
+            'type' => $this->type,
79 79
         ];
80 80
     }
81 81
 
Please login to merge, or discard this patch.
src/Event/Events/LabelsMerged.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -1,10 +1,10 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Created by PhpStorm.
4
- * User: nicolas
5
- * Date: 27/10/15
6
- * Time: 12:28
7
- */
3
+     * Created by PhpStorm.
4
+     * User: nicolas
5
+     * Date: 27/10/15
6
+     * Time: 12:28
7
+     */
8 8
 
9 9
 namespace CultuurNet\UDB3\Event\Events;
10 10
 
Please login to merge, or discard this patch.