PHP Class PhpCsFixer\Fixer\Phpdoc\PhpdocSummaryFixer

Author: Graham Campbell ([email protected])
Inheritance: extends PhpCsFixer\AbstractFixer, implements PhpCsFixer\Fixer\WhitespacesAwareFixerInterface
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
findShortDescriptionEnd ( array $lines ) : integer | null Find the line number of the line containing the end of the short description, if present.
isCorrectlyFormatted ( string $content ) : boolean Is the last line of the short description correctly formatted?

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