1.2.165. Collect Catch Calls

This analysis collects all catch command usage, along with the exception caught and the calling method.

<?php

function foo() {
     try {
             // more code
     } catch (Exception $e) {

     }
}

?>

See also Catch.

1.2.165.1. Connex PHP features

1.2.165.1.1. Specs

Short name

Dump/CollectCatch

Rulesets

All, Changed Behavior, Dump

Exakat since

2.5.3

PHP Version

All

Severity

Minor

Time To Fix

Quick (30 mins)

Precision

Very high

Available in

Entreprise Edition, Exakat Cloud