Code Duplication    Length = 8-8 lines in 3 locations

src/Adapter/AdapterContainer.php 3 locations

@@ 89-96 (lines=8) @@
86
        $container['gnu-tar.inflator'] = null;
87
        $container['gnu-tar.deflator'] = null;
88
89
        $container['Alchemy\\Zippy\\Adapter\\GNUTar\\TarGNUTarAdapter'] = function($container) {
90
            return TarGNUTarAdapter::newInstance(
91
                $container['executable-finder'],
92
                $container['resource-manager'],
93
                $container['gnu-tar.inflator'],
94
                $container['gnu-tar.deflator']
95
            );
96
        };
97
98
        $container['Alchemy\\Zippy\\Adapter\\GNUTar\\TarGzGNUTarAdapter'] = function($container) {
99
            return TarGzGNUTarAdapter::newInstance(
@@ 98-105 (lines=8) @@
95
            );
96
        };
97
98
        $container['Alchemy\\Zippy\\Adapter\\GNUTar\\TarGzGNUTarAdapter'] = function($container) {
99
            return TarGzGNUTarAdapter::newInstance(
100
                $container['executable-finder'],
101
                $container['resource-manager'],
102
                $container['gnu-tar.inflator'],
103
                $container['gnu-tar.deflator']
104
            );
105
        };
106
107
        $container['Alchemy\\Zippy\\Adapter\\GNUTar\\TarBz2GNUTarAdapter'] = function($container) {
108
            return TarBz2GNUTarAdapter::newInstance(
@@ 107-114 (lines=8) @@
104
            );
105
        };
106
107
        $container['Alchemy\\Zippy\\Adapter\\GNUTar\\TarBz2GNUTarAdapter'] = function($container) {
108
            return TarBz2GNUTarAdapter::newInstance(
109
                $container['executable-finder'],
110
                $container['resource-manager'],
111
                $container['gnu-tar.inflator'],
112
                $container['gnu-tar.deflator']
113
            );
114
        };
115
116
        $container['bsd-tar.inflator'] = null;
117
        $container['bsd-tar.deflator'] = null;