Code Duplication    Length = 4-4 lines in 4 locations

src/Kunstmaan/GeneratorBundle/Generator/ArticleGenerator.php 4 locations

@@ 243-246 (lines=4) @@
240
            $this->renderSingleFile($sourceDir, $targetDir, $filename, $parameters, false, $this->entity . $filename);
241
        }
242
243
        if ($parameters['uses_category']) {
244
            $filename = 'CategoryAdminListController.php';
245
            $this->renderSingleFile($sourceDir, $targetDir, $filename, $parameters, false, $this->entity . $filename);
246
        }
247
248
        if ($parameters['uses_tag']) {
249
            $filename = 'TagAdminListController.php';
@@ 299-302 (lines=4) @@
296
            $this->renderSingleFile($sourceDir, $targetDir, $filename, $parameters, false, $this->entity . $filename);
297
        }
298
299
        if ($parameters['uses_category']) {
300
            $filename = 'CategoryAdminListConfigurator.php';
301
            $this->renderSingleFile($sourceDir, $targetDir, $filename, $parameters, false, $this->entity . $filename);
302
        }
303
304
        if ($parameters['uses_tag']) {
305
            $filename = 'TagAdminListConfigurator.php';
@@ 336-339 (lines=4) @@
333
            $this->renderSingleFile($sourceDir, $targetDir, $filename, $parameters, false, $this->entity . $filename);
334
        }
335
336
        if ($parameters['uses_category']) {
337
            $filename = 'CategoryAdminType.php';
338
            $this->renderSingleFile($sourceDir, $targetDir, $filename, $parameters, false, $this->entity . $filename);
339
        }
340
341
        if ($parameters['uses_tag']) {
342
            $filename = 'TagAdminType.php';
@@ 423-426 (lines=4) @@
420
            $this->renderSingleFile($sourceDir, $targetDir, $filename, $parameters, false, $this->entity . $filename);
421
        }
422
423
        if ($parameters['uses_category']) {
424
            $filename = 'Category.php';
425
            $this->renderSingleFile($sourceDir, $targetDir, $filename, $parameters, false, $this->entity . $filename);
426
        }
427
428
        if ($parameters['uses_tag']) {
429
            $filename = 'Tag.php';