Unnamed repository; edit this file 'description' to name the repository.
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.
Daniel Poulin 2021-11-02
parent 1720b98 · commit 924b7d3
-rw-r--r--languages.toml2
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"