Allows for local package version data (either compiled or through \PackageVersions\FallbackVersions) to be used when package version fetch from \Composer\InstalledVersions fails.
Where package is not installed or cannot be detected in the InstalledVersions class and this package an OutOfBoundsException will still be thrown.
The following composer.json can be used to test this PR.
Addresses #27
Allows for local package version data (either compiled or through
\PackageVersions\FallbackVersions
) to be used when package version fetch from\Composer\InstalledVersions
fails.Where package is not installed or cannot be detected in the
InstalledVersions
class and this package anOutOfBoundsException
will still be thrown.The following
composer.json
can be used to test this PR.Testable via:
This PR does not cause any issues with
composer/composer:^1.0
. Test composer.json can be updated with this version constraint to test that.