diff --git a/.vscode/extensions.json b/.vscode/extensions.json new file mode 100644 index 000000000..b5d76ac4c --- /dev/null +++ b/.vscode/extensions.json @@ -0,0 +1,7 @@ +{ + "recommendations": [ + "felixfbecker.php-intellisense", + "ikappas.phpcs", + "emallin.phpunit" + ] +} diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 000000000..33478aa0a --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,18 @@ +{ + "editor.renderWhitespace": "all", + "files.insertFinalNewline": true, + "files.trimFinalNewlines": true, + "files.trimTrailingWhitespace": true, + "[php]": { + "editor.detectIndentation": false, + "editor.insertSpaces": true, + "editor.rulers": [ + 100 + ], + "editor.tabSize": 4, + }, + + // Linting + "phpcs.enable": true, + "phpcs.standard": "PSR2" +}