Code Duplication    Length = 16-16 lines in 2 locations

codeception/acceptance/EA10PluginCest.php 2 locations

@@ 785-800 (lines=16) @@
782
    }
783
}
784
785
class Horizon_Local extends Local_Plugin
786
{
787
    public function __construct(AcceptanceTester $I)
788
    {
789
        parent::__construct($I, 'Horizon');
790
        $this->tables[] = 'dtb_dash';
791
        $this->columns[] = 'dtb_cart.is_horizon';
792
        $this->columns[] = 'dtb_cart.dash_id';
793
        $this->traits['\Plugin\Horizon\Entity\CartTrait'] = 'src/Eccube/Entity/Cart';
794
    }
795
796
    public static function start(AcceptanceTester $I)
797
    {
798
        return new self($I);
799
    }
800
}
801
802
class Horizon_Store extends Store_Plugin
803
{
@@ 886-901 (lines=16) @@
883
    }
884
}
885
886
class Boomerang_Store extends Store_Plugin
887
{
888
    public function __construct(AcceptanceTester $I)
889
    {
890
        parent::__construct($I, 'Boomerang');
891
        $this->tables[] = 'dtb_bar';
892
        $this->columns[] = 'dtb_cart.is_boomerang';
893
        $this->columns[] = 'dtb_cart.bar_id';
894
        $this->traits['\Plugin\Boomerang\Entity\CartTrait'] = 'src/Eccube/Entity/Cart';
895
    }
896
897
    public static function start(AcceptanceTester $I)
898
    {
899
        return new self($I);
900
    }
901
}
902
903
class Boomerang_Local extends Local_Plugin
904
{