Pattern: Missing use of non-capturing catch
Issue: -
Requires non-capturing catch when the variable with exception is not used.
Rule provides the following settings:
enable
: either to enable or not this rule. By default, it is enabled for PHP versions 8.0 or higher.