Completed
Pull Request — master (#239)
by Luc
04:41
created
src/Event/ExternalEventService.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -4,11 +4,9 @@
 block discarded – undo
4 4
 
5 5
 use Exception;
6 6
 use GuzzleHttp\Psr7\Request;
7
-use GuzzleHttp\Psr7\Response;
8 7
 use GuzzleHttp\Psr7\Uri;
9 8
 use Http\Client\Exception as HttpException;
10 9
 use Http\Client\HttpClient;
11
-use Psr\Http\Message\UriInterface;
12 10
 
13 11
 class ExternalEventService implements EventServiceInterface
14 12
 {
Please login to merge, or discard this patch.
src/Variations/VariationDecoratedEventService.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\Url;
10 10
 use CultuurNet\UDB3\Variations\ReadModel\Search\Criteria;
11 11
 use CultuurNet\UDB3\Variations\ReadModel\Search\RepositoryInterface;
12
-use Doctrine\Instantiator\Exception\InvalidArgumentException;
13 12
 use ValueObjects\Exception\InvalidNativeArgumentException;
14 13
 
15 14
 class VariationDecoratedEventService implements EventServiceInterface
Please login to merge, or discard this patch.
src/Event/EventCommandHandler.php 1 patch
Unused Use Statements   -6 removed lines patch added patch discarded remove patch
@@ -3,8 +3,6 @@  discard block
 block discarded – undo
3 3
 
4 4
 namespace CultuurNet\UDB3\Event;
5 5
 
6
-use Broadway\Repository\RepositoryInterface;
7
-use CultuurNet\UDB3\CommandHandling\Udb3CommandHandler;
8 6
 use CultuurNet\UDB3\Event\Commands\AddImage;
9 7
 use CultuurNet\UDB3\Event\Commands\AddLabel;
10 8
 use CultuurNet\UDB3\Event\Commands\DeleteEvent;
@@ -12,8 +10,6 @@  discard block
 block discarded – undo
12 10
 use CultuurNet\UDB3\Event\Commands\RemoveImage;
13 11
 use CultuurNet\UDB3\Event\Commands\DeleteOrganizer;
14 12
 use CultuurNet\UDB3\Event\Commands\DeleteTypicalAgeRange;
15
-use CultuurNet\UDB3\Event\Commands\LabelEvents;
16
-use CultuurNet\UDB3\Event\Commands\LabelQuery;
17 13
 use CultuurNet\UDB3\Event\Commands\SelectMainImage;
18 14
 use CultuurNet\UDB3\Event\Commands\TranslateDescription;
19 15
 use CultuurNet\UDB3\Event\Commands\TranslateTitle;
@@ -24,8 +20,6 @@  discard block
 block discarded – undo
24 20
 use CultuurNet\UDB3\Event\Commands\UpdateMajorInfo;
25 21
 use CultuurNet\UDB3\Event\Commands\UpdateOrganizer;
26 22
 use CultuurNet\UDB3\Event\Commands\UpdateTypicalAgeRange;
27
-use CultuurNet\UDB3\Event\Events\MainImageSelected;
28
-use CultuurNet\UDB3\Label as Label;
29 23
 use CultuurNet\UDB3\Offer\OfferCommandHandler;
30 24
 use Psr\Log\LoggerAwareInterface;
31 25
 use Psr\Log\LoggerAwareTrait;
Please login to merge, or discard this patch.
src/Role/Commands/RenameRole.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 namespace CultuurNet\UDB3\Role\Commands;
4 4
 
5 5
 use ValueObjects\Identity\UUID;
6
-use ValueObjects\String\String as stringLiteral;
7 6
 
8 7
 class RenameRole extends AbstractCommand
9 8
 {
Please login to merge, or discard this patch.
src/Role/Events/AbstractConstraintEvent.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 namespace CultuurNet\UDB3\Role\Commands;
4 4
 
5 5
 use ValueObjects\Identity\UUID;
6
-use ValueObjects\String\String as stringLiteral;
7 6
 
8 7
 class RenameRole extends AbstractCommand
9 8
 {
Please login to merge, or discard this patch.
src/Media/ImageUploaderService.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,6 @@
 block discarded – undo
4 4
 
5 5
 use Broadway\CommandHandling\CommandBusInterface;
6 6
 use Broadway\UuidGenerator\UuidGeneratorInterface;
7
-use CultuurNet\Entry\Number;
8 7
 use CultuurNet\UDB3\Media\Commands\UploadImage;
9 8
 use CultuurNet\UDB3\Media\Properties\MIMEType;
10 9
 use League\Flysystem\FilesystemInterface;
Please login to merge, or discard this patch.
src/Label/ReadModels/JSON/OfferLabelProjector.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -7,7 +7,6 @@
 block discarded – undo
7 7
 use Broadway\EventHandling\EventListenerInterface;
8 8
 use CultuurNet\UDB3\Event\ReadModel\DocumentGoneException;
9 9
 use CultuurNet\UDB3\Event\ReadModel\DocumentRepositoryInterface;
10
-use CultuurNet\UDB3\EventHandling\DelegateEventHandlingToSpecificMethodTrait;
11 10
 use CultuurNet\UDB3\Label\Events\MadeInvisible;
12 11
 use CultuurNet\UDB3\Label\Events\MadeVisible;
13 12
 use CultuurNet\UDB3\Label\LabelDomainMessageEnricher;
Please login to merge, or discard this patch.
src/Timestamp.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,6 @@
 block discarded – undo
5 5
 use Broadway\Serializer\SerializableInterface;
6 6
 use DateTime;
7 7
 use DateTimeInterface;
8
-use ValueObjects\DateTime\Date;
9 8
 
10 9
 /**
11 10
  * Provices a class for a timestamp.
Please login to merge, or discard this patch.
src/ReadModel/Index/Projector.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,6 @@
 block discarded – undo
15 15
 use CultuurNet\UDB3\EventHandling\DelegateEventHandlingToSpecificMethodTrait;
16 16
 use CultuurNet\UDB3\Offer\Events\AbstractEventWithIri;
17 17
 use CultuurNet\UDB3\Offer\IriOfferIdentifierFactoryInterface;
18
-use CultuurNet\UDB3\Organizer\Events\OrganizerDeleted;
19 18
 use CultuurNet\UDB3\Place\Events\PlaceCreated;
20 19
 use CultuurNet\UDB3\Place\Events\PlaceDeleted;
21 20
 use CultuurNet\UDB3\Place\Events\PlaceImportedFromUDB2;
Please login to merge, or discard this patch.