Code Duplication    Length = 10-10 lines in 2 locations

tests/DebugBacktrace/GetBacktracesTest.php 2 locations

@@ 9-18 (lines=10) @@
6
7
class GetBacktracesTest extends TestCase
8
{
9
    public function testWithoutArguments()
10
    {
11
        $backtraces = \DebugBacktrace::getBacktraces();
12
13
        static::assertInternalType('array', $backtraces);
14
        static::assertCount(
15
            version_compare(PHP_VERSION, '8.0.0', '>=') ? 10 : 11,
16
            $backtraces
17
        );
18
    }
19
20
    public function testOffset1()
21
    {
@@ 20-29 (lines=10) @@
17
        );
18
    }
19
20
    public function testOffset1()
21
    {
22
        $backtraces = \DebugBacktrace::getBacktraces(1);
23
24
        static::assertInternalType('array', $backtraces);
25
        static::assertCount(
26
            version_compare(PHP_VERSION, '8.0.0', '>=') ? 9 : 10,
27
            $backtraces
28
        );
29
    }
30
31
    public function testLimit2()
32
    {