Documentation

PsrAutoloadingFixer extends AbstractFixer
in package
implements ConfigurationDefinitionFixerInterface

Tags
author

Jordi Boggiano j.boggiano@seld.be

author

Dariusz Rumiński dariusz.ruminski@gmail.com

author

Bram Gotink bram@gotink.me

author

Graham Campbell graham@alt-three.com

author

Kuba Werłos werlos@gmail.com

Interfaces, Classes and Traits

ConfigurationDefinitionFixerInterface

Table of Contents

configure()  : mixed
{@inheritdoc}
getDefinition()  : mixed
{@inheritdoc}
getPriority()  : mixed
{@inheritdoc}
isCandidate()  : mixed
{@inheritdoc}
isRisky()  : mixed
{@inheritdoc}
supports()  : mixed
{@inheritdoc}
applyFix()  : mixed
{@inheritdoc}
createConfigurationDefinition()  : mixed
{@inheritdoc}
calculateClassyName()  : string
calculateMaxNamespace()  : string

Methods

configure()

{@inheritdoc}

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

getDefinition()

{@inheritdoc}

public getDefinition() : mixed
Return values
mixed

supports()

{@inheritdoc}

public supports(SplFileInfo $file) : mixed
Parameters
$file : SplFileInfo
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
Return values
mixed

calculateClassyName()

private calculateClassyName(SplFileInfo $file, null|string $namespace, string $currentName) : string
Parameters
$file : SplFileInfo
$namespace : null|string
$currentName : string
Return values
string

calculateMaxNamespace()

private calculateMaxNamespace(SplFileInfo $file, null|string $namespace) : string
Parameters
$file : SplFileInfo
$namespace : null|string
Return values
string

Search results