Свойство | Type | Description | |
---|---|---|---|
$arrayModifyingFunctions | array | ||
$arrayPointerModifyingFunctions | array | ||
$functionAnalyzer |
Méthode | Description | |
---|---|---|
__construct ( |
||
enterNode ( PhpParser\Node $node ) |
Méthode | Description | |
---|---|---|
checkAddingToArrayInByReferenceForeach ( PhpParser\Node $node ) | ||
checkArrayModificationByFunctionInByReferenceForeach ( PhpParser\Node $node ) | ||
checkInternalArrayPointerAccessInByValueForeach ( PhpParser\Node $node ) | ||
checkNestedByReferenceForeach ( PhpParser\Node\Stmt\Foreach_ $foreach ) | ||
getForeachVariableName ( PhpParser\Node\Stmt\Foreach_ $foreach ) : PhpParser\Node\Expr | string | void | ||
hasFunctionCallWithForeachArgument ( PhpParser\Node $node, array $functions, null | boolean $skippedByRefType = null ) : boolean | ||
isTargetLoopNode ( PhpParser\Node $node ) |
public __construct ( |
||
$functionAnalyzer |
protected checkAddingToArrayInByReferenceForeach ( PhpParser\Node $node ) | ||
$node | PhpParser\Node |
protected checkArrayModificationByFunctionInByReferenceForeach ( PhpParser\Node $node ) | ||
$node | PhpParser\Node |
protected checkInternalArrayPointerAccessInByValueForeach ( PhpParser\Node $node ) | ||
$node | PhpParser\Node |
protected checkNestedByReferenceForeach ( PhpParser\Node\Stmt\Foreach_ $foreach ) | ||
$foreach | PhpParser\Node\Stmt\Foreach_ |
protected getForeachVariableName ( PhpParser\Node\Stmt\Foreach_ $foreach ) : PhpParser\Node\Expr | string | void | ||
$foreach | PhpParser\Node\Stmt\Foreach_ | |
Résultat | PhpParser\Node\Expr | string | void |
protected isTargetLoopNode ( PhpParser\Node $node ) | ||
$node | PhpParser\Node |
protected array $arrayModifyingFunctions | ||
Résultat | array |
protected array $arrayPointerModifyingFunctions | ||
Résultat | array |