Documentation

EscapeImplicitBackslashesFixer extends AbstractProxyFixer
in package
implements ConfigurableFixerInterface, DeprecatedFixerInterface uses ConfigurableFixerTrait

FinalYes
Tags
author

Filippo Tessarotto zoeslam@gmail.com

author

Michael Vorisek https://github.com/mvorisek

deprecated

Use string_implicit_backslashes with config: ['single_quoted' => 'ignore', 'double_quoted' => 'escape', 'heredoc' => 'escape'] (default)

implements

ConfigurableFixerInterface<_AutogeneratedInputConfiguration, _AutogeneratedComputedConfiguration>

phpstan-type

_AutogeneratedInputConfiguration array{ double_quoted?: bool, heredoc_syntax?: bool, single_quoted?: bool }

phpstan-type

_AutogeneratedComputedConfiguration array{ double_quoted: bool, heredoc_syntax: bool, single_quoted: bool }

Table of Contents

Interfaces

ConfigurableFixerInterface
DeprecatedFixerInterface

Methods

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.
configurePostNormalisation()  : void
createConfigurationDefinition()  : FixerConfigurationResolverInterface
createProxyFixers()  : array<string|int, mixed>

Methods

getPriority()

Returns the priority of the fixer.

public getPriority() : int

Must run before HeredocToNowdocFixer, SingleQuoteFixer. Must run after BacktickToShellExecFixer, MultilineStringToHeredocFixer.

Return values
int

getSuccessorsNames()

Returns names of fixers to use instead, if any.

public getSuccessorsNames() : array<int, string>
Return values
array<int, string>

        
On this page

Search results