Completed
Pull Request — master (#106)
by Kristof
10:25 queued 05:00
created
src/Event/ReadModel/Relations/Doctrine/DBALRepository.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -1,7 +1,7 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * @file
4
- */
3
+     * @file
4
+     */
5 5
 
6 6
 namespace CultuurNet\UDB3\Event\ReadModel\Relations\Doctrine;
7 7
 
@@ -147,9 +147,9 @@  discard block
 block discarded – undo
147 147
     {
148 148
         $q = $this->connection->createQueryBuilder();
149 149
         $q->select('event')
150
-          ->from($this->tableName)
151
-          ->where('place = ?')
152
-          ->setParameter(0, $placeId);
150
+            ->from($this->tableName)
151
+            ->where('place = ?')
152
+            ->setParameter(0, $placeId);
153 153
 
154 154
         $results = $q->execute();
155 155
 
@@ -182,7 +182,7 @@  discard block
 block discarded – undo
182 182
 
183 183
     public function removeRelations($eventId)
184 184
     {
185
-      // @todo implement this for non-drupal.
185
+        // @todo implement this for non-drupal.
186 186
     }
187 187
 
188 188
     /**
Please login to merge, or discard this patch.
src/Event/ReadModel/Relations/Projector.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,7 +1,7 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * @file
4
- */
3
+     * @file
4
+     */
5 5
 
6 6
 namespace CultuurNet\UDB3\Event\ReadModel\Relations;
7 7
 
@@ -110,8 +110,8 @@  discard block
 block discarded – undo
110 110
     }
111 111
 
112 112
     /**
113
-    * @param EventUpdatedFromCdbXml $eventUpdatedFromCdbXml
114
-    */
113
+     * @param EventUpdatedFromCdbXml $eventUpdatedFromCdbXml
114
+     */
115 115
     protected function applyEventUpdatedFromCdbXml(EventUpdatedFromCdbXml $eventUpdatedFromCdbXml)
116 116
     {
117 117
         $eventId = $eventUpdatedFromCdbXml->getEventId();
Please login to merge, or discard this patch.
Format/HTML/Uitpas/Promotion/EventOrganizerPromotionQueryFactory.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -78,16 +78,16 @@
 block discarded – undo
78 78
             $firstTimestamp = reset($uitpasCalendar->timestamps);
79 79
             $firstTimestampDate = new \DateTime();
80 80
             $firstTimestampDate
81
-              ->setTimestamp($firstTimestamp->date)
82
-              ->setTime(0, 0, 0);
81
+                ->setTimestamp($firstTimestamp->date)
82
+                ->setTime(0, 0, 0);
83 83
             $dateRange->datefrom = $firstTimestampDate->getTimestamp();
84 84
 
85 85
             /** @var \CultureFeed_Uitpas_Calendar_Timestamp $lastTimestamp */
86 86
             $lastTimestamp =  end($uitpasCalendar->timestamps);
87 87
             $lastTimestampDate = new \DateTime();
88 88
             $lastTimestampDate
89
-              ->setTimestamp($lastTimestamp->date)
90
-              ->setTime(24, 59, 59);
89
+                ->setTimestamp($lastTimestamp->date)
90
+                ->setTime(24, 59, 59);
91 91
             $dateRange->dateto = $lastTimestampDate->getTimestamp();
92 92
         } else {
93 93
             // If there is no useful calendar info, start from the time the
Please login to merge, or discard this patch.
src/EventXmlString.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: 09/10/15
6
- * Time: 13:39
7
- */
3
+     * Created by PhpStorm.
4
+     * User: nicolas
5
+     * Date: 09/10/15
6
+     * Time: 13:39
7
+     */
8 8
 
9 9
 namespace CultuurNet\UDB3;
10 10
 
Please login to merge, or discard this patch.
src/Location.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -92,14 +92,14 @@
 block discarded – undo
92 92
     public function serialize()
93 93
     {
94 94
         return [
95
-          'cdbid' => $this->cdbid,
96
-          'name' => $this->name,
97
-          'address' => [
95
+            'cdbid' => $this->cdbid,
96
+            'name' => $this->name,
97
+            'address' => [
98 98
             'addressCountry' => $this->country,
99 99
             'addressLocality' => $this->locality,
100 100
             'postalCode' => $this->postalcode,
101 101
             'streetAddress' => $this->street,
102
-          ]
102
+            ]
103 103
         ];
104 104
     }
105 105
 
Please login to merge, or discard this patch.
src/Organizer/Events/OrganizerCreated.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -88,11 +88,11 @@
 block discarded – undo
88 88
         }
89 89
 
90 90
         return parent::serialize() + array(
91
-          'title' => (string) $this->getTitle(),
92
-          'addresses' => $addresses,
93
-          'phones' => $this->getPhones(),
94
-          'emails' => $this->getEmails(),
95
-          'urls' => $this->getUrls(),
91
+            'title' => (string) $this->getTitle(),
92
+            'addresses' => $addresses,
93
+            'phones' => $this->getPhones(),
94
+            'emails' => $this->getEmails(),
95
+            'urls' => $this->getUrls(),
96 96
         );
97 97
     }
98 98
 
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
@@ -33,7 +33,7 @@
 block discarded – undo
33 33
     public function serialize()
34 34
     {
35 35
         return array(
36
-          'organizer_id' => $this->organizerId,
36
+            'organizer_id' => $this->organizerId,
37 37
         );
38 38
     }
39 39
 
Please login to merge, or discard this patch.
src/OrganizerUpdatedTrait.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@
 block discarded – undo
33 33
     public function serialize()
34 34
     {
35 35
         return parent::serialize() + array(
36
-          'organizerId' => $this->organizerId,
36
+            'organizerId' => $this->organizerId,
37 37
         );
38 38
     }
39 39
 }
Please login to merge, or discard this patch.
src/Place/PlaceEvent.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,8 +1,8 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * @file
4
- * Contains CultuurNet\UDB3\Place\PlaceEvent.
5
- */
3
+     * @file
4
+     * Contains CultuurNet\UDB3\Place\PlaceEvent.
5
+     */
6 6
 
7 7
 namespace CultuurNet\UDB3\Place;
8 8
 
Please login to merge, or discard this patch.