Code Duplication    Length = 1-1 lines in 2 locations

DependencyInjection/Configuration.php 2 locations

@@ 494-494 (lines=1) @@
491
492
        $node
493
            ->validate()
494
                ->ifTrue(function ($v) { return isset($v['driver']) && 'propel' === $v['driver'] && isset($v['listener']); })
495
                    ->thenInvalid('Propel doesn\'t support listeners')
496
                ->ifTrue(function ($v) { return isset($v['driver']) && 'propel' === $v['driver'] && isset($v['repository']); })
497
                    ->thenInvalid('Propel doesn\'t support the "repository" parameter')
@@ 496-496 (lines=1) @@
493
            ->validate()
494
                ->ifTrue(function ($v) { return isset($v['driver']) && 'propel' === $v['driver'] && isset($v['listener']); })
495
                    ->thenInvalid('Propel doesn\'t support listeners')
496
                ->ifTrue(function ($v) { return isset($v['driver']) && 'propel' === $v['driver'] && isset($v['repository']); })
497
                    ->thenInvalid('Propel doesn\'t support the "repository" parameter')
498
            ->end()
499
            ->children()