ScopeIndentSniff::$ignoreIndentationTokens
Same name in this branch
- 11.1.x vendor/drupal/coder/coder_sniffer/Drupal/Sniffs/WhiteSpace/ScopeIndentSniff.php \Drupal\Sniffs\WhiteSpace\ScopeIndentSniff::ignoreIndentationTokens
List of tokens not needing to be checked for indentation.
Useful to allow Sniffs based on this to easily ignore/skip some tokens from verification. For example, inline HTML sections or PHP open/close tags can escape from here and have their own rules elsewhere.
Type: int[]
File
-
vendor/
squizlabs/ php_codesniffer/ src/ Standards/ Generic/ Sniffs/ WhiteSpace/ ScopeIndentSniff.php, line 75
Class
Namespace
PHP_CodeSniffer\Standards\Generic\Sniffs\WhiteSpaceCode
public $ignoreIndentationTokens = [];