Code Duplication    Length = 6-6 lines in 2 locations

core/SanityTests.php 2 locations

@@ 683-688 (lines=6) @@
680
        $no_cache_dev = '';
681
        $no_cache_dev_count = 0;
682
        if ($global_no_cache) {
683
            foreach ($Devs as $dev => $D) {
684
                if (empty($D['options']['no_cache']) || $D['options']['no_cache'] != 0) {
685
                    $no_cache_dev .= $dev . " ";
686
                    $no_cache_dev_count++;
687
                }
688
            }
689
        } else {
690
            foreach ($Devs as $dev => $D) {
691
                if (!empty($D['options']['no_cache']) && $D['options']['no_cache'] != 0) {
@@ 690-695 (lines=6) @@
687
                }
688
            }
689
        } else {
690
            foreach ($Devs as $dev => $D) {
691
                if (!empty($D['options']['no_cache']) && $D['options']['no_cache'] != 0) {
692
                    $no_cache_dev .= $dev . " ";
693
                    $no_cache_dev_count++;
694
                }
695
            }
696
        }
697
698