public property MultipleStatementAlignmentSniff::$error in Coder 8.2
Same name and namespace in other branches
- 8.3 coder_sniffer/Drupal/Sniffs/Formatting/MultipleStatementAlignmentSniff.php \Drupal\Sniffs\Formatting\MultipleStatementAlignmentSniff::error
- 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\FormattingCode
public $error = true;