summaryrefslogtreecommitdiff
path: root/.vscode
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2023-10-24 22:27:27 +0300
committerAndrew Dolgov <[email protected]>2023-10-24 22:27:27 +0300
commit69c1c629927cd78286fc6c8d61b5b5ad78245508 (patch)
tree01cf192af1d71f6406aed02e492749f70d96d4c8 /.vscode
parentde2830b241dc393695fe9278d431d412c1be6266 (diff)
add a workaround for make_self_url() when invoked off /api/ endpoint, add unit tests for this method
Diffstat (limited to '.vscode')
-rw-r--r--.vscode/tasks.json28
1 files changed, 18 insertions, 10 deletions
diff --git a/.vscode/tasks.json b/.vscode/tasks.json
index d59e3ff10..11fd2c305 100644
--- a/.vscode/tasks.json
+++ b/.vscode/tasks.json
@@ -6,22 +6,30 @@
"label": "phpstan (watcher)",
"isBackground": true,
"problemMatcher": {
- "fileLocation": ["relative", "${workspaceRoot}"],
+ "fileLocation": [
+ "relative",
+ "${workspaceRoot}"
+ ],
"owner": "phpstan-watcher",
"pattern": {
- "regexp": "^/app/(.*?):([0-9\\?]*):(.*)$",
- "file": 1,
- "line": 2,
- "message": 3
+ "regexp": "^/app/(.*?):([0-9\\?]*):(.*)$",
+ "file": 1,
+ "line": 2,
+ "message": 3
},
"background": {
"activeOnStart": true,
"beginsPattern": "Using configuration file",
"endsPattern": "All done"
-
}
- },
- "command": "chmod +x ${workspaceRoot}/utils/phpstan-watcher.sh && ${workspaceRoot}/utils/phpstan-watcher.sh",
+ },
+ "command": "chmod +x ${workspaceRoot}/utils/phpstan-watcher.sh && ${workspaceRoot}/utils/phpstan-watcher.sh"
+ },
+ {
+ "type": "shell",
+ "label": "phpunit",
+ "command": "chmod +x ${workspaceRoot}/utils/phpunit.sh && ${workspaceRoot}/utils/phpunit.sh",
+ "problemMatcher": []
},
{
"type": "gulp",
@@ -30,9 +38,9 @@
"label": "gulp: default",
"options": {
"env": {
- "PATH": "${env:PATH}:/usr/lib/sdk/node16/bin/"
+ "PATH": "${env:PATH}:/usr/lib/sdk/node16/bin/"
}
- }
+ }
}
]
}