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

Conversation

@michalbundyra
Copy link
Member

No description provided.

* @param string $method
* @param string $event
*/
public function testErrorInMethodReturnsApiProblem($method, $event, $argv)
Copy link
Member

Choose a reason for hiding this comment

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

This test should be conditional on whether or not PHP 7 is being used. You can do that with an annotation: @requires PHP 7.

@michalbundyra
Copy link
Member Author

michalbundyra commented Oct 11, 2016

Tests are failing because ApiProblem doesn't accept Throwable as $detail parameter.
Fix is in zfcampus/zf-api-problem#49. Required release zf-api-problem before merging this fix.

ping @weierophinney

weierophinney added a commit that referenced this pull request Oct 11, 2016
weierophinney added a commit that referenced this pull request Oct 11, 2016
weierophinney added a commit that referenced this pull request Oct 11, 2016
@michalbundyra michalbundyra deleted the fix/103 branch October 11, 2016 22:26
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants