StrictFunctionCallsRule
in package
implements
Rule
Interfaces, Classes, Traits and Enums
- Rule
Table of Contents
- $broker : Broker
- $functionArguments : array<string|int, int>
- __construct() : mixed
- getNodeType() : string
- processNode() : array<string|int, string>
Properties
$broker
private
Broker
$broker
$functionArguments
private
array<string|int, int>
$functionArguments
= ['in_array' => 2, 'array_search' => 2, 'base64_decode' => 1, 'array_keys' => 2]
Methods
__construct()
public
__construct(Broker $broker) : mixed
Parameters
- $broker : Broker
Return values
mixed —getNodeType()
public
getNodeType() : string
Return values
string —processNode()
public
processNode(FuncCall $node, Scope $scope) : array<string|int, string>
Parameters
- $node : FuncCall
- $scope : Scope
Return values
array<string|int, string> —errors