Documentation

IndentationTypeFixer extends AbstractFixer
in package
implements WhitespacesAwareFixerInterface

Fixer for rules defined in PSR2 ¶2.4.

Tags
author

Dariusz Rumiński dariusz.ruminski@gmail.com

Interfaces, Classes and Traits

WhitespacesAwareFixerInterface

Table of Contents

$indent  : string
getDefinition()  : mixed
{@inheritdoc}
getPriority()  : mixed
{@inheritdoc}
isCandidate()  : mixed
{@inheritdoc}
applyFix()  : mixed
{@inheritdoc}
fixIndentInComment()  : Token
fixIndentToken()  : Token
getExpectedIndent()  : string

Properties

Methods

getPriority()

{@inheritdoc}

public getPriority() : mixed

Must run before PhpdocIndentFixer. Must run after ClassAttributesSeparationFixer, MethodSeparationFixer.

Return values
mixed

applyFix()

{@inheritdoc}

protected applyFix(SplFileInfo $file, Tokens $tokens) : mixed
Parameters
$file : SplFileInfo
$tokens : Tokens
Return values
mixed

getExpectedIndent()

private getExpectedIndent(string $content, string $indent) : string
Parameters
$content : string
$indent : string
Return values
string

mixed

Search results