diff options
author | Daniel Poulin | 2021-11-01 14:37:14 +0000 |
---|---|---|
committer | Blaž Hrastnik | 2021-11-02 08:53:24 +0000 |
commit | 924b7d3b192915f0a56393bb2a78318e39f1a151 (patch) | |
tree | 9e0c5a66cd132cae6ffea1a64d644c9567bd3157 | |
parent | 1720b98760eb5958a31bc6e2b88564dbf5bf63e5 (diff) |
Adjust PHP indentation defaults to 4 spaces
In the PHP community, 4 spaces is widely considered the default, as
it is recommended by the PSR-2 and PSR-12 standards, as well as popular
derivative standards like those for Laravel and Symphony.
-rw-r--r-- | languages.toml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/languages.toml b/languages.toml index b2726d82..bd510ea1 100644 --- a/languages.toml +++ b/languages.toml @@ -200,7 +200,7 @@ injection-regex = "php" file-types = ["php"] roots = [] -indent = { tab-width = 2, unit = " " } +indent = { tab-width = 4, unit = " " } [[language]] name = "latex" |