Completed
Push — master ( d17cb7...e5161e )
by Luc
09:26 queued 03:02
created
src/Place/GeoCoordinatesProcessManager.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -129,7 +129,7 @@
 block discarded – undo
129 129
 
130 130
         // Get all physical locations from the list of addresses.
131 131
         $addresses = array_map(
132
-            function (CultureFeed_Cdb_Data_Address $address) {
132
+            function(CultureFeed_Cdb_Data_Address $address) {
133 133
                 return $address->getPhysicalAddress();
134 134
             },
135 135
             $contactInfo->getAddresses()
Please login to merge, or discard this patch.
src/Place/ReadModel/JSONLD/PlaceLDProjector.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -184,7 +184,7 @@  discard block
 block discarded – undo
184 184
         $jsonLD->address = $placeCreated->getAddress()->toJsonLd();
185 185
 
186 186
         $calendarJsonLD = $placeCreated->getCalendar()->toJsonLd();
187
-        $jsonLD = (object) array_merge((array) $jsonLD, $calendarJsonLD);
187
+        $jsonLD = (object)array_merge((array)$jsonLD, $calendarJsonLD);
188 188
 
189 189
         $availableTo = AvailableTo::createFromCalendar($placeCreated->getCalendar());
190 190
         $jsonLD->availableTo = (string)$availableTo;
@@ -246,8 +246,8 @@  discard block
 block discarded – undo
246 246
         $jsonLD->availableTo = (string)$availableTo;
247 247
 
248 248
         // Remove old theme and event type.
249
-        $jsonLD->terms = array_filter($jsonLD->terms, function ($term) {
250
-            return $term->domain !== EventType::DOMAIN &&  $term->domain !== Theme::DOMAIN;
249
+        $jsonLD->terms = array_filter($jsonLD->terms, function($term) {
250
+            return $term->domain !== EventType::DOMAIN && $term->domain !== Theme::DOMAIN;
251 251
         });
252 252
 
253 253
         $eventType = $majorInfoUpdated->getEventType();
@@ -279,7 +279,7 @@  discard block
 block discarded – undo
279 279
         // Remove all old facilities + get numeric keys.
280 280
         $terms = array_values(array_filter(
281 281
             $terms,
282
-            function ($term) {
282
+            function($term) {
283 283
                 return $term->domain !== Facility::DOMAIN;
284 284
             }
285 285
         ));
@@ -303,7 +303,7 @@  discard block
 block discarded – undo
303 303
 
304 304
         $placeLd = $document->getBody();
305 305
 
306
-        $placeLd->geo = (object) [
306
+        $placeLd->geo = (object)[
307 307
             'latitude' => $geoCoordinatesUpdated->getCoordinates()->getLatitude()->toDouble(),
308 308
             'longitude' => $geoCoordinatesUpdated->getCoordinates()->getLongitude()->toDouble(),
309 309
         ];
Please login to merge, or discard this patch.
src/Address/CultureFeedAddressFactory.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -28,12 +28,12 @@
 block discarded – undo
28 28
 
29 29
         if (count($missingFields) > 0) {
30 30
             $keys = implode(', ', $missingFields);
31
-            throw new \InvalidArgumentException('The given cdbxml address is missing a ' . $keys);
31
+            throw new \InvalidArgumentException('The given cdbxml address is missing a '.$keys);
32 32
         }
33 33
 
34 34
 
35 35
         return new Address(
36
-            new Street($cdbAddress->getStreet() . ' ' . $cdbAddress->getHouseNumber()),
36
+            new Street($cdbAddress->getStreet().' '.$cdbAddress->getHouseNumber()),
37 37
             new PostalCode($cdbAddress->getZip()),
38 38
             new Locality($cdbAddress->getCity()),
39 39
             Country::fromNative($cdbAddress->getCountry())
Please login to merge, or discard this patch.