DoctrineAnnotationBracesFixer
extends AbstractDoctrineAnnotationFixer
in package
implements
ConfigurableFixerInterface
uses
ConfigurableFixerTrait
FinalYes
Adds braces to Doctrine annotations when missing.
Tags
Table of Contents
Interfaces
Methods
- getDefinition() : FixerDefinitionInterface
- Returns the definition of the fixer.
- createConfigurationDefinition() : FixerConfigurationResolverInterface
- fixAnnotations() : void
- addBracesToAnnotations() : void
- removesBracesFromAnnotations() : void
Methods
getDefinition()
Returns the definition of the fixer.
public
getDefinition() : FixerDefinitionInterface
Return values
FixerDefinitionInterfacecreateConfigurationDefinition()
protected
createConfigurationDefinition() : FixerConfigurationResolverInterface
Return values
FixerConfigurationResolverInterfacefixAnnotations()
protected
fixAnnotations(Tokens $doctrineAnnotationTokens) : void
Parameters
- $doctrineAnnotationTokens : Tokens
addBracesToAnnotations()
private
addBracesToAnnotations(Tokens $tokens) : void
Parameters
- $tokens : Tokens
removesBracesFromAnnotations()
private
removesBracesFromAnnotations(Tokens $tokens) : void
Parameters
- $tokens : Tokens