ErrorSuppressionFixer
extends AbstractFixer
in package
implements
ConfigurationDefinitionFixerInterface
Tags
Interfaces, Classes and Traits
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
getDefinition()
{@inheritdoc}
public
getDefinition() : mixed
Return values
mixed —isCandidate()
{@inheritdoc}
public
isCandidate(Tokens $tokens) : mixed
Parameters
- $tokens : Tokens
Return values
mixed —isRisky()
{@inheritdoc}
public
isRisky() : mixed
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 —isDeprecationErrorCall()
private
isDeprecationErrorCall(Tokens $tokens, int $index) : bool
Parameters
- $tokens : Tokens
- $index : int