Skip to content

PHP: use-alias pointing outside the corpus + one same-short-named in-corpus class mints a wrong INFERRED edge (design risk 6, measured) #16

Description

@filipechagas

Confirmed during release verification of the Graphify-Labs#1682 feature branch (see /tmp/probe7_changelog_claims.py scenario): a property typed via use Vendor\Sdk\Client; (class outside the corpus) with exactly one unrelated in-corpus App\Local\Client mints a wrong INFERRED 0.8 calls edge. Base commit 4e7e6b1: no edge — so this is a new false positive introduced by receiver-typed resolution, in the corner the spec explicitly accepted and documented (issue #1 Out of Scope: identical exposure exists in the Java resolver today).

Named in the 0.9.34 changelog as a known limitation. The documented upgrade path is use-import-map awareness (the C# CsharpNameResolver pattern).

Refs: spec #1, design open-risk 6, 0.9.34 changelog entry.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions