Code Duplication    Length = 7-8 lines in 3 locations

src/Adapter/AdapterContainer.php 3 locations

@@ 119-126 (lines=8) @@
116
        $container['bsd-tar.inflator'] = null;
117
        $container['bsd-tar.deflator'] = null;
118
119
        $container['Alchemy\\Zippy\\Adapter\\BSDTar\\TarBSDTarAdapter'] = function($container) {
120
            return TarBSDTarAdapter::newInstance(
121
                $container['executable-finder'],
122
                $container['resource-manager'],
123
                $container['bsd-tar.inflator'],
124
                $container['bsd-tar.deflator']
125
            );
126
        };
127
128
        $container['Alchemy\\Zippy\\Adapter\\BSDTar\\TarGzBSDTarAdapter'] = function($container) {
129
            return TarGzBSDTarAdapter::newInstance(
@@ 128-135 (lines=8) @@
125
            );
126
        };
127
128
        $container['Alchemy\\Zippy\\Adapter\\BSDTar\\TarGzBSDTarAdapter'] = function($container) {
129
            return TarGzBSDTarAdapter::newInstance(
130
                $container['executable-finder'],
131
                $container['resource-manager'],
132
                $container['bsd-tar.inflator'],
133
                $container['bsd-tar.deflator']
134
            );
135
        };
136
137
        $container['Alchemy\\Zippy\\Adapter\\BSDTar\\TarBz2BSDTarAdapter'] = function($container) {
138
            return TarBz2BSDTarAdapter::newInstance(
@@ 137-143 (lines=7) @@
134
            );
135
        };
136
137
        $container['Alchemy\\Zippy\\Adapter\\BSDTar\\TarBz2BSDTarAdapter'] = function($container) {
138
            return TarBz2BSDTarAdapter::newInstance(
139
                $container['executable-finder'],
140
                $container['resource-manager'],
141
                $container['bsd-tar.inflator'],
142
                $container['bsd-tar.deflator']);
143
        };
144
145
        $container['Alchemy\\Zippy\\Adapter\\ZipExtensionAdapter'] = function() {
146
            return ZipExtensionAdapter::newInstance();