sebastianbergmann / phploc

A tool for quickly measuring the size of a PHP project.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

"No files found to scan" should exit 0

danepowell opened this issue · comments

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.