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.
imgbot
Daniel Poulin 3 years ago committed by Blaž Hrastnik
parent 1720b98760
commit 924b7d3b19

@ -200,7 +200,7 @@ injection-regex = "php"
file-types = ["php"] file-types = ["php"]
roots = [] roots = []
indent = { tab-width = 2, unit = " " } indent = { tab-width = 4, unit = " " }
[[language]] [[language]]
name = "latex" name = "latex"

Loading…
Cancel
Save