feat: Signatur-Fingerabdruck der Divi-Aufrufe (Reflection); fingerprints.json enthält sig:-Einträge, divi-check --update-reference schreibt sie; Referenz für Divi 5.15.1
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Sonnet 5.5
parent
392fe7c569
commit
710444e88d
@@ -42,6 +42,19 @@ final class DiviAdapters
|
||||
return $manifests;
|
||||
}
|
||||
|
||||
/** @return list<Call> Every Divi call of every manifest, each symbol once (the first entry wins). */
|
||||
public static function calls(): array
|
||||
{
|
||||
$calls = [];
|
||||
foreach (self::manifests() as $manifest) {
|
||||
foreach ($manifest->calls as $call) {
|
||||
$calls[ltrim($call->symbol, '\\')] ??= $call;
|
||||
}
|
||||
}
|
||||
|
||||
return array_values($calls);
|
||||
}
|
||||
|
||||
/** @return list<Mirror> */
|
||||
public static function mirrors(): array
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user