PHP Класс PhpCsFixer\Fixer\ControlStructure\NoUnneededControlParenthesesFixer

Автор: Sullivan Senechal ([email protected])
Автор: Dariusz Rumiński ([email protected])
Автор: Gregor Harlan ([email protected])
Наследование: extends PhpCsFixer\AbstractFixer, implements PhpCsFixer\Fixer\ConfigurableFixerInterface
Показать файл Открыть проект

Открытые методы

Метод Описание
__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 )

Защищенные методы

Метод Описание
getDescription ( )

Описание методов

__construct() публичный Метод

Dynamic yield option set on constructor.
public __construct ( )

configure() публичный Метод

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

fix() публичный Метод

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

getDescription() защищенный Метод

protected getDescription ( )

getPriority() публичный Метод

public getPriority ( )

isCandidate() публичный Метод

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