Skip to content
This repository has been archived by the owner on Jan 8, 2020. It is now read-only.

Support PHPUnit 3.8+ compatibility #5781

Merged
merged 2 commits into from
Feb 7, 2014
Merged

Support PHPUnit 3.8+ compatibility #5781

merged 2 commits into from
Feb 7, 2014

Conversation

JoelMarcey
Copy link
Contributor

PHPUnit 3.8+ adds a method to its PHPUnit_Framework_TestListener interface called addRiskyTest(). Need to stub it out to avoid "must implement this interface method" fatals when using 3.8+.

PHPUnit 3.8+ adds a method to its PHPUnit_Framework_TestListener interface called addRiskyTest(). Need to stub it out to avoid "must implement this interface method" fatals when using 3.8+.
@Maks3w
Copy link
Member

Maks3w commented Feb 4, 2014

Please remove the trailing spaces

@JoelMarcey
Copy link
Contributor Author

I am sorry -- what trailing spaces?

@@ -107,7 +107,8 @@ public function addIncompleteTest(PHPUnit_Framework_Test $test, Exception $e, $t
public function addSkippedTest(PHPUnit_Framework_Test $test, Exception $e, $time) {}
public function startTestSuite(PHPUnit_Framework_TestSuite $suite) {}
public function endTestSuite(PHPUnit_Framework_TestSuite $suite) {}

public function addRiskyTest(PHPUnit_Framework_Test $test, Exception $e, $time) {} // Support PHPUnit 3.8+

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JoelMarcey
Copy link
Contributor Author

I believe I fixed this with c29404d

@JoelMarcey
Copy link
Contributor Author

friendly ping -- how often do pull requests get merged, out of curiosity?

@Ocramius
Copy link
Member

Ocramius commented Feb 7, 2014

@JoelMarcey AFAIK, everyone conferencing right now.

@JoelMarcey
Copy link
Contributor Author

@Ocramius Ahh. Thanks. I am just looking forward to removing using my fork and using the official branch in our test runner :)

@ghost ghost assigned Maks3w Feb 7, 2014
Maks3w added a commit that referenced this pull request Feb 7, 2014
Maks3w added a commit that referenced this pull request Feb 7, 2014
Maks3w added a commit that referenced this pull request Feb 7, 2014
@Maks3w Maks3w merged commit c29404d into zendframework:master Feb 7, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants