protected
|
|
NATIVE_KEYWORDS = [
'array' => true,
'bool' => true,
'callable' => true,
'false' => true,
'float' => true,
'int' => true,
'iterable' => true,
'mixed' => true,
'never' => true,
'null' => true,
'object' => true,
'parent' => true,
'self' => true,
'static' => true,
'string' => true,
'true' => true,
'void' => true,
]
|
#
|
protected
|
|
KEYWORDS = self::NATIVE_KEYWORDS + [
'array-key' => true,
'associative-array' => true,
'boolean' => true,
'callable-object' => true,
'callable-string' => true,
'class-string' => true,
'double' => true,
'empty' => true,
'integer' => true,
'interface-string' => true,
'key-of' => true,
'list' => true,
'literal-string' => true,
'lowercase-string' => true,
'max' => true,
'min' => true,
'negative-int' => true,
'never-return' => true,
'never-returns' => true,
'no-return' => true,
'non-empty-array' => true,
'non-empty-list' => true,
'non-empty-lowercase-string' => true,
'non-empty-string' => true,
'non-falsy-string' => true,
'non-negative-int' => true,
'non-positive-int' => true,
'noreturn' => true,
'number' => true,
'numeric' => true,
'numeric-string' => true,
'positive-int' => true,
'resource' => true,
'scalar' => true,
'trait-string' => true,
'truthy-string' => true,
'value-of' => true,
]
|
#
|