php: Update Pest tree-sitter queries to capture single quotes (#12467)

Improved PHP Pest outline and runnables to support single quoted
arguments
([#12461](https://github.com/zed-industries/zed/issues/12461)).

Release Notes:

- N/A

| Before | After |
|--------|--------|
|
![image](https://github.com/zed-industries/zed/assets/428033/e0966510-da11-4a80-8901-7dba541ab721)
| ![CleanShot 2024-05-29 at 20 13
00@2x](https://github.com/zed-industries/zed/assets/428033/5f7ab492-2791-4a04-9ec3-f0adfa9b2986)
|
| ![CleanShot 2024-05-29 at 20 18
11@2x](https://github.com/zed-industries/zed/assets/428033/ac6bf58b-4e7d-410d-af51-328c41a76ba0)
| ![CleanShot 2024-05-29 at 20 14
35@2x](https://github.com/zed-industries/zed/assets/428033/1d226bb8-f102-4171-906d-e122ab8299cf)
|
This commit is contained in:
Sean Washington 2024-05-30 07:37:41 -07:00 committed by GitHub
parent 55c47305c8
commit 436a8fa0ce
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 8 additions and 2 deletions

View File

@ -35,7 +35,10 @@
arguments: (arguments arguments: (arguments
. .
(argument (argument
(encapsed_string (string_value) @name) [
(encapsed_string (string_value) @name)
(string (string_value) @name)
]
) )
) )
) @item ) @item

View File

@ -94,7 +94,10 @@
arguments: (arguments arguments: (arguments
. .
(argument (argument
(encapsed_string (string_value) @run) [
(encapsed_string (string_value) @run)
(string (string_value) @run)
]
) )
) )
) @pest-test ) @pest-test