Documentation

BacktickToShellExecFixer extends AbstractFixer
in package

Tags
author

Filippo Tessarotto zoeslam@gmail.com

Table of Contents

getDefinition()  : mixed
{@inheritdoc}
getPriority()  : mixed
{@inheritdoc}
isCandidate()  : mixed
{@inheritdoc}
applyFix()  : mixed
{@inheritdoc}
fixBackticks()  : mixed
Override backtick code with corresponding double-quoted string.

Methods

getPriority()

{@inheritdoc}

public getPriority() : mixed

Must run before EscapeImplicitBackslashesFixer, ExplicitStringVariableFixer, NativeFunctionInvocationFixer, SingleQuoteFixer.

Return values
mixed

fixBackticks()

Override backtick code with corresponding double-quoted string.

private fixBackticks(Tokens $tokens, array<string|int, mixed> $backtickTokens) : mixed
Parameters
$tokens : Tokens
$backtickTokens : array<string|int, mixed>
Return values
mixed

Search results