composer / package-versions-deprecated

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

Fix composer v1 ClassLoader getRegisteredLoaders method missing #29

Closed dejwCake closed 2 years ago

dejwCake commented 2 years ago

When using composer v1, ClassLoader is missing getRegisteredLoaders method, therefore the InstalledVersions::getRawData() can return also null in some versions. Without this check it fails with OutOfBoundsException, as the package is not installed also in case if it is installed, however the check is not possible.

Composer version 1.10.22

Seldaek commented 2 years ago

released as https://github.com/composer/package-versions-deprecated/releases/tag/1.11.99.4