Skip to content

feat(php): add query for arrow functions - #900

Merged
kiyoon merged 1 commit into
nvim-treesitter:mainfrom
tomshoo:fixes/php-arrow-functions
Sep 3, 2026
Merged

kiyoon merged 1 commit into
nvim-treesitter:mainfrom
tomshoo:fixes/php-arrow-functions

Conversation

@tomshoo

@tomshoo tomshoo commented Aug 18, 2026

Copy link
Copy Markdown
Contributor

The current implementation for php lacks queries matching arrow functions in php, which are defined as:

static fn (...$args) => <expression>

or

fn (...$args) => <expression>

This PR adds that query.

@kiyoon kiyoon changed the title fix(php): add query for arrow functions feat(php): add query for arrow functions Aug 19, 2026
@kiyoon
kiyoon merged commit 5c7b026 into nvim-treesitter:main Sep 3, 2026
3 checks passed
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