ScopeIndentSniff::$indent
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::indent
The number of spaces code should be indented.
Type: integer
File
-
vendor/
drupal/ coder/ coder_sniffer/ Drupal/ Sniffs/ WhiteSpace/ ScopeIndentSniff.php, line 39
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
public $indent = 2;