PHP Class Flitch\Rule\Whitespace\Indentation

Inheritance: extends Flitch\Rule\AbstractRule
Datei anzeigen Open project: dasprid/flitch

Protected Properties

Property Type Description
$indentCount integer Number of indentation characters per level.
$indentStyle string Indentation style, can be "space" or "tab".

Public Methods

Method Description
check ( File $file ) : void check(): defined by Rule interface.
setIndentCount ( integer $count ) : Indentation Set indentation count.
setIndentStyle ( string $style ) : Indentation Set indentation style.

Method Details

check() public method

check(): defined by Rule interface.
See also: Rule::check()
public check ( File $file ) : void
$file Flitch\File\File
return void

setIndentCount() public method

Set indentation count.
public setIndentCount ( integer $count ) : Indentation
$count integer
return Indentation

setIndentStyle() public method

Set indentation style.
public setIndentStyle ( string $style ) : Indentation
$style string
return Indentation

Property Details

$indentCount protected_oe property

Number of indentation characters per level.
protected int $indentCount
return integer

$indentStyle protected_oe property

Indentation style, can be "space" or "tab".
protected string $indentStyle
return string