From 0b227a4c623c72c155b1622674b78ca5cc0c4f8b Mon Sep 17 00:00:00 2001 From: nsfisis Date: Thu, 6 Aug 2026 04:59:34 +0900 Subject: refactor(spdx-licenses): return a dedicated type from getLicenseByIdentifier PHP hands back a positional array, so every caller had to reach into a PhpMixed list by index and fall back to a default when an element was missing or the wrong variant -- fallbacks that could never fire, since the list shape is fixed. LicenseMetadata names the four elements and makes the accesses total. This also drops the crate's last use of PhpMixed, and with it the dependency on shirabe-php-shim. Co-Authored-By: Claude Opus 5 (1M context) --- Cargo.lock | 1 - 1 file changed, 1 deletion(-) (limited to 'Cargo.lock') diff --git a/Cargo.lock b/Cargo.lock index 18ec0a47..4b5c6817 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2198,7 +2198,6 @@ version = "0.0.1" dependencies = [ "indexmap", "serde_json", - "shirabe-php-shim", ] [[package]] -- cgit v1.3.1