Documentation

NewWithBracesFixer extends AbstractProxyFixer
in package
implements ConfigurableFixerInterface, DeprecatedFixerInterface uses ConfigurableFixerTrait

FinalYes
Tags
author

Dariusz Rumiński dariusz.ruminski@gmail.com

deprecated
implements

ConfigurableFixerInterface<_AutogeneratedInputConfiguration, _AutogeneratedComputedConfiguration>

phpstan-type

_AutogeneratedInputConfiguration array{ anonymous_class?: bool, named_class?: bool }

phpstan-type

_AutogeneratedComputedConfiguration array{ anonymous_class: bool, named_class: bool }

Table of Contents

Interfaces

ConfigurableFixerInterface
DeprecatedFixerInterface

Properties

$newWithParenthesesFixer  : NewWithParenthesesFixer

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

Methods

getPriority()

Returns the priority of the fixer.

public getPriority() : int

Must run before ClassDefinitionFixer.

Return values
int

getSuccessorsNames()

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

createProxyFixers()

protected createProxyFixers() : array<string|int, mixed>
Return values
array<string|int, mixed>

        
On this page

Search results