You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Spec: #18 (ticket 5/5). Incremental-rebuild parity for #22; same-release requirement.
What to build
Persist the declared FQNs of PHP classes so the (namespace, simple_name) index (#22) can be rebuilt when the defining files are unchanged in an incremental run. Follow the established marker channel precedent (commits 8d051c6, 85bb8df did this for interfaces, then enums+traits):
Stamp: a persisted underscore marker (e.g. _php_class_fqns) on the file node at engine.py:5262-5290.
Preserve in graph.json: extract.py:6171-6176 (deliberately not popped).
Read back: watch.py:1205-1225 and cli.py:3140-3160 copy it onto context node stubs.
Re-inject as synthetic per-file entries alongside _php_context_interface_entry (extract.py:3106-3136, wired at :6019-6034).
Constraints
Mechanical 4-site edit; the risk is missing one site — grep for the sibling markers (_php_non_class_types, _php_interfaces) and touch every place they appear.
Mirrored incremental tests per the test_php_member_calls.py:1544-1878 pattern (_full_then_incremental): every PHP use-import map 4/5: positive alias binding via namespace index #22 positive scenario must behave identically when the defining file is untouched by the incremental pass.
Pre-marker graphs (older graph.json) must fail closed, matching extract.py:6171 precedent.
Activity
Merge pull request #35 from lawnstarter/feat/php-positive-alias-bindi…