Skip to content

feat(php): add PHP language support and unit tests - #25

Merged
ind-igo merged 4 commits into
ind-igo:masterfrom
hmj1026:feat/php-support
Sep 19, 2026
Merged

ind-igo merged 4 commits into
ind-igo:masterfrom
hmj1026:feat/php-support

Conversation

@hmj1026

@hmj1026 hmj1026 commented Sep 17, 2026 •

Copy link
Copy Markdown
Contributor

Add PHP navigation for .php files: functions, classes, methods, interfaces, traits, enums, namespaces, and constants.

PHP signatures use the AST body field so multiline inheritance clauses are preserved and declaration bodies are excluded. Reference matching now supports configured compound nodes, covering namespace names, qualified class names, and $variables as well as simple identifiers.

Validation: nine PHP tests cover extraction, signatures (including brace literals), and compound references. CI installs the PHP grammar. The combined follow-up branch passes all 229 tests and cargo clippy -- -D warnings; this PR's CI checks its standalone changes.

@ind-igo
ind-igo merged commit 84cfac1 into ind-igo:master Sep 19, 2026
5 checks passed
@ind-igo

ind-igo commented Sep 20, 2026

Copy link
Copy Markdown
Owner

Merged ,thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants