src/Logging/LogInterpreter.php
protected function extendEmptyCasesFromSuites(array $cases, TestSuite $suite)
    {
        $class = $suite->name;
        $file = $suite->file;

        /** @var TestCase $case */
        foreach ($cases as $case) {
            if (empty($case->class)) {
                $case->class = $class;
            }
            if (empty($case->file)) {
                $case->file = $file;
            }
        }
    }
protected function extendEmptyCasesFromSuites(array $cases, TestSuite $suite)
    {
        $class = $suite->name;
        $file = $suite->file;

        /** @var TestCase $case */
        foreach ($cases as $case) {
            if (empty($case->class)) {
                $case->class = $class;
            }
            if (empty($case->file)) {
                $case->file = $file;
            }
        }
    }
protected function extendEmptyCasesFromSuites ( array $ cases , TestSuite $ suite ) { $ class = $ suite -> name ; $ file = $ suite -> file ; /** @var TestCase $case */ foreach ( $ cases as $ case ) { if ( empty ( $ case -> class ) ) { $ case -> class = $ class ; } if ( empty ( $ case -> file ) ) { $ case -> file = $ file ; } } }
Fix problem with empty testcase from DataProvider.

@param array     $cases
@param TestSuite $suite
Fix problem with empty testcase from DataProvider .