Skip to content

Commit

Permalink
Adjust PHP indentation defaults to 4 spaces
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
EpocSquadron authored and archseer committed Nov 2, 2021
1 parent 1720b98 commit 924b7d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion languages.toml
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ injection-regex = "php"
file-types = ["php"]
roots = []

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

[[language]]
name = "latex"
Expand Down

0 comments on commit 924b7d3

Please sign in to comment.