Checks that all exceptions thrown by function are properly documented in
it's PHPDoc with @throws tags.
Options:
-
Analyze immediate calls: if the option is on, the inspection will also check called functions for exceptions they may throw.
It checks only the exceptions directly thrown by these functions ignoring nested function calls.
- Ignore Runtime exceptions: tells not to report undocumented runtime exceptions
(either base
RuntimeException or any of its subclasses).
- Ignore Logic exceptions: tells not to report undocumented logic exceptions
(either base
LogicException or any of its subclasses).
Note: if "Ignore Runtime/Logic exception" option is off, @throws tags for runtime/logic exceptions are also automatically added upon PhpDoc creation/update.