CurlyBracesPositionFixer
extends AbstractProxyFixer
in package
implements
ConfigurableFixerInterface, DeprecatedFixerInterface, WhitespacesAwareFixerInterface
uses
ConfigurableFixerTrait, Indentation
FinalYes
Tags
Table of Contents
Interfaces
Properties
Methods
- __construct() : mixed
- getDefinition() : FixerDefinitionInterface
- Returns the definition of the fixer.
- getPriority() : int
- Returns the priority of the fixer.
- getSuccessorsNames() : array<int, string>
- Returns names of fixers to use instead, if any.
- configurePreNormalisation() : void
- createConfigurationDefinition() : FixerConfigurationResolverInterface
- createProxyFixers() : array<string|int, mixed>
Properties
$bracesPositionFixer
private
BracesPositionFixer
$bracesPositionFixer
Methods
__construct()
public
__construct() : mixed
getDefinition()
Returns the definition of the fixer.
public
getDefinition() : FixerDefinitionInterface
Return values
FixerDefinitionInterfacegetPriority()
Returns the priority of the fixer.
public
getPriority() : int
Must run before SingleLineEmptyBodyFixer, StatementIndentationFixer. Must run after ControlStructureBracesFixer, NoMultipleStatementsPerLineFixer.
Return values
intgetSuccessorsNames()
Returns names of fixers to use instead, if any.
public
getSuccessorsNames() : array<int, string>
Return values
array<int, string>configurePreNormalisation()
protected
configurePreNormalisation(_AutogeneratedInputConfiguration $configuration) : void
Parameters
- $configuration : _AutogeneratedInputConfiguration
createConfigurationDefinition()
protected
createConfigurationDefinition() : FixerConfigurationResolverInterface
Return values
FixerConfigurationResolverInterfacecreateProxyFixers()
protected
createProxyFixers() : array<string|int, mixed>