aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/mozart-registry
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2026-05-01 21:43:19 +0900
committernsfisis <nsfisis@gmail.com>2026-05-01 21:43:19 +0900
commit2f857cc1ddfde54553829ea5b3a3ac8b59f7f63a (patch)
treedd2bc38a76d8b8b95b9d09d1beadbcdf0a6953d5 /crates/mozart-registry
parent4453aaddb071515e4b2c263864bd00fe7fa2eee6 (diff)
downloadphp-mozart-2f857cc1ddfde54553829ea5b3a3ac8b59f7f63a.tar.gz
php-mozart-2f857cc1ddfde54553829ea5b3a3ac8b59f7f63a.tar.zst
php-mozart-2f857cc1ddfde54553829ea5b3a3ac8b59f7f63a.zip
feat(install): verify platform requirements before install_from_lock
Mirrors Composer's platform-requirements check during Installer::doInstall(): merge platform requires from the lock's platform/platform-dev fields with the root composer.json require/require-dev (composer.json wins on duplicate keys), then verify them against the detected runtime platform. If any are missing or unsatisfied, print the standard "Your lock file does not contain a compatible set of packages" message followed by Problem 1..N entries and exit with DEPENDENCY_RESOLUTION_FAILED (2) instead of silently proceeding to "Nothing to install" with exit 0. Closes the gap exercised by the outdated-lock-file-with-new-platform-reqs-fails installer fixture. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Diffstat (limited to 'crates/mozart-registry')
0 files changed, 0 insertions, 0 deletions