PHP Класс HippoPHP\Hippo\Checks\Whitespace\IndentationCheck

Наследование: extends HippoPHP\Hippo\Checks\AbstractCheck, implements HippoPHP\Hippo\Checks\CheckInterface
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$indentCount integer Number of indentation characters per-level.
$indentStyle string Either 'tab' or 'space'.

Открытые методы

Метод Описание
getConfigRoot ( ) : string
setIndentCount ( integer $count ) : IndentationCheck Sets the indentation count.
setIndentStyle ( string $style ) : IndentationCheck Sets the indentation style.

Защищенные методы

Метод Описание
checkFileInternal ( CheckContext $checkContext, Config $config ) checkFileInternal(): defined by AbstractCheck.

Приватные методы

Метод Описание
escape ( $string )
getBaseIndentation ( )
getLines ( $tokenList )

Описание методов

checkFileInternal() защищенный Метод

checkFileInternal(): defined by AbstractCheck.
См. также: AbstractCheck::checkFileInternal()
protected checkFileInternal ( CheckContext $checkContext, Config $config )
$checkContext HippoPHP\Hippo\CheckContext
$config HippoPHP\Hippo\Config\Config

getConfigRoot() публичный Метод

public getConfigRoot ( ) : string
Результат string

setIndentCount() публичный Метод

Sets the indentation count.
public setIndentCount ( integer $count ) : IndentationCheck
$count integer
Результат IndentationCheck

setIndentStyle() публичный Метод

Sets the indentation style.
public setIndentStyle ( string $style ) : IndentationCheck
$style string
Результат IndentationCheck

Описание свойств

$indentCount защищенное свойство

Number of indentation characters per-level.
protected int $indentCount
Результат integer

$indentStyle защищенное свойство

Either 'tab' or 'space'.
protected string $indentStyle
Результат string