Code Duplication    Length = 2-2 lines in 5 locations

DependencyInjection/AzineSocialBarExtension.php 5 locations

@@ 32-33 (lines=2) @@
29
        $configuration = new Configuration();
30
        $config = $this->processConfiguration($configuration, $configs);
31
32
        if(array_key_exists(self::FB_PROFILE, $config))
33
            $container->setParameter(self::PREFIX.self::FB_PROFILE, $config[self::FB_PROFILE]);
34
35
        if(array_key_exists(self::XING_PROFILE, $config))
36
            $container->setParameter(self::PREFIX.self::XING_PROFILE, $config[self::XING_PROFILE]);
@@ 35-36 (lines=2) @@
32
        if(array_key_exists(self::FB_PROFILE, $config))
33
            $container->setParameter(self::PREFIX.self::FB_PROFILE, $config[self::FB_PROFILE]);
34
35
        if(array_key_exists(self::XING_PROFILE, $config))
36
            $container->setParameter(self::PREFIX.self::XING_PROFILE, $config[self::XING_PROFILE]);
37
38
        if(array_key_exists(self::LINKED_IN_PROFILE, $config))
39
            $container->setParameter(self::PREFIX.self::LINKED_IN_PROFILE, $config[self::LINKED_IN_PROFILE]);
@@ 38-39 (lines=2) @@
35
        if(array_key_exists(self::XING_PROFILE, $config))
36
            $container->setParameter(self::PREFIX.self::XING_PROFILE, $config[self::XING_PROFILE]);
37
38
        if(array_key_exists(self::LINKED_IN_PROFILE, $config))
39
            $container->setParameter(self::PREFIX.self::LINKED_IN_PROFILE, $config[self::LINKED_IN_PROFILE]);
40
41
        if(array_key_exists(self::GOOGLE_PLUS_PROFILE, $config))
42
            $container->setParameter(self::PREFIX.self::GOOGLE_PLUS_PROFILE, $config[self::GOOGLE_PLUS_PROFILE]);
@@ 41-42 (lines=2) @@
38
        if(array_key_exists(self::LINKED_IN_PROFILE, $config))
39
            $container->setParameter(self::PREFIX.self::LINKED_IN_PROFILE, $config[self::LINKED_IN_PROFILE]);
40
41
        if(array_key_exists(self::GOOGLE_PLUS_PROFILE, $config))
42
            $container->setParameter(self::PREFIX.self::GOOGLE_PLUS_PROFILE, $config[self::GOOGLE_PLUS_PROFILE]);
43
44
        if(array_key_exists(self::TWITTER_PROFILE, $config))
45
            $container->setParameter(self::PREFIX.self::TWITTER_PROFILE, $config[self::TWITTER_PROFILE]);
@@ 44-45 (lines=2) @@
41
        if(array_key_exists(self::GOOGLE_PLUS_PROFILE, $config))
42
            $container->setParameter(self::PREFIX.self::GOOGLE_PLUS_PROFILE, $config[self::GOOGLE_PLUS_PROFILE]);
43
44
        if(array_key_exists(self::TWITTER_PROFILE, $config))
45
            $container->setParameter(self::PREFIX.self::TWITTER_PROFILE, $config[self::TWITTER_PROFILE]);
46
47
        $loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config'));
48
        $loader->load('services.yml');