Code Duplication    Length = 3-3 lines in 4 locations

src/AppBundle/Controller/ArticleInfoController.php 4 locations

@@ 708-710 (lines=3) @@
705
            }
706
707
            // Increment "edits per <time>" counts
708
            if (strtotime($rev['timestamp']) > strtotime('-1 day')) {
709
                $data['general']['count_history']['day']++;
710
            }
711
            if (strtotime($rev['timestamp']) > strtotime('-1 week')) {
712
                $data['general']['count_history']['week']++;
713
            }
@@ 711-713 (lines=3) @@
708
            if (strtotime($rev['timestamp']) > strtotime('-1 day')) {
709
                $data['general']['count_history']['day']++;
710
            }
711
            if (strtotime($rev['timestamp']) > strtotime('-1 week')) {
712
                $data['general']['count_history']['week']++;
713
            }
714
            if (strtotime($rev['timestamp']) > strtotime('-1 month')) {
715
                $data['general']['count_history']['month']++;
716
            }
@@ 714-716 (lines=3) @@
711
            if (strtotime($rev['timestamp']) > strtotime('-1 week')) {
712
                $data['general']['count_history']['week']++;
713
            }
714
            if (strtotime($rev['timestamp']) > strtotime('-1 month')) {
715
                $data['general']['count_history']['month']++;
716
            }
717
            if (strtotime($rev['timestamp']) > strtotime('-1 year')) {
718
                $data['general']['count_history']['year']++;
719
            }
@@ 717-719 (lines=3) @@
714
            if (strtotime($rev['timestamp']) > strtotime('-1 month')) {
715
                $data['general']['count_history']['month']++;
716
            }
717
            if (strtotime($rev['timestamp']) > strtotime('-1 year')) {
718
                $data['general']['count_history']['year']++;
719
            }
720
        }
721
722
        // add percentages