PSR-2 – why has been spaces chosen?

dakur
Member | 493
+
+1
-

Hi,

I'm curious, why PHP FIG chose spaces for indentation? Is there any explanation? I can't find any on Google nor PHP-FIG itself, just “Code MUST use 4 spaces” without any comment.

Thanks.


Please do not start flame wars. I'm searching for a source, not for opinions. Thank you.

Last edited by dakur (2021-08-30 09:13)

Rick Strafy
Nette Blogger | 63
+
+1
-

Found it, https://github.com/…ards/pull/35#…

Last edited by Rick Strafy (2021-08-30 09:53)

dakur
Member | 493
+
0
-

@RickStrafy Thank you very much!! It was really helpful (as well as the links inside) to understand the problem.