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.
This commit is contained in:
parent
1720b98760
commit
924b7d3b19
1 changed files with 1 additions and 1 deletions
|
@ -200,7 +200,7 @@ injection-regex = "php"
|
|||
file-types = ["php"]
|
||||
roots = []
|
||||
|
||||
indent = { tab-width = 2, unit = " " }
|
||||
indent = { tab-width = 4, unit = " " }
|
||||
|
||||
[[language]]
|
||||
name = "latex"
|
||||
|
|
Loading…
Add table
Reference in a new issue