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 phpstan.ignoreErrorExtension service tag: ```
services:
-
class: App\PHPStan\MyExtension
tags:
- phpstan.ignoreErrorExtension
| Methods | ||
|---|---|---|
public
|
shouldIgnore(Error $error, Node $node, Scope $scope): bool
|
# |