Completed
Pull Request — master (#264)
by Kristof
04:49
created
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/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/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.
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/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/SluggerInterface.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -13,11 +13,11 @@
 block discarded – undo
13 13
 interface SluggerInterface
14 14
 {
15 15
     /**
16
-    * Returns the slug for a given string
17
-    *
18
-    * @param string $string
19
-    *
20
-    * @return string
21
-    **/
16
+     * Returns the slug for a given string
17
+     *
18
+     * @param string $string
19
+     *
20
+     * @return string
21
+     **/
22 22
     public function slug($string);
23 23
 }
Please login to merge, or discard this patch.
src/Event/ReadModel/JSONLD/Specifications/Labelable.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -2,8 +2,6 @@
 block discarded – undo
2 2
 
3 3
 namespace CultuurNet\UDB3\Event\ReadModel\JSONLD\Specifications;
4 4
 
5
-use ValueObjects\String\String;
6
-
7 5
 trait Labelable
8 6
 {
9 7
 
Please login to merge, or discard this patch.
src/Variations/Command/EditDescriptionJSONDeserializer.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,6 @@
 block discarded – undo
9 9
 use CultuurNet\UDB3\Variations\Model\Properties\Description;
10 10
 use CultuurNet\UDB3\Variations\Model\Properties\Id;
11 11
 use JsonSchema\Validator;
12
-use ValueObjects\String\String;
13 12
 use stdClass;
14 13
 
15 14
 class EditDescriptionJSONDeserializer extends JSONDeserializer
Please login to merge, or discard this patch.