Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. MultipleStatementAlignmentSniff.php

MultipleStatementAlignmentSniff::$error

Same name in this branch
  1. 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\Formatting

Code

public $error = true;

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal