You are here

public property MultipleStatementAlignmentSniff::$error in Coder 8.2

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

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

Type: bool

File

coder_sniffer/Drupal/Sniffs/Formatting/MultipleStatementAlignmentSniff.php, line 34

Class

MultipleStatementAlignmentSniff
Checks alignment of multiple assignments.Largely copied from \PHP_CodeSniffer\Standards\Generic\Sniffs\Formatting\MultipleStatementAlignmentSniff but also allows multiple single space assignments.

Namespace

Drupal\Sniffs\Formatting

Code

public $error = true;