Alexia / php7mar

PHP 7 Migration Assistant Report (MAR)
GNU General Public License v3.0
797 stars 133 forks source link

Fix stopping on empty files #7

Closed xPaw closed 9 years ago

xPaw commented 9 years ago

If a file is empty, scanNextFile returns an empty array, which is considered false.

Alexia commented 9 years ago

Looks good, but still needs a logic fix inside scanNextFile() to match the original documentation/intent. I am working on that now.

Alexia commented 9 years ago

The fix for the function is in: https://github.com/Alexia/php7mar/commit/b9e07404eb26745041a30d784ed82caea5f8524c