You are here

public property DiscouragedFunctionsSniff::$error in Coder 8.2

Same name and namespace in other branches
  1. 8.3 coder_sniffer/Drupal/Sniffs/Functions/DiscouragedFunctionsSniff.php \Drupal\Sniffs\Functions\DiscouragedFunctionsSniff::error
  2. 8.3.x coder_sniffer/Drupal/Sniffs/Functions/DiscouragedFunctionsSniff.php \Drupal\Sniffs\Functions\DiscouragedFunctionsSniff::error

If true, an error will be thrown; otherwise a warning.

Type: bool

File

coder_sniffer/Drupal/Sniffs/Functions/DiscouragedFunctionsSniff.php, line 63

Class

DiscouragedFunctionsSniff
Discourage the use of debug functions.

Namespace

Drupal\Sniffs\Functions

Code

public $error = false;