From e85fe01faf3851576a222e7acb6f6944ed247778 Mon Sep 17 00:00:00 2001
From: Andreas Fischer <bantu@owncloud.com>
Date: Thu, 24 Apr 2014 15:16:57 +0200
Subject: [PATCH] Make PHPUnit_Framework_TestListener implementations
 compatible to 4.0.

---
 tests/startsessionlistener.php | 3 +++
 tests/testcleanuplistener.php  | 3 +++
 2 files changed, 6 insertions(+)

diff --git a/tests/startsessionlistener.php b/tests/startsessionlistener.php
index 808a2a2226..ba049559c6 100644
--- a/tests/startsessionlistener.php
+++ b/tests/startsessionlistener.php
@@ -20,6 +20,9 @@ class StartSessionListener implements PHPUnit_Framework_TestListener {
 	public function addIncompleteTest(PHPUnit_Framework_Test $test, Exception $e, $time) {
 	}
 
+	public function addRiskyTest(PHPUnit_Framework_Test $test, Exception $e, $time) {
+	}
+
 	public function addSkippedTest(PHPUnit_Framework_Test $test, Exception $e, $time) {
 	}
 
diff --git a/tests/testcleanuplistener.php b/tests/testcleanuplistener.php
index 2083ffce67..e3f250fdca 100644
--- a/tests/testcleanuplistener.php
+++ b/tests/testcleanuplistener.php
@@ -25,6 +25,9 @@ class TestCleanupListener implements PHPUnit_Framework_TestListener {
     public function addIncompleteTest(PHPUnit_Framework_Test $test, Exception $e, $time) {
     }
 
+	public function addRiskyTest(PHPUnit_Framework_Test $test, Exception $e, $time) {
+	}
+
     public function addSkippedTest(PHPUnit_Framework_Test $test, Exception $e, $time) {
     }
 
-- 
GitLab