analyse/types/unused-throws-type
In the analyse-recommended preset and every stricter one. Report only. Upstream gates: exceptions.check.tooWideThrowType.
Configuration
[analyse.rules]
"types/unused-throws-type" = "on"
To skip it in some files or lines, add an ignore comment.
Replaces
TooWideFunctionThrowTypeRule(phpstan-classes)TooWideThrowType(mago-analyzer)throws.unusedType(phpstan)