MultipleStatementAlignmentSniff::$error
Same name in this branch
- 11.1.x vendor/squizlabs/php_codesniffer/src/Standards/Generic/Sniffs/Formatting/MultipleStatementAlignmentSniff.php \PHP_CodeSniffer\Standards\Generic\Sniffs\Formatting\MultipleStatementAlignmentSniff::error
If true, an error will be thrown; otherwise a warning.
Type: boolean
Overrides MultipleStatementAlignmentSniff::$error
File
-
vendor/
drupal/ coder/ coder_sniffer/ Drupal/ Sniffs/ Formatting/ MultipleStatementAlignmentSniff.php, line 33
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;