In PhpStorm's
settings in Editor/Inspections/PHP/PHPDoc/Missing @throw tag(s)
there are two options which are selected by default:
- Ignore Runtime Exceptions
- Ignore Logic Exceptions
QUESTION: Why would I want to ignore these specific exceptions while creating DocBlock? I guess this needs to have a solid reason since these options are checked by default.
Logic Exceptions
are exceptions like DomainException
or InvalidArgumentException
.
Runtime Exceptions
are exceptions like RangeException
or UnderflowException
Note: I'm using PhpStorm v8.0.3