"No files found to scan" should exit 0
danepowell opened this issue · comments
Dane Powell commented
When no files are found to scan, I'd prefer phploc to exit 0 instead of 1. It used to exit 0, and exiting 1 is a breaking change in the 7.0 release that should have been included in the release notes (introduced by 438fda0)
This appears to be a regression, since there's a specific issue from even earlier requesting that it exit 0 when there are no files to scan: #175 This was merged, and then seemingly reverted in the 7.0 release.