protected function isFailedSuite(array $tests)
    {
        $failed = false;

        foreach ($tests as $test) {
            if ($test['exception']) {
                $failed = true;
                break;
            }
        }

        return $failed;
    }
protected function isFailedSuite(array $tests)
    {
        $failed = false;

        foreach ($tests as $test) {
            if ($test['exception']) {
                $failed = true;
                break;
            }
        }

        return $failed;
    }
protected function isFailedSuite ( array $ tests ) { $ failed = false ; foreach ( $ tests as $ test ) { if ( $ test [ 'exception' ] ) { $ failed = true ; break ; } } return $ failed ; }
Given an array of test objects, determine if they
represent a failed suite.

@param array $tests
@return bool
Given an array of test objects determine if they represent a failed suite .