Inspectopedia Help

Redundant catch clause

Reports the catch clauses with exceptions that are never thrown from the corresponding try block.

Inspection options

Here you can find the description of settings available for the Redundant catch clause inspection, and the reference of their default values.

PHP / Analysis


Inspection Details

By default bundled with:

PhpStorm 2024.1, Qodana for PHP 2024.1,

Can be installed with plugin:


Last modified: 29 April 2024