Code Duplication    Length = 12-13 lines in 2 locations

tests/Functional/Parser/JSON/AbnormalTerminatedParserTest.php 1 location

@@ 53-64 (lines=12) @@
50
    /**
51
     * @return string[][]
52
     */
53
    public function otherStatusesProvider(): array
54
    {
55
        return [
56
            ['error'],
57
            ['fail'],
58
            ['pass'],
59
            ['testStart'],
60
            ['suiteStart'],
61
            ['qwerty'],
62
            ['trollingYou'],
63
        ];
64
    }
65
}
66

tests/Unit/Parser/JSON/UnknownResultParserTest.php 1 location

@@ 41-53 (lines=13) @@
38
        $this->assertNotNull($parser->handleLogItem(new StubbedParaunitProcess(), $log));
39
    }
40
41
    public function statusesProvider(): array
42
    {
43
        return [
44
            ['pass'],
45
            ['error'],
46
            ['fail'],
47
            ['pass'],
48
            ['testStart'],
49
            ['suiteStart'],
50
            ['qwerty'],
51
            ['trollingYou'],
52
        ];
53
    }
54
}
55