Documentation

ErrorSuppressionFixer extends AbstractFixer
in package
implements ConfigurationDefinitionFixerInterface

Tags
author

Jules Pietri jules@heahprod.com

author

Kuba Werłos werlos@gmail.com

Interfaces, Classes and Traits

ConfigurationDefinitionFixerInterface

Table of Contents

OPTION_MUTE_DEPRECATION_ERROR  = 'mute_deprecation_error'
OPTION_NOISE_REMAINING_USAGES  = 'noise_remaining_usages'
OPTION_NOISE_REMAINING_USAGES_EXCLUDE  = 'noise_remaining_usages_exclude'
getDefinition()  : mixed
{@inheritdoc}
isCandidate()  : mixed
{@inheritdoc}
isRisky()  : mixed
{@inheritdoc}
applyFix()  : mixed
{@inheritdoc}
createConfigurationDefinition()  : mixed
{@inheritdoc}
isDeprecationErrorCall()  : bool

Constants

OPTION_MUTE_DEPRECATION_ERROR

public mixed OPTION_MUTE_DEPRECATION_ERROR = 'mute_deprecation_error'

OPTION_NOISE_REMAINING_USAGES

public mixed OPTION_NOISE_REMAINING_USAGES = 'noise_remaining_usages'

OPTION_NOISE_REMAINING_USAGES_EXCLUDE

public mixed OPTION_NOISE_REMAINING_USAGES_EXCLUDE = 'noise_remaining_usages_exclude'

Methods

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

isDeprecationErrorCall()

private isDeprecationErrorCall(Tokens $tokens, int $index) : bool
Parameters
$tokens : Tokens
$index : int
Return values
bool

Search results