Code Duplication    Length = 5-5 lines in 4 locations

src/Asset/Asset.php 4 locations

@@ 549-553 (lines=5) @@
546
            /*
547
             * Compile SCSS to CSS with PHP.
548
             */
549
            if ($filter == 'scss' && $this->config->get('streams::assets.filters.sass', 'php') == 'php') {
550
                $filter = new ScssFilter($this->parser);
551
552
                continue;
553
            }
554
555
            /*
556
             * Compile SCSS to CSS with Ruby.
@@ 558-562 (lines=5) @@
555
            /*
556
             * Compile SCSS to CSS with Ruby.
557
             */
558
            if ($filter == 'scss' && $this->config->get('streams::assets.filters.sass', 'php') == 'ruby') {
559
                $filter = new RubyScssFilter($this->parser);
560
561
                continue;
562
            }
563
564
            /*
565
             * Compile SASS to CSS with PHP.
@@ 567-571 (lines=5) @@
564
            /*
565
             * Compile SASS to CSS with PHP.
566
             */
567
            if ($filter == 'sass' && $this->config->get('streams::assets.filters.sass', 'php') == 'php') {
568
                $filter = new SassFilter($this->parser);
569
570
                continue;
571
            }
572
573
            /*
574
             * Compile SASS to CSS with Ruby.
@@ 576-580 (lines=5) @@
573
            /*
574
             * Compile SASS to CSS with Ruby.
575
             */
576
            if ($filter == 'sass' && $this->config->get('streams::assets.filters.sass', 'php') == 'ruby') {
577
                $filter = new RubySassFilter($this->parser);
578
579
                continue;
580
            }
581
582
            /*
583
             * Compile CoffeeScript to JS