From 924b7d3b192915f0a56393bb2a78318e39f1a151 Mon Sep 17 00:00:00 2001 From: Daniel Poulin Date: Mon, 1 Nov 2021 10:37:14 -0400 Subject: [PATCH] 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. --- languages.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/languages.toml b/languages.toml index b2726d820..bd510ea1c 100644 --- a/languages.toml +++ b/languages.toml @@ -200,7 +200,7 @@ injection-regex = "php" file-types = ["php"] roots = [] -indent = { tab-width = 2, unit = " " } +indent = { tab-width = 4, unit = " " } [[language]] name = "latex"