• Marco Pivetta's avatar
    #148 retrieve root package version also when package is installed with `--no-scripts` · 214acb96
    Marco Pivetta authored
    The root package version, when running with a stub version of `PackageVersions\Versions`
    (which happens when installation was run with `--no-scripts` or equivalent), uses a string
    that is not recognized by Composer's `composer-runtime-api` tooling: for that special
    case, we compare it to the default version that is stored in the constant, and use
    composer's tooling to figure out the actual root package version
    214acb96