Code Duplication    Length = 5-5 lines in 2 locations

DependencyInjection/Configuration.php 2 locations

@@ 93-97 (lines=5) @@
90
                })
91
            ->end()
92
            ->validate()
93
                ->ifTrue(function ($v) {
94
                    return isset($v['test'])
95
                        && $v['test']['client']['varnish']['enabled']
96
                        && !isset($v['proxy_client']['varnish']);
97
                    })
98
                ->then(function ($v) {
99
                    if ('auto' === $v['test']['client']['varnish']['enabled']) {
100
                        $v['test']['client']['varnish']['enabled'] = false;
@@ 108-112 (lines=5) @@
105
                })
106
            ->end()
107
            ->validate()
108
                ->ifTrue(function ($v) {
109
                    if (isset($v['test'])) {
110
                        return $v['test']['client']['nginx']['enabled'] && !isset($v['proxy_client']['nginx']);
111
                    }
112
                })
113
                ->then(function ($v) {
114
                    if ('auto' === $v['test']['client']['nginx']['enabled']) {
115
                        $v['test']['client']['nginx']['enabled'] = false;