tasks.json
1[
2 {
3 "label": "phpunit test $ZED_SYMBOL",
4 "command": "./vendor/bin/phpunit",
5 "args": ["--filter $ZED_SYMBOL $ZED_FILE"],
6 "tags": ["phpunit-test"]
7 },
8 {
9 "label": "pest test $ZED_SYMBOL",
10 "command": "./vendor/bin/pest",
11 "args": ["--filter \"$ZED_SYMBOL\" $ZED_FILE"],
12 "tags": ["pest-test"]
13 },
14 {
15 "label": "execute selection $ZED_SELECTED_TEXT",
16 "command": "php",
17 "args": ["-r", "$ZED_SELECTED_TEXT"]
18 }
19]