NoMutableDatesRule
class NoMutableDatesRule implements Rule
| internal |
Constants
| private MUTABLE_CLASSES |
The lowercase names of the mutable Carbon classes. |
Methods
string
getNodeType()
Get the node type the rule checks.
array
processNode(Node $node, Scope $scope)
Report the creation of a mutable Carbon date.
Details
at line 44
string
getNodeType()
Get the node type the rule checks.
at line 52
array
processNode(Node $node, Scope $scope)
Report the creation of a mutable Carbon date.