Configure VS Code or VSCodium to use two spaces not tabs per Drupal coding standards

ctrl + shift + p to edit settings.json

and add something like this:

"[php]": {
    "editor.insertSpaces": true,
    "editor.tabSize": 2,
}