PHP - CodeSniffer — Spaces must be used to indent lines; tabs are not allowed
Материал из Wiki - Iphoster - the best ever hosting and support. 2005 - 2023
Версия от 13:18, 30 ноября 2020; Admin iph (обсуждение | вклад) (Новая страница: «=== PHP - CodeSniffer — Spaces must be used to indent lines; tabs are not allowed === Ошибка от линтера Spaces must be used to indent lines;...»)
PHP - CodeSniffer — Spaces must be used to indent lines; tabs are not allowed
Ошибка от линтера
Spaces must be used to indent lines; tabs are not allowed
сообщает о том, что использования TAB запрещено, согласно спецификации PSR-12: Extended Coding Style (https://www.php-fig.org/psr/psr-12/) нужно использовать для отступа — 4 пробела.