OrderedInterfacesFixer
extends AbstractFixer
in package
implements
ConfigurationDefinitionFixerInterface
Tags
Interfaces, Classes and Traits
Table of Contents
- $supportedDirectionOptions : array<string|int, string>
- Array of supported directions in configuration.
- $supportedOrderOptions : array<string|int, string>
- Array of supported orders in configuration.
- getDefinition() : mixed
- {@inheritdoc}
- isCandidate() : mixed
- {@inheritdoc}
- isRisky() : mixed
- {@inheritdoc}
- applyFix() : mixed
- {@inheritdoc}
- createConfigurationDefinition() : mixed
- {@inheritdoc}
Properties
$supportedDirectionOptions
Array of supported directions in configuration.
private
array<string|int, string>
$supportedDirectionOptions
= [self::DIRECTION_ASCEND, self::DIRECTION_DESCEND]
$supportedOrderOptions
Array of supported orders in configuration.
private
array<string|int, string>
$supportedOrderOptions
= [self::ORDER_ALPHA, self::ORDER_LENGTH]
Methods
getDefinition()
{@inheritdoc}
public
getDefinition() : mixed
Return values
mixed —isCandidate()
{@inheritdoc}
public
isCandidate(Tokens $tokens) : mixed
Parameters
- $tokens : Tokens
Return values
mixed —isRisky()
{@inheritdoc}
public
isRisky() : mixed
Return values
mixed —applyFix()
{@inheritdoc}
protected
applyFix(SplFileInfo $file, Tokens $tokens) : mixed
Parameters
- $file : SplFileInfo
- $tokens : Tokens
Return values
mixed —createConfigurationDefinition()
{@inheritdoc}
protected
createConfigurationDefinition() : mixed