Code Duplication    Length = 6-6 lines in 2 locations

core/SanityTests.php 2 locations

@@ 667-672 (lines=6) @@
664
        $no_cache_dev = '';
665
        $no_cache_dev_count = 0;
666
        if ($global_no_cache) {
667
            foreach ($Devs as $dev => $D) {
668
                if (empty($D['options']['no_cache']) || $D['options']['no_cache'] != 0) {
669
                    $no_cache_dev .= $dev . " ";
670
                    $no_cache_dev_count++;
671
                }
672
            }
673
        } else {
674
            foreach ($Devs as $dev => $D) {
675
                if (!empty($D['options']['no_cache']) && $D['options']['no_cache'] != 0) {
@@ 674-679 (lines=6) @@
671
                }
672
            }
673
        } else {
674
            foreach ($Devs as $dev => $D) {
675
                if (!empty($D['options']['no_cache']) && $D['options']['no_cache'] != 0) {
676
                    $no_cache_dev .= $dev . " ";
677
                    $no_cache_dev_count++;
678
                }
679
            }
680
        }
681
682