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.
commit924b7d3b192915f0a56393bb2a78318e39f1a151
authorDaniel Poulin <dan.poulin@digitalsurgeons.com>
dateMon 1 Nov 2021, 10:37 (5 years ago)
parent1720b98
languages.toml+1−1
@@ -200,7 +200,7 @@ injection-regex = "php"
200200file-types = ["php"]
201201roots = []
202202
203−indent = { tab-width = 2, unit = " " }
203+indent = { tab-width = 4, unit = " " }
204204
205205[[language]]
206206name = "latex"