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.
When using composer v1, ClassLoader is missing
getRegisteredLoaders
method, therefore theInstalledVersions::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