diff options
| author | nsfisis <nsfisis@gmail.com> | 2026-02-22 22:14:10 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2026-02-22 22:14:10 +0900 |
| commit | 1d33728151b282949e7e14646e722d7775de4453 (patch) | |
| tree | a011da3218b60bfbb8a539c2bcc7ff99bce87124 /crates/mozart/src/commands/install.rs | |
| parent | 0833b8972c20e48dd33e9f985cd225e4a9abf5e2 (diff) | |
| download | php-mozart-1d33728151b282949e7e14646e722d7775de4453.tar.gz php-mozart-1d33728151b282949e7e14646e722d7775de4453.tar.zst php-mozart-1d33728151b282949e7e14646e722d7775de4453.zip | |
fix(validate): use CamelCase-to-dash name suggestion and propagate dependency exit codes
- Replace simple to_lowercase() with sanitize_package_name_component()
for uppercase name suggestions (e.g. MyCompany/MyLibrary → my-company/my-library)
- Return error/warning counts from validate_dependencies() and merge
them into the final exit code, matching Composer behavior
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Diffstat (limited to 'crates/mozart/src/commands/install.rs')
0 files changed, 0 insertions, 0 deletions
