PHP Class PhpCsFixer\Fixer\ClassNotation\ProtectedToPrivateFixer

Author: Filippo Tessarotto ([email protected])
Author: SpacePossum
Inheritance: extends PhpCsFixer\AbstractFixer
Mostrar archivo Open project: friendsofphp/php-cs-fixer

Public Methods

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

Protected Methods

Method Description
getDescription ( )

Private Methods

Method Description
fixClass ( Tokens $tokens, integer $classIndex, integer $classOpenIndex, integer $classCloseIndex )
skipClass ( Tokens $tokens, integer $classIndex, integer $classOpenIndex, integer $classCloseIndex ) : boolean Decide whether or not skip the fix for given class.

Method Details

fix() public method

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

getDescription() protected method

protected getDescription ( )

getPriority() public method

public getPriority ( )

isCandidate() public method

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