Вывод php говорит мне поставить 8 пробелов внутри if
Код: Выделить всё
class bla
{
private function wop()
{
if (true) {
$something = 'yes'; // 6 spaces indent is what I want!
}
}
}
(PSR12.ControlStructures.ControlStructureSpacing.LineIndent) Each line in a
multi-line control structure must be
How do I tell phpcs that I prefer 6 spaces?
Источник: https://stackoverflow.com/questions/781 ... structures
Мобильная версия