Output of phpcs
is telling me to put 8 spaces inside the if
class bla
{
private function wop()
{
if (true) {
$something = 'yes'; // 6 spaces indent is what I want!
}
}
}
indented at least once; expected at least 8 spaces, but found 6 (PSR12.ControlStructures.ControlStructureSpacing.LineIndent) Each line in a multi-line control structure must be
How do I tell phpcs
that I prefer 6 spaces?
Indentation size is part of PSR-12 so it isn't possible to fine-tune it if you want to comply with that coding style: