1.2.192. Collect Throw Calls

This rule collects all throw command usage, along with the exception thrown and the calling method.

<?php

function foo() {
     throw Exception();
}

?>

1.2.192.1. Specs

Short name

Dump/CollectThrow

Rulesets

All, Dump

Exakat since

2.5.3

PHP Version

All

Severity

Minor

Time To Fix

Quick (30 mins)

Precision

High

Available in

Entreprise Edition, Exakat Cloud