Code Duplication    Length = 4-4 lines in 2 locations

src/RunOpenCode/Bundle/DoctrineNamingStrategy/NamingStrategy/UnderscoredBundleNamePrefix.php 2 locations

@@ 150-153 (lines=4) @@
147
            $bundleNamespace = (new \ReflectionClass(get_class($bundle)))->getNamespaceName();
148
            $bundleName = $bundle->getName();
149
150
            if (isset($configuration['map'][$bundleName])) {
151
                $map[ $this->underscore($configuration['map'][$bundleName]) ] = $bundleNamespace;
152
                continue;
153
            }
154
155
            $bundleName = preg_replace('/Bundle$/', '', $bundleName);
156
@@ 157-160 (lines=4) @@
154
155
            $bundleName = preg_replace('/Bundle$/', '', $bundleName);
156
157
            if (isset($configuration['map'][$bundleName])) {
158
                $map[ $this->underscore($configuration['map'][$bundleName]) ] = $bundleNamespace;
159
                continue;
160
            }
161
162
            $map[ $this->underscore($bundleName) ] = $bundleNamespace;
163
        }