Code Duplication    Length = 16-16 lines in 2 locations

src/Webcreate/Conveyor/Subscriber/VcsSubscriber.php 2 locations

@@ 38-53 (lines=16) @@
35
        );
36
    }
37
38
    public function onVcsPreCheckout(VcsEvent $event)
39
    {
40
        if (false === $this->io->isVerbose()) return;
41
42
        /** @var CheckoutEventData $data */
43
        $data = $event->getData();
44
45
        $this->io->write(
46
            sprintf(
47
                'Checking out <comment>%s</comment> to <comment>%s</comment>...'
48
                ,
49
                $data->getHead()->getName(),
50
                $data->getDestination()
51
            )
52
        );
53
    }
54
55
    public function onVcsPreExport(VcsEvent $event)
56
    {
@@ 55-70 (lines=16) @@
52
        );
53
    }
54
55
    public function onVcsPreExport(VcsEvent $event)
56
    {
57
        if (false === $this->io->isVerbose()) return;
58
59
        /** @var ExportEventData $data */
60
        $data = $event->getData();
61
62
        $this->io->write(
63
            sprintf(
64
                'Exporting <comment>%s</comment> to <comment>%s</comment>...'
65
                ,
66
                $data->getHead()->getName(),
67
                $data->getDestination()
68
            )
69
        );
70
    }
71
}
72