PHP 클래스 PhpCsFixer\Fixer\Operator\BinaryOperatorSpacesFixer

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

공개 메소드들

메소드 설명
configure ( array $configuration = null ) Key any of; 'align_equals', 'align_double_arrow'.
fix ( SplFileInfo $file, Tokens $tokens )
isCandidate ( Tokens $tokens )

보호된 메소드들

메소드 설명
getDescription ( )

비공개 메소드들

메소드 설명
fixWhiteSpaceAroundOperator ( Tokens $tokens, integer $index )
isDeclareStatement ( Tokens $tokens, integer $index ) : false | integer
runHelperFixers ( SplFileInfo $file, Tokens $tokens )

메소드 상세

configure() 공개 메소드

Value 'bool': 'false' do unalign, 'true' do align, or 'null': do not modify.
public configure ( array $configuration = null )
$configuration array

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