Inspectopedia Help

Missing @throws tag(s)

Reports missing PHPDoc @throws tags for exceptions thrown by functions or methods.

The exception classes added to the Unchecked Exceptions list under Settings | PHP | Analysis are excluded from the inspection scope.

Inspection options

Option

Type

Default

PHP / Analysis

SettingLink

None

Ignore PHPDoc without @param/@return

Checkbox

true

Inspection Details

Available in:

PhpStorm 2023.3, Qodana for PHP 2023.3

Plugin:

PHP, 233.SNAPSHOT

Last modified: 13 July 2023