diff options
| author | nsfisis <nsfisis@gmail.com> | 2026-02-21 19:54:06 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2026-02-21 19:54:06 +0900 |
| commit | 1e3810ff94fb4c91a0fdbdf2532757b3e43b4864 (patch) | |
| tree | e2616ad39e245ac4cded51748bb2ce0d63f00e30 /crates/mozart/src/lib.rs | |
| parent | 3813267fed5fcc7e9b7f867a9c17c98faf545020 (diff) | |
| download | php-mozart-1e3810ff94fb4c91a0fdbdf2532757b3e43b4864.tar.gz php-mozart-1e3810ff94fb4c91a0fdbdf2532757b3e43b4864.tar.zst php-mozart-1e3810ff94fb4c91a0fdbdf2532757b3e43b4864.zip | |
feat(check-platform-reqs): implement command to verify PHP platform requirements
Collects platform requirements (php, ext-*, lib-*, composer-*-api) from
lock file, installed.json, and root composer.json, then compares them
against the detected PHP environment. Supports text/JSON output and
exit codes 0 (pass), 1 (failed), 2 (missing).
Extracts shared platform detection into a new platform.rs module,
reused by both check-platform-reqs and show --platform.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Diffstat (limited to 'crates/mozart/src/lib.rs')
| -rw-r--r-- | crates/mozart/src/lib.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crates/mozart/src/lib.rs b/crates/mozart/src/lib.rs index 954ef0e..2451a4a 100644 --- a/crates/mozart/src/lib.rs +++ b/crates/mozart/src/lib.rs @@ -9,6 +9,7 @@ pub mod lockfile; pub mod package; pub mod packagist; pub mod php_scanner; +pub mod platform; pub mod resolver; pub mod validation; pub mod version; |
