PHP Class PhpCsFixer\Fixer\FunctionNotation\NoSpacesAfterFunctionNameFixer

Author: Varga Bence ([email protected])
Author: Dariusz Rumiński ([email protected])
Inheritance: extends PhpCsFixer\AbstractFixer
Exibir arquivo Open project: friendsofphp/php-cs-fixer

Public Methods

Method Description
fix ( SplFileInfo $file, Tokens $tokens )
isCandidate ( Tokens $tokens )

Protected Methods

Method Description
getDescription ( )

Private Methods

Method Description
fixFunctionCall ( Tokens $tokens, integer $index ) Fixes whitespaces around braces of a function(y) call.
getFunctionyTokenKinds ( ) : int[] Gets the token kinds which can work as function calls.
getLanguageConstructionTokenKinds ( ) : int[] Gets the token kinds of actually language construction.

Method Details

fix() public method

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

getDescription() protected method

protected getDescription ( )

isCandidate() public method

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