Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
[RFC] support for generators #115
I'm not even sure if this couldn't be applied to Iterators in general, or if it's the correct approach, but at least it resolves parts of the problem of phpspec/phpspec#379.
Also, custom phpspec matchers have to be used in order to check array like stuff.