PHP 클래스 PhpCsFixer\Fixer\FunctionNotation\MethodArgumentSpaceFixer

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

공개 메소드들

메소드 설명
fix ( SplFileInfo $file, Tokens $tokens )
fixSpace ( Tokens $tokens, integer $index ) Method to insert space after comma and remove space before comma.
isCandidate ( Tokens $tokens )

보호된 메소드들

메소드 설명
getDescription ( )

비공개 메소드들

메소드 설명
fixFunction ( Tokens $tokens, integer $startFunctionIndex ) Fix arguments spacing for given function.
isCommentLastLineToken ( Tokens $tokens, integer $index ) : boolean Check if last item of current line is a comment.

메소드 상세

fix() 공개 메소드

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

fixSpace() 공개 메소드

Method to insert space after comma and remove space before comma.
public fixSpace ( Tokens $tokens, integer $index )
$tokens PhpCsFixer\Tokenizer\Tokens
$index integer

getDescription() 보호된 메소드

protected getDescription ( )

isCandidate() 공개 메소드

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