| Classes | |
|---|---|
| ArgumentsNormalizer | |
| EndStatementResult | |
| Error | |
| ImpurePoint | |
| IntermediaryNameScope | |
| InternalError | |
| MutatingScope | |
| NameScope | |
| NodeScopeResolver | |
| OutOfClassScope | |
| ScopeContext | |
| ScopeFactory | |
| SpecifiedTypes | |
| StatementContext | Object of this class is one of the parameters of |
| StatementExitPoint | |
| StatementResult | |
| ThrowPoint | |
| TypeSpecifier | |
| TypeSpecifierContext | |
| Interfaces | |
| IgnoreErrorExtension | This is the extension interface to implement if you want to ignore errors
based on the node and scope. To register it in the configuration file use the
|
| NodeCallbackInvoker | The interface NodeCallbackInvoker can be typehinted in 2nd parameter of Rule::processNode(): |
| Scope | Represents the state of the analyser at a specific position in the AST. The Scope tracks everything PHPStan knows at a given point in code: variable types, the current class/function/method context, whether strict_types is enabled, and more. It is the primary interface through which rules and extensions query information about the analysed code. The Scope is passed as a parameter to:
|
| TypeSpecifierAwareExtension | |
| Exceptions | |
| UndefinedVariableException | |
| Namespaces | |
| PHPStan\Analyser\Fiber | |
| PHPStan\Analyser\ResultCache | |