Completed
Push — master ( b22bd8...48645e )
by
unknown
07:05 queued 04:44
created
src/CalendarFactory.php 1 patch
Spacing   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -26,15 +26,15 @@  discard block
 block discarded – undo
26 26
         if ($cdbCalendar instanceof \CultureFeed_Cdb_Data_Calendar_PeriodList) {
27 27
             /** @var \CultureFeed_Cdb_Data_Calendar_Period $period */
28 28
             $period = $cdbCalendar->current();
29
-            $startDateString = $period->getDateFrom() . 'T00:00:00';
29
+            $startDateString = $period->getDateFrom().'T00:00:00';
30 30
         } elseif ($cdbCalendar instanceof \CultureFeed_Cdb_Data_Calendar_TimestampList) {
31 31
             $firstTimestamp = $cdbCalendar->current();
32 32
             $cdbCalendarAsArray = iterator_to_array($cdbCalendar);
33 33
             $timestamp = $this->getFirstTimestamp($cdbCalendarAsArray, $firstTimestamp);
34 34
             if ($timestamp->getStartTime()) {
35
-                $startDateString = $timestamp->getDate() . 'T' . substr($timestamp->getStartTime(), 0, 5) . ':00';
35
+                $startDateString = $timestamp->getDate().'T'.substr($timestamp->getStartTime(), 0, 5).':00';
36 36
             } else {
37
-                $startDateString = $timestamp->getDate() . 'T00:00:00';
37
+                $startDateString = $timestamp->getDate().'T00:00:00';
38 38
             }
39 39
         }
40 40
         $startDate = !empty($startDateString) ? DateTimeFactory::dateTimeFromDateString($startDateString) : null;
@@ -47,17 +47,17 @@  discard block
 block discarded – undo
47 47
         if ($cdbCalendar instanceof \CultureFeed_Cdb_Data_Calendar_PeriodList) {
48 48
             /** @var \CultureFeed_Cdb_Data_Calendar_Period $period */
49 49
             $period = $cdbCalendar->current();
50
-            $endDateString = $period->getDateTo() . 'T00:00:00';
50
+            $endDateString = $period->getDateTo().'T00:00:00';
51 51
         } elseif ($cdbCalendar instanceof \CultureFeed_Cdb_Data_Calendar_TimestampList) {
52 52
             $firstTimestamp = $cdbCalendar->current();
53 53
             /** @var \CultureFeed_Cdb_Data_Calendar_Timestamp $timestamp */
54 54
             $cdbCalendarAsArray = iterator_to_array($cdbCalendar);
55 55
             $timestamp = $this->getLastTimestamp($cdbCalendarAsArray, $firstTimestamp);
56 56
             if ($timestamp->getEndTime()) {
57
-                $endDateString = $timestamp->getDate() . 'T' . $timestamp->getEndTime();
57
+                $endDateString = $timestamp->getDate().'T'.$timestamp->getEndTime();
58 58
             } else {
59 59
                 $endTime = $timestamp->getStartTime() ? $timestamp->getStartTime() : '00:00:00';
60
-                $endDateString = $timestamp->getDate() . 'T' . $endTime;
60
+                $endDateString = $timestamp->getDate().'T'.$endTime;
61 61
             }
62 62
         }
63 63
         $endDate = !empty($endDateString) ? DateTimeFactory::dateTimeFromDateString($endDateString) : null;
@@ -75,12 +75,12 @@  discard block
 block discarded – undo
75 75
                 $cdbCalendar->next();
76 76
 
77 77
                 $startTime = $timestamp->getStartTime() ? $timestamp->getStartTime() : '00:00:00';
78
-                $startDateString = $timestamp->getDate() . 'T' . $startTime;
78
+                $startDateString = $timestamp->getDate().'T'.$startTime;
79 79
 
80 80
                 if ($timestamp->getEndTime()) {
81
-                    $endDateString = $timestamp->getDate() . 'T' . $timestamp->getEndTime();
81
+                    $endDateString = $timestamp->getDate().'T'.$timestamp->getEndTime();
82 82
                 } else {
83
-                    $endDateString = $timestamp->getDate() . 'T' . $startTime;
83
+                    $endDateString = $timestamp->getDate().'T'.$startTime;
84 84
                 }
85 85
 
86 86
                 $timestamp = $this->createTimestamp(
@@ -97,7 +97,7 @@  discard block
 block discarded – undo
97 97
             }
98 98
 
