aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe/src/dependency_resolver/multi_conflict_rule.rs
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2026-07-20 15:36:54 +0900
committernsfisis <nsfisis@gmail.com>2026-07-20 15:36:54 +0900
commit80228e0a3b883ccdf2d80ba544c01619a856ef9c (patch)
tree328494692631454d96cbab7196504afec9190e9d /crates/shirabe/src/dependency_resolver/multi_conflict_rule.rs
parent85fb9b70f4f41ead644b24f98052e6ffd9699e48 (diff)
downloadphp-shirabe-80228e0a3b883ccdf2d80ba544c01619a856ef9c.tar.gz
php-shirabe-80228e0a3b883ccdf2d80ba544c01619a856ef9c.tar.zst
php-shirabe-80228e0a3b883ccdf2d80ba544c01619a856ef9c.zip
fix(advisory): treat int-keyed ignore entries as plain IDs
parseIgnoreWithApply distinguishes ['CVE-123' => 'reason'] from [0 => 'CVE-123'] by checking is_int($key) in PHP. AuditConfig only matched on the value's type, so a canonical-int-keyed string value was mistaken for an id => reason pair. Expose canonical_int_key from the php-shim to replicate PHP's key-canonicalization rule and unignore test_mixed_formats.
Diffstat (limited to 'crates/shirabe/src/dependency_resolver/multi_conflict_rule.rs')
0 files changed, 0 insertions, 0 deletions