mirror of
https://github.com/DeusData/codebase-memory-mcp.git
synced 2026-11-07 08:43:35 +08:00
- Generic substitution end-to-end (T<->concrete-arg) for any class with
@template + @return T, including ancestor walks via belt-and-suspenders
AST-extracted base_clause / class_interface_clause.
- Block-form `namespace App { class Foo {} }` — robust child traversal
through declaration_list / compound_statement variants; also collects
`use` clauses from inside the block.
- Declared method return types re-parsed via php_parse_type_node so
`function f(): \Generator<int, User>` becomes a proper TEMPLATE.
- Stdlib expansion: Symfony Console (SymfonyStyle, In/OutputInterface),
Doctrine ORM (EntityManagerInterface, QueryBuilder, Query, Repository),
Guzzle (Client, ClientInterface), Twig (Environment, TemplateWrapper),
Eloquent Model magic-static methods (where/whereIn/orderBy/...).
- Pipeline bridge unchanged; resolution all happens at LSP level.
Test coverage: 125 -> 150 tests; total 2938 -> 2963 / 0 failed.