composer / package-versions-deprecated

:package: Composer addon to efficiently get installed packages' version numbers
MIT License
1.51k stars 9 forks source link

Fix unhelpful exception message #2

Closed alcaeus closed 4 years ago

alcaeus commented 4 years ago

This PR improves the exception message given to the user if no version information could be read. It tells the user that the library can only work in standard environments without telling them to "fix their shit".

See also https://github.com/Ocramius/PackageVersions/pull/141.

Seldaek commented 4 years ago

Oh, didn't have notifications enabled on this repo somehow, I guess due to it being a fork, thanks.