Documentation

PHPUnitParser
in package

Parse phpunit result files

Table of Contents

Methods

parseJsonResults()  : array<string|int, mixed>
parseJsonStream()  : array<string|int, mixed>

Methods

parseJsonResults()

public static parseJsonResults(string $content) : array<string|int, mixed>
Parameters
$content : string

Json stream.

Return values
array<string|int, mixed>

(string $testName => string $status)

parseJsonStream()

protected static parseJsonStream(string $content) : array<string|int, mixed>
Parameters
$content : string

Phpunit streaming JSON.

Return values
array<string|int, mixed>

["$class::$func" => $status]


        
On this page

Search results