Skip to content

Conversation

@axiac
Copy link
Contributor

@axiac axiac commented Apr 21, 2016

GlobIterator throws LogicException with message 'The parent constructor was not called' when the glob expression passed to the constructor doesn't match any file.

GlobIterator throws LogicException with message 'The parent constructor was not called'
on its first operation when the glob expression doesn't match any file.
It also throws on the first operation after the iteration completes, when the glob expression
matches some files.
@php-pulls
Copy link

Comment on behalf of cmb at php.net:

Cherry-picked to PHP-5.6 and merged upwards.

Thanks for the PR that solves a long standing issue, Valentin, and for the comprehensive and elegant regression test.

@php-pulls php-pulls closed this Jul 5, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants