Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix throwing Prophet error #1959

Closed

Conversation

radmen
Copy link

@radmen radmen commented Nov 18, 2015

This simple fix allows to throw Prophet predictions exceptions.

Btw, very similar error is in current dev version https://github.com/sebastianbergmann/phpunit/blob/master/src/Framework/TestCase.php#L1002

@radmen radmen closed this Dec 8, 2015
@radmen radmen reopened this Dec 8, 2015
@radmen
Copy link
Author

radmen commented Dec 10, 2015

@sebastianbergmann sorry to bother, but could you take a look at this PR? Its is fairly simple, and merging it will help me a lot in my projects :)

sebastianbergmann added a commit that referenced this pull request Dec 10, 2015
@sebastianbergmann
Copy link
Owner

Closed via 1f44c09

@radmen
Copy link
Author

radmen commented Dec 11, 2015

@sebastianbergmann
Copy link
Owner

PHPUnit 5.0 is no longer supported.

@radmen radmen deleted the fix-prophet-error-throwing branch December 12, 2015 19:28
@radmen
Copy link
Author

radmen commented Dec 12, 2015

Oh. Thank you for your help.

@ddelbondio
Copy link
Contributor

@sebastianbergmann I think would make sense to merge this into the 4.8 as well. Right now using the prophecy integration and shouldBeCalled() is broken due to this.

@sebastianbergmann
Copy link
Owner

@ddelbondio A pull request for PHPUnit 4.8 would be appreciated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants