PHP Class PhpCsFixer\Fixer\ControlStructure\NoUnneededControlParenthesesFixer

Author: Sullivan Senechal ([email protected])
Author: Dariusz Rumiński ([email protected])
Author: Gregor Harlan ([email protected])
Inheritance: extends PhpCsFixer\AbstractFixer, implements PhpCsFixer\Fixer\ConfigurableFixerInterface
Afficher le fichier Open project: friendsofphp/php-cs-fixer

Méthodes publiques

Méthode Description
__construct ( ) Dynamic yield option set on constructor.
configure ( array $controlStatements = null )
fix ( SplFileInfo $file, Tokens $tokens )
getPriority ( ) Should be run before no_trailing_whitespace.
isCandidate ( Tokens $tokens )

Méthodes protégées

Méthode Description
getDescription ( )

Method Details

__construct() public méthode

Dynamic yield option set on constructor.
public __construct ( )

configure() public méthode

public configure ( array $controlStatements = null )
$controlStatements array

fix() public méthode

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

getDescription() protected méthode

protected getDescription ( )

getPriority() public méthode

public getPriority ( )

isCandidate() public méthode

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