From af610f6b8939b31778196df5b92cd60e978a7f6f Mon Sep 17 00:00:00 2001 From: Nathan Schmidt <91974372+nathan-schmidt-viget@users.noreply.github.com> Date: Tue, 19 Dec 2023 16:46:10 -0700 Subject: [PATCH] Updating vscode setting --- .vscode/extensions.json | 6 +----- .vscode/settings.json | 15 ++++++++++----- 2 files changed, 11 insertions(+), 10 deletions(-) diff --git a/.vscode/extensions.json b/.vscode/extensions.json index 3d48d064a..a10bf4228 100644 --- a/.vscode/extensions.json +++ b/.vscode/extensions.json @@ -1,7 +1,3 @@ { - "recommendations": [ - "persoderlind.vscode-phpcbf", - "shevaua.phpcs", - "EditorConfig.EditorConfig" - ] + "recommendations": ["valeryanm.vscode-phpsab", "EditorConfig.EditorConfig"] } diff --git a/.vscode/settings.json b/.vscode/settings.json index 6eb482129..8466181d2 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -2,9 +2,14 @@ "editor.indentSize": "tabSize", "editor.tabSize": 4, "editor.formatOnSave": true, - "phpcs.standard": "WordPress", - "phpcbf.standard": "WordPress", - "phpcs.errorSeverity": 4, - "phpcs.warningSeverity": 4, - "intelephense.environment.phpVersion": "8.1" + "phpsab.debug": true, + "intelephense.environment.phpVersion": "8.1", + "phpsab.allowedAutoRulesets": [ + ".phpcs.xml", + ".phpcs.xml.dist", + "phpcs.xml", + "phpcs.xml.dist", + "phpcs.ruleset.xml", + "ruleset.xml" + ] }