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

setExpectedException deprecated? #105

Merged
merged 2 commits into from
Dec 17, 2018

Conversation

onamission
Copy link
Contributor

setExpectedException didn't work for me, but when I made the suggested change it worked fine.
Based on Roave/BetterReflection#170

setExpectedException didn't work for me, but when I made the suggested change it worked fine.
Based on Roave/BetterReflection#170
RuntimeException::class,
'Could not find row with identifier 123'
);
$this->expectException (RuntimeException::class);
Copy link
Member

Choose a reason for hiding this comment

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

Remove space before bracket.

@weierophinney weierophinney merged commit e30ed96 into zendframework:master Dec 17, 2018
weierophinney added a commit that referenced this pull request Dec 17, 2018
setExpectedException deprecated?
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