DisallowEnumComparisonRule
implements
Rule
-
phpstan-implements
-
Interfaces, Classes, Traits and Enums
- Rule
Table of Contents
-
getNodeType()
: string
-
processNode()
: array<string|int, mixed>
-
checkForEnumTypes()
: bool
getNodeType()
public
getNodeType() : string
Return values
string
—
processNode()
public
processNode(Node $node, Scope $scope) : array<string|int, mixed>
Parameters
-
$node
: Node
-
-
$scope
: Scope
-
Return values
array<string|int, mixed>
—
checkForEnumTypes()
private
checkForEnumTypes(Type $comparedType) : bool
Parameters
-
$comparedType
: Type
-
Return values
bool
—