NoUnneededCurlyBracesFixer
extends AbstractProxyFixer
in package
implements
ConfigurableFixerInterface, DeprecatedFixerInterface
uses
ConfigurableFixerTrait
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
$noUnneededBracesFixer
private
NoUnneededBracesFixer
$noUnneededBracesFixer
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 NoUselessElseFixer, NoUselessReturnFixer, ReturnAssignmentFixer, SimplifiedIfReturnFixer.
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>