PHP 클래스 PhpCsFixer\Fixer\ArrayNotation\WhitespaceAfterCommaInArrayFixer

저자: Adam Marczuk ([email protected])
상속: extends PhpCsFixer\AbstractFixer
파일 보기 프로젝트 열기: friendsofphp/php-cs-fixer

공개 메소드들

메소드 설명
fix ( SplFileInfo $file, Tokens $tokens )
isCandidate ( Tokens $tokens )

보호된 메소드들

메소드 설명
getDescription ( )

비공개 메소드들

메소드 설명
fixSpacing ( integer $index, Tokens $tokens ) Method to fix spacing in array declaration.
skipNonArrayElements ( integer $index, Tokens $tokens ) : integer Method to move index over the non-array elements like function calls or function declarations.

메소드 상세

fix() 공개 메소드

public fix ( SplFileInfo $file, Tokens $tokens )
$file SplFileInfo
$tokens PhpCsFixer\Tokenizer\Tokens

getDescription() 보호된 메소드

protected getDescription ( )

isCandidate() 공개 메소드

public isCandidate ( Tokens $tokens )
$tokens PhpCsFixer\Tokenizer\Tokens