PHP 클래스 PhpCsFixer\Fixer\Operator\ConcatSpaceFixer

저자: Dariusz Rumiński ([email protected])
저자: SpacePossum
상속: extends PhpCsFixer\AbstractFixer, implements PhpCsFixer\Fixer\ConfigurableFixerInterface
파일 보기 프로젝트 열기: friendsofphp/php-cs-fixer

공개 메소드들

메소드 설명
configure ( array $configuration = null ) Configuration must have one element 'spacing' with value 'none' (default) or 'one'.
fix ( SplFileInfo $file, Tokens $tokens )
getDefinition ( )
isCandidate ( Tokens $tokens )

비공개 메소드들

메소드 설명
fixConcatenationToNoSpace ( Tokens $tokens, integer $index )
fixConcatenationToSingleSpace ( Tokens $tokens, integer $index )
fixWhiteSpaceAroundConcatToken ( Tokens $tokens, integer $index, integer $offset )

메소드 상세

configure() 공개 메소드

Configuration must have one element 'spacing' with value 'none' (default) or 'one'.
public configure ( array $configuration = null )
$configuration array

fix() 공개 메소드

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

getDefinition() 공개 메소드

public getDefinition ( )

isCandidate() 공개 메소드

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