public property VariableAnalysisSniff::$allowUnusedCaughtExceptions in Coder 8.2
Allows exceptions in a catch block to be unused without provoking unused-var warning. Set generic.codeanalysis.variableanalysis.allowUnusedCaughtExceptions to a true value.
File
- coder_sniffer/
DrupalPractice/ Sniffs/ CodeAnalysis/ VariableAnalysisSniff.php, line 566
Class
- VariableAnalysisSniff
- Checks the for undefined function variables.
Namespace
DrupalPractice\Sniffs\CodeAnalysisCode
public $allowUnusedCaughtExceptions = true;