Documentation

NativeConstantInvocationFixer extends AbstractFixer
in package
implements ConfigurationDefinitionFixerInterface

Tags
author

Filippo Tessarotto zoeslam@gmail.com

Interfaces, Classes and Traits

ConfigurationDefinitionFixerInterface

Table of Contents

$caseInsensitiveConstantsToEscape  : array<string, true>
$constantsToEscape  : array<string, true>
configure()  : mixed
{@inheritdoc}
getDefinition()  : mixed
{@inheritdoc}
getPriority()  : mixed
{@inheritdoc}
isCandidate()  : mixed
{@inheritdoc}
isRisky()  : mixed
{@inheritdoc}
applyFix()  : mixed
{@inheritdoc}
createConfigurationDefinition()  : mixed
{@inheritdoc}
fixConstantInvocations()  : mixed

Properties

Methods

configure()

{@inheritdoc}

public configure([array<string|int, mixed> $configuration = null ]) : mixed
Parameters
$configuration : array<string|int, mixed> = null
Return values
mixed

getPriority()

{@inheritdoc}

public getPriority() : mixed

Must run before GlobalNamespaceImportFixer.

Return values
mixed

fixConstantInvocations()

private fixConstantInvocations(Tokens $tokens, int $startIndex, int $endIndex) : mixed
Parameters
$tokens : Tokens
$startIndex : int
$endIndex : int
Return values
mixed

Search results