class UnusableSchemaDumpRule implements Rule

Reports the schema dumps that model property types could not use, once each, at the dump.

A collector supplies them because PHPStan runs a CollectedDataNode rule only when something was collected. Attribute types always read the dumps, so the rule has no switch of its own; disableSchemaScan stops reading them.

Methods

string
getNodeType()

Get the node type the rule inspects.

array
processNode(Node $node, Scope $scope)

Report each unusable schema dump that model property lookups consulted.

Details

at line 35
string getNodeType()

Get the node type the rule inspects.

Return Value

string

at line 47
array processNode(Node $node, Scope $scope)

Report each unusable schema dump that model property lookups consulted.

Parameters

Node $node
Scope $scope

Return Value

array