aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe/tests/util/github_test.rs
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2026-08-06 04:59:34 +0900
committernsfisis <nsfisis@gmail.com>2026-08-06 04:59:34 +0900
commit0b227a4c623c72c155b1622674b78ca5cc0c4f8b (patch)
tree89516c5d863bb83324dae7f78fe1d6284cf3fe44 /crates/shirabe/tests/util/github_test.rs
parentfabc0719224d194c6ea1ea7d8f6e9f0175ca7af5 (diff)
downloadphp-shirabe-0b227a4c623c72c155b1622674b78ca5cc0c4f8b.tar.gz
php-shirabe-0b227a4c623c72c155b1622674b78ca5cc0c4f8b.tar.zst
php-shirabe-0b227a4c623c72c155b1622674b78ca5cc0c4f8b.zip
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) <noreply@anthropic.com>
Diffstat (limited to 'crates/shirabe/tests/util/github_test.rs')
0 files changed, 0 insertions, 0 deletions