Jean85/pretty-package-versions

Prettify "No version set"

Opened this issue · 1 comments

When Composer can not determine the version of a package, it sets it to No version set (parsed as 1.0.0)@.
(For example, this happens for the root package if we are not in a Git repository.)

Maybe PrettyVersions could return something more user-friendly like null or "unknown"?

This seems an interesting suggestion!
If I will not have the time to do it myself, I'm happy to review a PR with this.