Code Duplication    Length = 5-5 lines in 2 locations

DependencyInjection/Configuration.php 2 locations

@@ 97-101 (lines=5) @@
94
                })
95
            ->end()
96
            ->validate()
97
                ->ifTrue(function ($v) {
98
                    return isset($v['test'])
99
                        && $v['test']['client']['varnish']['enabled']
100
                        && !isset($v['proxy_client']['varnish']);
101
                })
102
                ->then(function ($v) {
103
                    if ('auto' === $v['test']['client']['varnish']['enabled']) {
104
                        $v['test']['client']['varnish']['enabled'] = false;
@@ 112-116 (lines=5) @@
109
                })
110
            ->end()
111
            ->validate()
112
                ->ifTrue(function ($v) {
113
                    if (isset($v['test'])) {
114
                        return $v['test']['client']['nginx']['enabled'] && !isset($v['proxy_client']['nginx']);
115
                    }
116
                })
117
                ->then(function ($v) {
118
                    if ('auto' === $v['test']['client']['nginx']['enabled']) {
119
                        $v['test']['client']['nginx']['enabled'] = false;