Skip to content

Commit 924b7d3

Browse files
EpocSquadronarchseer
authored andcommitted
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.
1 parent 1720b98 commit 924b7d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

languages.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ injection-regex = "php"
200200
file-types = ["php"]
201201
roots = []
202202

203-
indent = { tab-width = 2, unit = " " }
203+
indent = { tab-width = 4, unit = " " }
204204

205205
[[language]]
206206
name = "latex"

0 commit comments

Comments
 (0)