1.2.194. 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.194.1. Specs¶
Short name |
Dump/CollectThrow |
Rulesets |
|
Exakat since |
2.5.3 |
PHP Version |
All |
Severity |
Minor |
Time To Fix |
Quick (30 mins) |
Precision |
High |
Available in |