Skip to content

[STAL-2456] feat: add PHP support #444

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 12, 2024
Merged

[STAL-2456] feat: add PHP support #444

merged 1 commit into from
Jul 12, 2024

Conversation

amaanq
Copy link
Contributor

@amaanq amaanq commented Jul 12, 2024

What problem are you trying to solve?

Currently, we do not support PHP files. We need a way to parse and query PHP files, but we do not currently fetch and build a PHP grammar.

What is your solution?

Add the PHP grammar to the analyzer itself, which is fetched from https://github.com/tree-sitter/tree-sitter-php. This will allow us (and customers down the line) to begin writing rules targeting PHP files.

Alternatives considered

What the reviewer should know

@amaanq amaanq requested review from jasonforal and juli1 July 12, 2024 15:39
@amaanq amaanq requested a review from jasonforal July 12, 2024 16:31
@amaanq
Copy link
Contributor Author

amaanq commented Jul 12, 2024

squashing & merging

@amaanq amaanq force-pushed the amaan.qureshi/add-php branch from 596da90 to f7f1f07 Compare July 12, 2024 16:45
@amaanq amaanq merged commit 88e80e5 into main Jul 12, 2024
70 checks passed
@jasonforal jasonforal deleted the amaan.qureshi/add-php branch November 8, 2024 09:38
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