Code Duplication    Length = 11-11 lines in 2 locations

src/Paraunit/Parser/JSON/LogPrinter.php 1 location

@@ 186-196 (lines=11) @@
183
         * @param TestSuite $suite
184
         * @throws \RuntimeException
185
         */
186
        public function startTestSuite(TestSuite $suite): void
187
        {
188
            $this->currentTestSuiteName = $suite->getName();
189
            $this->currentTestName = '';
190
    
191
            $this->writeArray([
192
                'event' => 'suiteStart',
193
                'suite' => $this->currentTestSuiteName,
194
                'tests' => count($suite),
195
            ]);
196
        }
197
    
198
        public function endTestSuite(TestSuite $suite): void
199
        {

src/Paraunit/Parser/JSON/LogPrinterV6.php 1 location

@@ 179-189 (lines=11) @@
176
     * @param TestSuite $suite
177
     * @throws \RuntimeException
178
     */
179
    public function startTestSuite(TestSuite $suite)
180
    {
181
        $this->currentTestSuiteName = $suite->getName();
182
        $this->currentTestName = '';
183
184
        $this->writeArray([
185
            'event' => 'suiteStart',
186
            'suite' => $this->currentTestSuiteName,
187
            'tests' => count($suite),
188
        ]);
189
    }
190
191
    public function endTestSuite(TestSuite $suite)
192
    {