Completed
Push — master ( bfece9...22f2d6 )
by Kristof
28:03 queued 20:52
created
src/Offer/Events/AbstractLabelEvent.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@
 block discarded – undo
32 32
     public function serialize()
33 33
     {
34 34
         return parent::serialize() + array(
35
-            'label' => (string) $this->label,
35
+            'label' => (string)$this->label,
36 36
         );
37 37
     }
38 38
 
Please login to merge, or discard this patch.
src/Offer/ReadModel/JSONLD/OfferLDProjector.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -129,7 +129,7 @@  discard block
 block discarded – undo
129 129
         $eventLd = $document->getBody();
130 130
 
131 131
         $labels = isset($eventLd->labels) ? $eventLd->labels : [];
132
-        $label = (string) $labelAdded->getLabel();
132
+        $label = (string)$labelAdded->getLabel();
133 133
 
134 134
         $labels[] = $label;
135 135
         $eventLd->labels = array_unique($labels);
@@ -149,7 +149,7 @@  discard block
 block discarded – undo
149 149
         if (is_array($eventLd->labels)) {
150 150
             $eventLd->labels = array_filter(
151 151
                 $eventLd->labels,
152
-                function ($label) use ($deleteLabel) {
152
+                function($label) use ($deleteLabel) {
153 153
                     return !$deleteLabel->getLabel()->equals(
154 154
                         new Label($label)
155 155
                     );
Please login to merge, or discard this patch.
src/Place/DefaultPlaceEditingService.php 1 patch
Unused Use Statements   -4 removed lines patch added patch discarded remove patch
@@ -2,15 +2,11 @@
 block discarded – undo
2 2
 
3 3
 namespace CultuurNet\UDB3\Place;
4 4
 
5
-use Broadway\Repository\AggregateNotFoundException;
6 5
 use CultuurNet\UDB3\Address;
7 6
 use CultuurNet\UDB3\CalendarInterface;
8 7
 use CultuurNet\UDB3\Event\EventType;
9
-use CultuurNet\UDB3\Label;
10 8
 use CultuurNet\UDB3\Offer\DefaultOfferEditingService;
11 9
 use CultuurNet\UDB3\OfferEditingInterface;
12
-use CultuurNet\UDB3\Place\Commands\AddLabel;
13
-use CultuurNet\UDB3\Place\Commands\DeleteLabel;
14 10
 use CultuurNet\UDB3\Place\Commands\DeletePlace;
15 11
 use CultuurNet\UDB3\Place\Commands\UpdateFacilities;
16 12
 use CultuurNet\UDB3\Place\Commands\UpdateMajorInfo;
Please login to merge, or discard this patch.
src/Offer/SecurityInterface.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,7 +1,7 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * @file
4
- */
3
+     * @file
4
+     */
5 5
 
6 6
 namespace CultuurNet\UDB3\Variations;
7 7
 
Please login to merge, or discard this patch.
src/Offer/ReadModel/Permission/Doctrine/DBALRepository.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,6 @@
 block discarded – undo
11 11
 use CultuurNet\UDB3\Event\ReadModel\Permission\PermissionQueryInterface;
12 12
 use Doctrine\DBAL\Connection;
13 13
 use Doctrine\DBAL\Exception\UniqueConstraintViolationException;
14
-use Doctrine\DBAL\Schema\Schema;
15 14
 use CultuurNet\UDB3\Event\ReadModel\Permission\PermissionRepositoryInterface;
16 15
 use ValueObjects\String\String;
17 16
 
Please login to merge, or discard this 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: jonas
5
- * Date: 27.10.15
6
- * Time: 14:04
7
- */
3
+     * Created by PhpStorm.
4
+     * User: jonas
5
+     * Date: 27.10.15
6
+     * Time: 14:04
7
+     */
8 8
 
9 9
 namespace CultuurNet\UDB3\Event\ReadModel\Permission\Doctrine;
10 10
 
Please login to merge, or discard this patch.
src/Offer/ReadModel/Permission/Doctrine/SchemaConfigurator.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,7 +1,7 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * @file
4
- */
3
+     * @file
4
+     */
5 5
 
6 6
 namespace CultuurNet\UDB3\Variations;
7 7
 
Please login to merge, or discard this patch.
src/Offer/Security.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,7 +1,7 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * @file
4
- */
3
+     * @file
4
+     */
5 5
 
6 6
 namespace CultuurNet\UDB3\Variations;
7 7
 
Please login to merge, or discard this patch.
src/Offer/Events/AbstractDescriptionTranslated.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
24 24
     }
25 25
 
26 26
     /**
27
-     * @return String
27
+     * @return string
28 28
      */
29 29
     public function getDescription()
30 30
     {
Please login to merge, or discard this patch.
src/Place/CommandHandler.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,6 @@
 block discarded – undo
6 6
 use CultuurNet\UDB3\Place\Commands\AddImage;
7 7
 use CultuurNet\UDB3\Place\Commands\RemoveImage;
8 8
 use CultuurNet\UDB3\Place\Commands\AddLabel;
9
-use CultuurNet\UDB3\Place\Commands\DeleteImage;
10 9
 use CultuurNet\UDB3\Place\Commands\DeleteLabel;
11 10
 use CultuurNet\UDB3\Place\Commands\DeleteOrganizer;
12 11
 use CultuurNet\UDB3\Place\Commands\DeletePlace;
Please login to merge, or discard this patch.