ScopeIndentSniff::$ignoreIndentation
Same name in this branch
- 11.1.x vendor/squizlabs/php_codesniffer/src/Standards/Generic/Sniffs/WhiteSpace/ScopeIndentSniff.php \PHP_CodeSniffer\Standards\Generic\Sniffs\WhiteSpace\ScopeIndentSniff::ignoreIndentation
List of tokens not needing to be checked for indentation.
This is a cached copy of the public version of this var, which can be set in a ruleset file, and some core ignored tokens.
Type: array
File
-
vendor/
drupal/ coder/ coder_sniffer/ Drupal/ Sniffs/ WhiteSpace/ ScopeIndentSniff.php, line 89
Class
- ScopeIndentSniff
- Largely copied from \PHP_CodeSniffer\Standards\Generic\Sniffs\WhiteSpace\ScopeIndentSniff, modified to make the exact mode working with comments and multi line statements.
Namespace
Drupal\Sniffs\WhiteSpaceCode
private $ignoreIndentation = [];