php7backport
php7backport copied to clipboard
Fix a bug in DirectoryBackporter, and refactor it.
- Remove CallbackFilterIterator, which does not affect program logic but cause performance penalty.
- Move the codes which process directories. The iterator does not return in order when useing php 5.6. And according to original program logic, it is not necessary to create directories without php codes.
hi @Ronmi could you resolve the conflict ? so that @ondrejbouda can merge this
will fix https://github.com/ondrejbouda/php7backport/issues/7