Code Duplication    Length = 6-6 lines in 2 locations

core/SanityTests.php 2 locations

@@ 604-609 (lines=6) @@
601
        $no_cache_dev = '';
602
        $no_cache_dev_count = 0;
603
        if ($global_no_cache) {
604
            foreach ($Devs as $dev => $D) {
605
                if (empty($D['options']['no_cache']) || $D['options']['no_cache'] != 0) {
606
                    $no_cache_dev .= $dev . " ";
607
                    $no_cache_dev_count++;
608
                }
609
            }
610
        } else {
611
            foreach ($Devs as $dev => $D) {
612
                if (!empty($D['options']['no_cache']) && $D['options']['no_cache'] != 0) {
@@ 611-616 (lines=6) @@
608
                }
609
            }
610
        } else {
611
            foreach ($Devs as $dev => $D) {
612
                if (!empty($D['options']['no_cache']) && $D['options']['no_cache'] != 0) {
613
                    $no_cache_dev .= $dev . " ";
614
                    $no_cache_dev_count++;
615
                }
616
            }
617
        }
618
619