Interface PHPStan\Rules\Rule

<TNodeType is Node>

This is the interface custom rules implement. To register it in the configuration file use the phpstan.rules.rule service tag:

services:
	-
		class: App\MyRule
		tags:
			- phpstan.rules.rule

Learn more: https://phpstan.org/developing-extensions/rules

  • PHPStan\Rules\Rule
    • PHPStan\Rules\DateTimeInstantiationRule implements Rule<New_>
    • PHPStan\Rules\EnumCases\EnumCaseAttributesRule implements Rule<EnumCase>
    • PHPStan\Rules\Constants\MissingClassConstantTypehintRule implements Rule<ClassConst>
    • PHPStan\Rules\Constants\ConstantRule implements Rule<ConstFetch>
    • PHPStan\Rules\Constants\OverridingConstantRule implements Rule<ClassConst>
    • PHPStan\Rules\Constants\FinalConstantRule implements Rule<ClassConst>
    • PHPStan\Rules\Operators\InvalidBinaryOperationRule implements Rule<Expr>
    • PHPStan\Rules\Operators\InvalidComparisonOperationRule implements Rule<BinaryOp>
    • PHPStan\Rules\Operators\InvalidAssignVarRule implements Rule<Expr>
    • PHPStan\Rules\Operators\InvalidUnaryOperationRule implements Rule<Expr>
    • PHPStan\Rules\Operators\InvalidIncDecOperationRule implements Rule<Expr>
    • PHPStan\Rules\Properties\MissingPropertyTypehintRule implements Rule<ClassPropertyNode>
    • PHPStan\Rules\Properties\MissingReadOnlyPropertyAssignRule implements Rule<ClassPropertiesNode>
    • PHPStan\Rules\Properties\MissingReadOnlyByPhpDocPropertyAssignRule implements Rule<ClassPropertiesNode>
    • PHPStan\Rules\Properties\TypesAssignedToPropertiesRule implements Rule<PropertyAssignNode>
    • PHPStan\Rules\Properties\AccessPrivatePropertyThroughStaticRule implements Rule<StaticPropertyFetch>
    • PHPStan\Rules\Properties\PropertyAttributesRule implements Rule<Property>
    • PHPStan\Rules\Properties\AccessStaticPropertiesInAssignRule implements Rule<PropertyAssignNode>
    • PHPStan\Rules\Properties\NullsafePropertyFetchRule implements Rule<NullsafePropertyFetch>
    • PHPStan\Rules\Properties\AccessPropertiesRule implements Rule<PropertyFetch>
    • PHPStan\Rules\Properties\ReadOnlyPropertyRule implements Rule<ClassPropertyNode>
    • PHPStan\Rules\Properties\UninitializedPropertyRule implements Rule<ClassPropertiesNode>
    • PHPStan\Rules\Properties\ReadOnlyPropertyAssignRule implements Rule<PropertyAssignNode>
    • PHPStan\Rules\Properties\AccessPropertiesInAssignRule implements Rule<PropertyAssignNode>
    • PHPStan\Rules\Properties\ReadOnlyPropertyAssignRefRule implements Rule<AssignRef>
    • PHPStan\Rules\Properties\AccessStaticPropertiesRule implements Rule<StaticPropertyFetch>
    • PHPStan\Rules\Properties\WritingToReadOnlyPropertiesRule implements Rule<PropertyAssignNode>
    • PHPStan\Rules\Properties\ReadOnlyByPhpDocPropertyAssignRule implements Rule<PropertyAssignNode>
    • PHPStan\Rules\Properties\ExistingClassesInPropertiesRule implements Rule<ClassPropertyNode>
    • PHPStan\Rules\Properties\ReadOnlyByPhpDocPropertyAssignRefRule implements Rule<AssignRef>
    • PHPStan\Rules\Properties\ReadOnlyByPhpDocPropertyRule implements Rule<ClassPropertyNode>
    • PHPStan\Rules\Properties\DefaultValueTypesAssignedToPropertiesRule implements Rule<ClassPropertyNode>
    • PHPStan\Rules\Properties\OverridingPropertyRule implements Rule<ClassPropertyNode>
    • PHPStan\Rules\Properties\ReadingWriteOnlyPropertiesRule implements Rule<Expr>
    • PHPStan\Rules\Traits\NotAnalysedTraitRule implements Rule<CollectedDataNode>
    • PHPStan\Rules\Missing\MissingReturnRule implements Rule<ExecutionEndNode>
    • PHPStan\Rules\Whitespace\FileWhitespaceRule implements Rule<FileNode>
    • PHPStan\Rules\Variables\IssetRule implements Rule<Isset_>
    • PHPStan\Rules\Variables\NullCoalesceRule implements Rule<Expr>
    • PHPStan\Rules\Variables\EmptyRule implements Rule<Empty_>
    • PHPStan\Rules\Variables\DefinedVariableRule implements Rule<Variable>
    • PHPStan\Rules\Variables\UnsetRule implements Rule<Unset_>
    • PHPStan\Rules\Variables\VariableCloningRule implements Rule<Clone_>
    • PHPStan\Rules\Variables\ThrowTypeRule implements Rule<Throw_>
    • PHPStan\Rules\Variables\CompactVariablesRule implements Rule<FuncCall>
    • PHPStan\Rules\Regexp\RegularExpressionPatternRule implements Rule<FuncCall>
    • PHPStan\Rules\Exceptions\TooWideMethodThrowTypeRule implements Rule<MethodReturnStatementsNode>
    • PHPStan\Rules\Exceptions\MissingCheckedExceptionInFunctionThrowsRule implements Rule<FunctionReturnStatementsNode>
    • PHPStan\Rules\Exceptions\TooWideFunctionThrowTypeRule implements Rule<FunctionReturnStatementsNode>
    • PHPStan\Rules\Exceptions\ThrowsVoidFunctionWithExplicitThrowPointRule implements Rule<FunctionReturnStatementsNode>
    • PHPStan\Rules\Exceptions\ThrowExpressionRule implements Rule<Throw_>
    • PHPStan\Rules\Exceptions\ThrowsVoidMethodWithExplicitThrowPointRule implements Rule<MethodReturnStatementsNode>
    • PHPStan\Rules\Exceptions\CaughtExceptionExistenceRule implements Rule<Catch_>
    • PHPStan\Rules\Exceptions\CatchWithUnthrownExceptionRule implements Rule<CatchWithUnthrownExceptionNode>
    • PHPStan\Rules\Exceptions\OverwrittenExitPointByFinallyRule implements Rule<FinallyExitPointsNode>
    • PHPStan\Rules\Exceptions\MissingCheckedExceptionInMethodThrowsRule implements Rule<MethodReturnStatementsNode>
    • PHPStan\Rules\Generators\YieldTypeRule implements Rule<Yield_>
    • PHPStan\Rules\Generators\YieldInGeneratorRule implements Rule<Expr>
    • PHPStan\Rules\Generators\YieldFromTypeRule implements Rule<YieldFrom>
    • PHPStan\Rules\TooWideTypehints\TooWideMethodReturnTypehintRule implements Rule<MethodReturnStatementsNode>
    • PHPStan\Rules\TooWideTypehints\TooWideArrowFunctionReturnTypehintRule implements Rule<InArrowFunctionNode>
    • PHPStan\Rules\TooWideTypehints\TooWideFunctionReturnTypehintRule implements Rule<FunctionReturnStatementsNode>
    • PHPStan\Rules\TooWideTypehints\TooWideClosureReturnTypehintRule implements Rule<ClosureReturnStatementsNode>
    • PHPStan\Rules\Cast\InvalidPartOfEncapsedStringRule implements Rule<Encapsed>
    • PHPStan\Rules\Cast\InvalidCastRule implements Rule<Cast>
    • PHPStan\Rules\Cast\EchoRule implements Rule<Echo_>
    • PHPStan\Rules\Cast\UnsetCastRule implements Rule<Unset_>
    • PHPStan\Rules\Cast\PrintRule implements Rule<Print_>
    • PHPStan\Rules\DeadCode\UnusedPrivateConstantRule implements Rule<ClassConstantsNode>
    • PHPStan\Rules\DeadCode\NoopRule implements Rule<Expression>
    • PHPStan\Rules\DeadCode\UnusedPrivatePropertyRule implements Rule<ClassPropertiesNode>
    • PHPStan\Rules\DeadCode\UnreachableStatementRule implements Rule<UnreachableStatementNode>
    • PHPStan\Rules\DeadCode\UnusedPrivateMethodRule implements Rule<ClassMethodsNode>
    • PHPStan\Rules\Methods\ConsistentConstructorRule implements Rule<InClassMethodNode>
    • PHPStan\Rules\Methods\CallStaticMethodsRule implements Rule<StaticCall>
    • PHPStan\Rules\Methods\CallToMethodStatementWithoutSideEffectsRule implements Rule<Expression>
    • PHPStan\Rules\Methods\ReturnTypeRule implements Rule<Return_>
    • PHPStan\Rules\Methods\MethodCallableRule implements Rule<MethodCallableNode>
    • PHPStan\Rules\Methods\IncompatibleDefaultParameterTypeRule implements Rule<InClassMethodNode>
    • PHPStan\Rules\Methods\FinalPrivateMethodRule implements Rule<InClassMethodNode>
    • PHPStan\Rules\Methods\MissingMagicSerializationMethodsRule implements Rule<InClassNode>
    • PHPStan\Rules\Methods\CallPrivateMethodThroughStaticRule implements Rule<StaticCall>
    • PHPStan\Rules\Methods\CallMethodsRule implements Rule<MethodCall>
    • PHPStan\Rules\Methods\IllegalConstructorStaticCallRule implements Rule<StaticCall>
    • PHPStan\Rules\Methods\IllegalConstructorMethodCallRule implements Rule<MethodCall>
    • PHPStan\Rules\Methods\MethodAttributesRule implements Rule<ClassMethod>
    • PHPStan\Rules\Methods\OverridingMethodRule implements Rule<InClassMethodNode>
    • PHPStan\Rules\Methods\CallToStaticMethodStatementWithoutSideEffectsRule implements Rule<Expression>
    • PHPStan\Rules\Methods\MissingMethodImplementationRule implements Rule<InClassNode>
    • PHPStan\Rules\Methods\MissingMethodReturnTypehintRule implements Rule<InClassMethodNode>
    • PHPStan\Rules\Methods\ExistingClassesInTypehintsRule implements Rule<InClassMethodNode>
    • PHPStan\Rules\Methods\MethodSignatureRule implements Rule<InClassMethodNode>
    • PHPStan\Rules\Methods\NullsafeMethodCallRule implements Rule<NullsafeMethodCall>
    • PHPStan\Rules\Methods\AbstractMethodInNonAbstractClassRule implements Rule<ClassMethod>
    • PHPStan\Rules\Methods\StaticMethodCallableRule implements Rule<StaticMethodCallableNode>
    • PHPStan\Rules\Methods\CallToConstructorStatementWithoutSideEffectsRule implements Rule<Expression>
    • PHPStan\Rules\Methods\MissingMethodParameterTypehintRule implements Rule<InClassMethodNode>
    • PHPStan\Rules\Generics\TraitTemplateTypeRule implements Rule<Trait_>
    • PHPStan\Rules\Generics\EnumTemplateTypeRule implements Rule<InClassNode>
    • PHPStan\Rules\Generics\FunctionTemplateTypeRule implements Rule<Function_>
    • PHPStan\Rules\Generics\FunctionSignatureVarianceRule implements Rule<InFunctionNode>
    • PHPStan\Rules\Generics\MethodTemplateTypeRule implements Rule<ClassMethod>
    • PHPStan\Rules\Generics\InterfaceTemplateTypeRule implements Rule<InClassNode>
    • PHPStan\Rules\Generics\EnumAncestorsRule implements Rule<InClassNode>
    • PHPStan\Rules\Generics\InterfaceAncestorsRule implements Rule<InClassNode>
    • PHPStan\Rules\Generics\ClassAncestorsRule implements Rule<InClassNode>
    • PHPStan\Rules\Generics\UsedTraitsRule implements Rule<TraitUse>
    • PHPStan\Rules\Generics\ClassTemplateTypeRule implements Rule<InClassNode>
    • PHPStan\Rules\Generics\MethodSignatureVarianceRule implements Rule<InClassMethodNode>
    • PHPStan\Rules\Generics\PropertyVarianceRule implements Rule<ClassPropertyNode>
    • PHPStan\Rules\PhpDoc\FunctionAssertRule implements Rule<InFunctionNode>
    • PHPStan\Rules\PhpDoc\MethodConditionalReturnTypeRule implements Rule<InClassMethodNode>
    • PHPStan\Rules\PhpDoc\WrongVariableNameInVarTagRule implements Rule<Stmt>
    • PHPStan\Rules\PhpDoc\InvalidPhpDocTagValueRule implements Rule<Node>
    • PHPStan\Rules\PhpDoc\MethodAssertRule implements Rule<InClassMethodNode>
    • PHPStan\Rules\PhpDoc\InvalidPHPStanDocTagRule implements Rule<Node>
    • PHPStan\Rules\PhpDoc\VarTagChangedExpressionTypeRule implements Rule<VarTagChangedExpressionTypeNode>
    • PHPStan\Rules\PhpDoc\InvalidPhpDocVarTagTypeRule implements Rule<Stmt>
    • PHPStan\Rules\PhpDoc\IncompatiblePhpDocTypeRule implements Rule<FunctionLike>
    • PHPStan\Rules\PhpDoc\FunctionConditionalReturnTypeRule implements Rule<InFunctionNode>
    • PHPStan\Rules\PhpDoc\InvalidThrowsPhpDocValueRule implements Rule<Stmt>
    • PHPStan\Rules\PhpDoc\IncompatibleClassConstantPhpDocTypeRule implements Rule<ClassConst>
    • PHPStan\Rules\PhpDoc\IncompatibleSelfOutTypeRule implements Rule<InClassMethodNode>
    • PHPStan\Rules\PhpDoc\IncompatiblePropertyPhpDocTypeRule implements Rule<ClassPropertyNode>
    • PHPStan\Rules\Classes\AccessPrivateConstantThroughStaticRule implements Rule<ClassConstFetch>
    • PHPStan\Rules\Classes\LocalTypeAliasesRule implements Rule<InClassNode>
    • PHPStan\Rules\Classes\DuplicateClassDeclarationRule implements Rule<InClassNode>
    • PHPStan\Rules\Classes\LocalTypeTraitAliasesRule implements Rule<Trait_>
    • PHPStan\Rules\Classes\ExistingClassesInInterfaceExtendsRule implements Rule<Interface_>
    • PHPStan\Rules\Classes\UnusedConstructorParametersRule implements Rule<InClassMethodNode>
    • PHPStan\Rules\Classes\ClassConstantAttributesRule implements Rule<ClassConst>
    • PHPStan\Rules\Classes\InvalidPromotedPropertiesRule implements Rule<Node>
    • PHPStan\Rules\Classes\ClassConstantRule implements Rule<ClassConstFetch>
    • PHPStan\Rules\Classes\MixinRule implements Rule<InClassNode>
    • PHPStan\Rules\Classes\ClassAttributesRule implements Rule<ClassLike>
    • PHPStan\Rules\Classes\ExistingClassesInEnumImplementsRule implements Rule<Enum_>
    • PHPStan\Rules\Classes\AllowedSubTypesRule implements Rule<InClassNode>
    • PHPStan\Rules\Classes\ExistingClassInInstanceOfRule implements Rule<Instanceof_>
    • PHPStan\Rules\Classes\ImpossibleInstanceOfRule implements Rule<Instanceof_>
    • PHPStan\Rules\Classes\NonClassAttributeClassRule implements Rule<InClassNode>
    • PHPStan\Rules\Classes\InstantiationRule implements Rule<New_>
    • PHPStan\Rules\Classes\ExistingClassInClassExtendsRule implements Rule<Class_>
    • PHPStan\Rules\Classes\NewStaticRule implements Rule<New_>
    • PHPStan\Rules\Classes\DuplicateDeclarationRule implements Rule<InClassNode>
    • PHPStan\Rules\Classes\ExistingClassesInClassImplementsRule implements Rule<Class_>
    • PHPStan\Rules\Classes\TraitAttributeClassRule implements Rule<Trait_>
    • PHPStan\Rules\Classes\ExistingClassInTraitUseRule implements Rule<TraitUse>
    • PHPStan\Rules\Classes\EnumSanityRule implements Rule<Enum_>
    • PHPStan\Rules\Classes\InstantiationCallableRule implements Rule<InstantiationCallableNode>
    • PHPStan\Rules\Keywords\ContinueBreakInLoopRule implements Rule<Stmt>
    • PHPStan\Rules\Playground\FunctionNeverRule implements Rule<FunctionReturnStatementsNode>
    • PHPStan\Rules\Playground\MethodNeverRule implements Rule<MethodReturnStatementsNode>
    • PHPStan\Rules\Arrays\IterableInForeachRule implements Rule<InForeachNode>
    • PHPStan\Rules\Arrays\ArrayUnpackingRule implements Rule<ArrayItem>
    • PHPStan\Rules\Arrays\OffsetAccessValueAssignmentRule implements Rule<Expr>
    • PHPStan\Rules\Arrays\AppendedArrayItemTypeRule implements Rule<Expr>
    • PHPStan\Rules\Arrays\NonexistentOffsetInArrayDimFetchRule implements Rule<ArrayDimFetch>
    • PHPStan\Rules\Arrays\DeadForeachRule implements Rule<Foreach_>
    • PHPStan\Rules\Arrays\ArrayDestructuringRule implements Rule<Assign>
    • PHPStan\Rules\Arrays\AppendedArrayKeyTypeRule implements Rule<Assign>
    • PHPStan\Rules\Arrays\EmptyArrayItemRule implements Rule<LiteralArrayNode>
    • PHPStan\Rules\Arrays\InvalidKeyInArrayDimFetchRule implements Rule<ArrayDimFetch>
    • PHPStan\Rules\Arrays\InvalidKeyInArrayItemRule implements Rule<ArrayItem>
    • PHPStan\Rules\Arrays\OffsetAccessAssignmentRule implements Rule<ArrayDimFetch>
    • PHPStan\Rules\Arrays\OffsetAccessWithoutDimForReadingRule implements Rule<ArrayDimFetch>
    • PHPStan\Rules\Arrays\UnpackIterableInArrayRule implements Rule<LiteralArrayNode>
    • PHPStan\Rules\Arrays\OffsetAccessAssignOpRule implements Rule<AssignOp>
    • PHPStan\Rules\Arrays\DuplicateKeysInLiteralArraysRule implements Rule<LiteralArrayNode>
    • PHPStan\Rules\Namespaces\ExistingNamesInGroupUseRule implements Rule<GroupUse>
    • PHPStan\Rules\Namespaces\ExistingNamesInUseRule implements Rule<Use_>
    • PHPStan\Rules\Api\RuntimeReflectionFunctionRule implements Rule<FuncCall>
    • PHPStan\Rules\Api\ApiInterfaceExtendsRule implements Rule<Interface_>
    • PHPStan\Rules\Api\ApiInstanceofTypeRule implements Rule<Instanceof_>
    • PHPStan\Rules\Api\ApiInstanceofRule implements Rule<Instanceof_>
    • PHPStan\Rules\Api\PhpStanNamespaceIn3rdPartyPackageRule implements Rule<Namespace_>
    • PHPStan\Rules\Api\ApiClassExtendsRule implements Rule<Class_>
    • PHPStan\Rules\Api\ApiStaticCallRule implements Rule<StaticCall>
    • PHPStan\Rules\Api\GetTemplateTypeRule implements Rule<MethodCall>
    • PHPStan\Rules\Api\ApiTraitUseRule implements Rule<TraitUse>
    • PHPStan\Rules\Api\ApiClassConstFetchRule implements Rule<ClassConstFetch>
    • PHPStan\Rules\Api\RuntimeReflectionInstantiationRule implements Rule<New_>
    • PHPStan\Rules\Api\ApiClassImplementsRule implements Rule<Class_>
    • PHPStan\Rules\Api\ApiInstantiationRule implements Rule<New_>
    • PHPStan\Rules\Api\ApiMethodCallRule implements Rule<MethodCall>
    • PHPStan\Rules\Api\NodeConnectingVisitorAttributesRule implements Rule<MethodCall>
    • PHPStan\Rules\Comparison\StrictComparisonOfDifferentTypesRule implements Rule<BinaryOp>
    • PHPStan\Rules\Comparison\WhileLoopAlwaysFalseConditionRule implements Rule<While_>
    • PHPStan\Rules\Comparison\WhileLoopAlwaysTrueConditionRule implements Rule<BreaklessWhileLoopNode>
    • PHPStan\Rules\Comparison\ImpossibleCheckTypeStaticMethodCallRule implements Rule<StaticCall>
    • PHPStan\Rules\Comparison\DoWhileLoopConstantConditionRule implements Rule<DoWhileLoopConditionNode>
    • PHPStan\Rules\Comparison\ImpossibleCheckTypeMethodCallRule implements Rule<MethodCall>
    • PHPStan\Rules\Comparison\MatchExpressionRule implements Rule<MatchExpressionNode>
    • PHPStan\Rules\Comparison\NumberComparisonOperatorsConstantConditionRule implements Rule<BinaryOp>
    • PHPStan\Rules\Comparison\BooleanAndConstantConditionRule implements Rule<BooleanAndNode>
    • PHPStan\Rules\Comparison\UnreachableIfBranchesRule implements Rule<If_>
    • PHPStan\Rules\Comparison\IfConstantConditionRule implements Rule<If_>
    • PHPStan\Rules\Comparison\UnreachableTernaryElseBranchRule implements Rule<Ternary>
    • PHPStan\Rules\Comparison\BooleanNotConstantConditionRule implements Rule<BooleanNot>
    • PHPStan\Rules\Comparison\ImpossibleCheckTypeFunctionCallRule implements Rule<FuncCall>
    • PHPStan\Rules\Comparison\ElseIfConstantConditionRule implements Rule<ElseIf_>
    • PHPStan\Rules\Comparison\TernaryOperatorConstantConditionRule implements Rule<Ternary>
    • PHPStan\Rules\Comparison\BooleanOrConstantConditionRule implements Rule<BooleanOrNode>
    • PHPStan\Rules\Comparison\UsageOfVoidMatchExpressionRule implements Rule<Match_>
    • PHPStan\Rules\Comparison\ConstantLooseComparisonRule implements Rule<BinaryOp>
    • PHPStan\Rules\Functions\MissingFunctionParameterTypehintRule implements Rule<InFunctionNode>
    • PHPStan\Rules\Functions\CallToFunctionStatementWithoutSideEffectsRule implements Rule<Expression>
    • PHPStan\Rules\Functions\ReturnTypeRule implements Rule<Return_>
    • PHPStan\Rules\Functions\FunctionCallableRule implements Rule<FunctionCallableNode>
    • PHPStan\Rules\Functions\ExistingClassesInClosureTypehintsRule implements Rule<Closure>
    • PHPStan\Rules\Functions\IncompatibleDefaultParameterTypeRule implements Rule<InFunctionNode>
    • PHPStan\Rules\Functions\CallToFunctionParametersRule implements Rule<FuncCall>
    • PHPStan\Rules\Functions\InnerFunctionRule implements Rule<Function_>
    • PHPStan\Rules\Functions\DuplicateFunctionDeclarationRule implements Rule<InFunctionNode>
    • PHPStan\Rules\Functions\IncompatibleArrowFunctionDefaultParameterTypeRule implements Rule<InArrowFunctionNode>
    • PHPStan\Rules\Functions\CallToNonExistentFunctionRule implements Rule<FuncCall>
    • PHPStan\Rules\Functions\CallCallablesRule implements Rule<FuncCall>
    • PHPStan\Rules\Functions\PrintfParametersRule implements Rule<FuncCall>
    • PHPStan\Rules\Functions\DefineParametersRule implements Rule<FuncCall>
    • PHPStan\Rules\Functions\ExistingClassesInArrowFunctionTypehintsRule implements Rule<ArrowFunction>
    • PHPStan\Rules\Functions\IncompatibleClosureDefaultParameterTypeRule implements Rule<InClosureNode>
    • PHPStan\Rules\Functions\UnusedClosureUsesRule implements Rule<Closure>
    • PHPStan\Rules\Functions\ClosureReturnTypeRule implements Rule<ClosureReturnStatementsNode>
    • PHPStan\Rules\Functions\ExistingClassesInTypehintsRule implements Rule<InFunctionNode>
    • PHPStan\Rules\Functions\ArrowFunctionAttributesRule implements Rule<ArrowFunction>
    • PHPStan\Rules\Functions\RandomIntParametersRule implements Rule<FuncCall>
    • PHPStan\Rules\Functions\MissingFunctionReturnTypehintRule implements Rule<InFunctionNode>
    • PHPStan\Rules\Functions\ParamAttributesRule implements Rule<Param>
    • PHPStan\Rules\Functions\ArrayFilterRule implements Rule<FuncCall>
    • PHPStan\Rules\Functions\ClosureAttributesRule implements Rule<Closure>
    • PHPStan\Rules\Functions\FunctionAttributesRule implements Rule<Function_>
    • PHPStan\Rules\Functions\ArrowFunctionReturnNullsafeByRefRule implements Rule<ArrowFunction>
    • PHPStan\Rules\Functions\ImplodeFunctionRule implements Rule<FuncCall>
    • PHPStan\Rules\Functions\ReturnNullsafeByRefRule implements Rule<ReturnStatementsNode>
    • PHPStan\Rules\Functions\ArrowFunctionReturnTypeRule implements Rule<InArrowFunctionNode>
    • PHPStan\Rules\Debug\FileAssertRule implements Rule<FuncCall>
    • PHPStan\Rules\Debug\DumpTypeRule implements Rule<FuncCall>
Located at src/Rules/Rule.php
Methods