Code Duplication    Length = 8-9 lines in 2 locations

src/Kunstmaan/SitemapBundle/Tests/unit/Model/SitemapUrlTest.php 1 location

@@ 28-36 (lines=9) @@
25
        }
26
    }
27
28
    public function priorityDataProvider()
29
    {
30
        return [
31
            [0.0, false],
32
            [-1.0, true],
33
            [1.0, false],
34
            [1.2, true],
35
        ];
36
    }
37
}
38

src/Kunstmaan/VotingBundle/Tests/unit/EventListener/Security/MaxNumberByIpEventListenerTest.php 1 location

@@ 90-97 (lines=8) @@
87
     *
88
     * @return array
89
     */
90
    public function dataTestOnVote()
91
    {
92
        return array(
93
            array(2, 2, true),
94
            array(2, 1, false),
95
            array(2, 3, true),
96
        );
97
    }
98
}
99