diff options
| author | nsfisis <nsfisis@gmail.com> | 2026-05-04 14:41:59 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2026-05-04 15:43:56 +0900 |
| commit | a24d6e2f148417b32188cd1e643439a2858f4eac (patch) | |
| tree | 593bbb830c6d46a33a40465dbd16fda98082543d /crates/mozart/src/commands/init.rs | |
| parent | c59a923669c57adbf6e5eecce7feae59afcf0aac (diff) | |
| download | php-mozart-a24d6e2f148417b32188cd1e643439a2858f4eac.tar.gz php-mozart-a24d6e2f148417b32188cd1e643439a2858f4eac.tar.zst php-mozart-a24d6e2f148417b32188cd1e643439a2858f4eac.zip | |
feat(validate): port ValidatingArrayLoader license checks
Mirror Composer's Package\Loader\ValidatingArrayLoader::load() license
block: warn on non-string/wrong-shape values, validate the SPDX
expression with proprietary→MIT substitution, and surface "extra
spaces" diagnostics. Validity is gated on the manifest's `time` field
(checked only for releases without a date or within the last 8 days),
mirroring Composer's strtotime('-8days') window.
Diffstat (limited to 'crates/mozart/src/commands/init.rs')
0 files changed, 0 insertions, 0 deletions
