Documentation

DoctrineAnnotationBracesFixer extends AbstractDoctrineAnnotationFixer
in package
implements ConfigurableFixerInterface uses ConfigurableFixerTrait

FinalYes

Adds braces to Doctrine annotations when missing.

Tags
implements

ConfigurableFixerInterface<_AutogeneratedInputConfiguration, _AutogeneratedComputedConfiguration>

phpstan-type

_AutogeneratedInputConfiguration array{ ignored_tags?: list, syntax?: 'with_braces'|'without_braces' }

phpstan-type

_AutogeneratedComputedConfiguration array{ ignored_tags: list, syntax: 'with_braces'|'without_braces' }

Table of Contents

Interfaces

ConfigurableFixerInterface

Methods

getDefinition()  : FixerDefinitionInterface
Returns the definition of the fixer.
createConfigurationDefinition()  : FixerConfigurationResolverInterface
fixAnnotations()  : void
addBracesToAnnotations()  : void
removesBracesFromAnnotations()  : void

Methods

fixAnnotations()

protected fixAnnotations(Tokens $doctrineAnnotationTokens) : void
Parameters
$doctrineAnnotationTokens : Tokens

        
On this page

Search results