Completed
Push — master ( d89681...8e123d )
by Andreas
20s
created
src/Parser/ConfsTech/CategoryParser.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
             $cat = json_decode(base64_decode($cat['content']), true);
45 45
         }
46 46
         foreach ($cat as $conference) {
47
-            if (! isset($conference['cfpEndDate'])) {
47
+            if (!isset($conference['cfpEndDate'])) {
48 48
                 continue;
49 49
             }
50 50
             try {
Please login to merge, or discard this patch.
src/Parser/ConfsTech/ConferenceParser.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@  discard block
 block discarded – undo
35 35
         $cfp->location = $conference['city'];
36 36
 
37 37
         $geolocation = $this->geolocation->getLocationForAddress(
38
-            $conference['country'] . ', ' . $cfp->location
38
+            $conference['country'].', '.$cfp->location
39 39
         );
40 40
 
41 41
         $cfp->latitude = $geolocation->getLatitude();
@@ -48,19 +48,19 @@  discard block
 block discarded – undo
48 48
 
49 49
         $cfp->conferenceName = $conference['name'];
50 50
         $cfp->eventStartDate = new DateTimeImmutable(
51
-            $conference['startDate'] . ' 08:00:00',
51
+            $conference['startDate'].' 08:00:00',
52 52
             new DateTimeZone($cfp->timezone)
53 53
         );
54
-        if (! isset($conference['endDate'])) {
54
+        if (!isset($conference['endDate'])) {
55 55
             $conference['endDate'] = $conference['startDate'];
56 56
         }
57 57
         $cfp->eventEndDate = new DateTimeImmutable(
58
-            $conference['endDate'] . ' 17:00:00',
58
+            $conference['endDate'].' 17:00:00',
59 59
             new DateTimeZone($cfp->timezone)
60 60
         );
61 61
 
62 62
         $cfp->dateEnd = new DateTimeImmutable(
63
-            $conference['cfpEndDate'] . ' 23:59:59',
63
+            $conference['cfpEndDate'].' 23:59:59',
64 64
             new DateTimeZone($cfp->timezone)
65 65
         );
66 66
 
Please login to merge, or discard this patch.