InlineTagFixer
final class InlineTagFixer extends AbstractFixer implements ConfigurationDefinitionFixerInterface (View source)
Constants
OPTION_SPACEBEFORE |
|
OPTION_SPACEAFTER |
|
OPTION_SEMICOLON |
|
SPACE_MINIMUM |
|
SPACE_ONE |
|
SPACE_KEEP |
|
private SUPPORTED_SPACEBEFORE_OPTIONS |
|
private SUPPORTED_SPACEAFTER_OPTIONS |
|
Methods
getName()
{@inheritdoc}
getDefinition()
{@inheritdoc}
isCandidate(Tokens $tokens)
{@inheritdoc}
createConfigurationDefinition()
{@inheritdoc}
array|null
findApplicableRange(Tokens $tokens, int $start = 0)
Find the next range of tokens that should be fixes.
array
fixRange(array $tokens)
No description
array
fixStart(array $tokens)
No description
array
fixEnd(array $tokens)
No description
array
popWhitespacesAndSemicolons(array $tokens, bool $semicolons, bool $whitespaces)
No description
bool
needsSemicolonAfter(array $tokens)
No description
Details
getName()
{@inheritdoc}
getDefinition()
{@inheritdoc}
isCandidate(Tokens $tokens)
{@inheritdoc}
protected
createConfigurationDefinition()
{@inheritdoc}
protected
applyFix(SplFileInfo $file, Tokens $tokens)
{@inheritdoc}
private array|null
findApplicableRange(Tokens $tokens, int $start = 0)
Find the next range of tokens that should be fixes.
private array
fixRange(array $tokens)
No description
private array
fixStart(array $tokens)
No description
private array
fixEnd(array $tokens)
No description
private array
popWhitespacesAndSemicolons(array $tokens, bool $semicolons, bool $whitespaces)
No description
private bool
needsSemicolonAfter(array $tokens)
No description