Code Duplication    Length = 5-5 lines in 4 locations

src/Asset/Asset.php 4 locations

@@ 561-565 (lines=5) @@
558
            /*
559
             * Compile SCSS to CSS with PHP.
560
             */
561
            if ($filter == 'scss' && $this->config->get('streams::assets.filters.sass', 'php') == 'php') {
562
                $filter = new ScssFilter($this->parser);
563
564
                continue;
565
            }
566
567
            /*
568
             * Compile SCSS to CSS with Ruby.
@@ 570-574 (lines=5) @@
567
            /*
568
             * Compile SCSS to CSS with Ruby.
569
             */
570
            if ($filter == 'scss' && $this->config->get('streams::assets.filters.sass', 'php') == 'ruby') {
571
                $filter = new RubyScssFilter($this->parser);
572
573
                continue;
574
            }
575
576
            /*
577
             * Compile SASS to CSS with PHP.
@@ 579-583 (lines=5) @@
576
            /*
577
             * Compile SASS to CSS with PHP.
578
             */
579
            if ($filter == 'sass' && $this->config->get('streams::assets.filters.sass', 'php') == 'php') {
580
                $filter = new SassFilter($this->parser);
581
582
                continue;
583
            }
584
585
            /*
586
             * Compile SASS to CSS with Ruby.
@@ 588-592 (lines=5) @@
585
            /*
586
             * Compile SASS to CSS with Ruby.
587
             */
588
            if ($filter == 'sass' && $this->config->get('streams::assets.filters.sass', 'php') == 'ruby') {
589
                $filter = new RubySassFilter($this->parser);
590
591
                continue;
592
            }
593
594
            /*
595
             * Compile CoffeeScript to JS