From a2deb6b3369895d70e8932153ed313027e261c1c Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Fri, 20 Mar 2026 18:58:41 +0000 Subject: [PATCH] docs: use ${workspaceFolder} instead of deprecated ${workspaceRoot} in executablePath example The README showed ${workspaceRoot} as the example for configuring a workspace-relative executablePath. This variable is deprecated in VS Code (since v1.10); ${workspaceFolder} is the current name and should be used in documentation. The extension code already supports both forms. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 86b5473..d8985e9 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,7 @@ This extension has the following settings: * `phpcbf.enable`: [ Optional | Default: `true` ] enable/disable this extension. * `phpcbf.executablePath`: [ **Required** | Default: `phpcbf` ] Can be: - * `${workspaceRoot}/vendor/bin/phpcbf` + * `${workspaceFolder}/vendor/bin/phpcbf` * `./vendor/bin/phpcbf` * `~/.composer/vendor/bin/phpcbf` * `phpcbf.bat`