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

Conversation

@stronk7
Copy link

@stronk7 stronk7 commented Dec 13, 2011

Look for matching files without using $commonPath
to pre-check if it's worth performing the buggy call. It
leads to double iteration but that's rally better that the
current endless loop caused by PEAR #19133

To reproduce:

mkdir testdir
phpcpd testdir

Hope it helps, ciao :-)

Look for matching files without using $commonPath
to pre-check if it's worth performing the buggy call. It
leads to double iteration but that's rally better that the
current endless loop caused by PEAR #19133
@stronk7
Copy link
Author

stronk7 commented Dec 13, 2011

Note I've created sebastianbergmann/php-file-iterator#10 once you pointed me that it was also yours and not PEAR/File ! (sorry for the confusion).

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.

2 participants