Code Duplication    Length = 8-8 lines in 2 locations

src/Behat/MinkExtension/ServiceContainer/Driver/GoutteFactory.php 2 locations

@@ 89-96 (lines=8) @@
86
        ));
87
    }
88
89
    private function buildGuzzle6Client(array $parameters)
90
    {
91
        // Force the parameters set by default in Goutte to reproduce its behavior
92
        $parameters['allow_redirects'] = false;
93
        $parameters['cookies'] = true;
94
95
        return new Definition('GuzzleHttp\Client', array($parameters));
96
    }
97
98
    private function buildGuzzle4Client(array $parameters)
99
    {
@@ 98-105 (lines=8) @@
95
        return new Definition('GuzzleHttp\Client', array($parameters));
96
    }
97
98
    private function buildGuzzle4Client(array $parameters)
99
    {
100
        // Force the parameters set by default in Goutte to reproduce its behavior
101
        $parameters['allow_redirects'] = false;
102
        $parameters['cookies'] = true;
103
104
        return new Definition('GuzzleHttp\Client', array(array('defaults' => $parameters)));
105
    }
106
107
    private function buildGuzzle3Client(array $parameters)
108
    {