99 99
             $periods = array_map(
100
-                function (array $periodParts) {
100
+                function(array $periodParts) {
101 101
                     $firstPart = array_shift($periodParts);
102 102
                     $lastPart = array_pop($periodParts);
103 103
                     return new Timestamp(
Please login to merge, or discard this patch.
src/ContactPoint.php 2 patches
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -50,9 +50,9 @@
 block discarded – undo
50 50
     public function serialize(): array
51 51
     {
52 52
         return [
53
-          'phone' => $this->phones,
54
-          'email' => $this->emails,
55
-          'url' => $this->urls,
53
+            'phone' => $this->phones,
54
+            'email' => $this->emails,
55
+            'url' => $this->urls,
56 56
         ];
57 57
     }
58 58
 
Please login to merge, or discard this patch.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -75,21 +75,21 @@
 block discarded – undo
75 75
     public static function fromUdb3ModelContactPoint(Udb3ModelContactPoint $contactPoint): ContactPoint
76 76
     {
77 77
         $phones = array_map(
78
-            function (TelephoneNumber $phone) {
78
+            function(TelephoneNumber $phone) {
79 79
                 return $phone->toString();
80 80
             },
81 81
             $contactPoint->getTelephoneNumbers()->toArray()
82 82
         );
83 83
 
84 84
         $emails = array_map(
85
-            function (EmailAddress $emailAddress) {
85
+            function(EmailAddress $emailAddress) {
86 86
                 return $emailAddress->toString();
87 87
             },
88 88
             $contactPoint->getEmailAddresses()->toArray()
89 89
         );
90 90
 
91 91
         $urls = array_map(
92
-            function (Url $url) {
92
+            function(Url $url) {
93 93
                 return $url->toString();
94 94
             },
95 95
             $contactPoint->getUrls()->toArray()
Please login to merge, or discard this patch.
src/Organizer/Events/WebsiteUpdated.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
     public function serialize(): array
28 28
     {
29 29
         return parent::serialize() + [
30
-            'website' => (string) $this->getWebsite(),
30
+            'website' => (string)$this->getWebsite(),
31 31
         ];
32 32
     }
33 33
 
Please login to merge, or discard this patch.
src/Organizer/Events/OrganizerCreatedWithUniqueWebsite.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -55,8 +55,8 @@
 block discarded – undo
55 55
     {
56 56
         return parent::serialize() + [
57 57
             'main_language' => $this->getMainLanguage()->getCode(),
58
-            'website' => (string) $this->getWebsite(),
59
-            'title' => (string) $this->getTitle(),
58
+            'website' => (string)$this->getWebsite(),
59
+            'title' => (string)$this->getTitle(),
60 60
         ];
61 61
     }
62 62
 
Please login to merge, or discard this patch.
src/Organizer/Events/OrganizerEvent.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
24 24
     public function serialize(): array
25 25
     {
26 26
         return [
27
-          'organizer_id' => $this->organizerId,
27
+            'organizer_id' => $this->organizerId,
28 28
         ];
29 29
     }
30 30
 }
Please login to merge, or discard this patch.
src/Organizer/Events/AbstractLabelEvent.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@
 block discarded – undo
44 44
     public function serialize(): array
45 45
     {
46 46
         return parent::serialize() + [
47
-            'label' => (string) $this->label,
47
+            'label' => (string)$this->label,
48 48
             'visibility' => $this->label->isVisible(),
49 49
         ];
50 50
     }
Please login to merge, or discard this patch.
src/Address/Address.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -65,10 +65,10 @@
 block discarded – undo
65 65
     public function serialize(): array
66 66
     {
67 67
         return [
68
-          'streetAddress' => $this->streetAddress->toNative(),
69
-          'postalCode' => $this->postalCode->toNative(),
70
-          'addressLocality' => $this->locality->toNative(),
71
-          'addressCountry' => $this->countryCode,
68
+            'streetAddress' => $this->streetAddress->toNative(),
69
+            'postalCode' => $this->postalCode->toNative(),
70
+            'addressLocality' => $this->locality->toNative(),
71
+            'addressCountry' => $this->countryCode,
72 72
         ];
73 73
     }
74 74
 
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
@@ -56,9 +56,9 @@
 block discarded – undo
56 56
     public function serialize(): array
57 57
     {
58 58
         return [
59
-          'id' => $this->id,
60
-          'label' => $this->label,
61
-          'domain' => $this->domain,
59
+            'id' => $this->id,
60
+            'label' => $this->label,
61
+            'domain' => $this->domain,
62 62
         ];
63 63
     }
64 64
 
Please login to merge, or discard this patch.
src/Offer/Events/AbstractTitleUpdated.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
25 25
     public function serialize(): array
26 26
     {
27 27
         return parent::serialize() + array(
28
-            'title' => (string) $this->title,
28
+            'title' => (string)$this->title,
29 29
         );
30 30
     }
31 31
 
Please login to merge, or discard this patch.