Skip to content

Tab Size - Code Format #40548

Answered by eusonlito
babakfp asked this question in General
Jan 21, 2022 · 2 comments · 3 replies
Discussion options

You must be logged in to vote

Set your editor to 4 spaces, as PHP PSR-12 rules say:

https://www.php-fig.org/psr/psr-12/

2.4 Indenting
Code MUST use an indent of 4 spaces for each indent level, and MUST NOT use tabs for indenting.

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@babakfp
Comment options

@eusonlito
Comment options

@babakfp
Comment options

Answer selected by babakfp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #40547 on January 21, 2022 22:12.