# Bug report NodeScopeResolver is [not calling rule callback](https://github.com/phpstan/phpstan-src/blob/69b936b60f68aaf916cdf16af6a92789b0a78b4f/src/Analyser/NodeScopeResolver.php#L393-L399) for some nodes like AttributeGroup or its Args ### Code snippet that reproduces the problem ```php class CustomRule implements Rule { public function getNodeType(): string { return \PhpParser\Node\AttributeGroup::class; } public function processNode(Node $node, Scope $scope): array { return ['Never reported']; } } ``` ### Expected output Error reported.